osx - Installing dnsmasq with Homebrew -


i have installed dnsmasq using homebrew. seemed go fine installing.

after installing followed instructions...

cp /usr/local/opt/dnsmasq/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf sudo launchctl load /library/launchdaemons/homebrew.mxcl.dnsmasq.plist

the problem: dnsmasq doesn't seem to bes working. when run:

sudo dnsmasq

i get:

dnsmasq: failed create listening socket 127.0.0.1: address in use

when run:

sudo launchctl stop /library/launchdaemons/homebrew.mxcl.dnsmasq.plist

i get:

launchctl stop error: no such process

any ideas going on or how tell if installed , running correctly?

launchctl stop takes job label, not path (same launchctl's stop , list commands). assuming label homebrew.mxcl.dnsmasq, can check daemon's status sudo launchctl list homebrew.mxcl.dnsmasq (if has pid listed, it's running), , if necessary stop sudo launchctl stop homebrew.mxcl.dnsmasq. if that's not right label, check in /library/launchdaemons/homebrew.mxcl.dnsmasq.plist string following label key.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -