View previous topic :: View next topic |
Author |
Message |
jorgeSallum Apprentice
Joined: 15 Dec 2004 Posts: 161 Location: São Paulo/Brazil
|
Posted: Sat Jan 28, 2006 8:35 pm Post subject: ~SOLVED: dnsmasq: failed to bind listening socket for XXX... |
|
|
I've installed dnsmasq but when I try to start it I get this output: dnsmasq: failed to bind listening socket for xxx.xxx.xxx.xxx: Address already in use
My dnsmasq.conf is:
Quote: |
dhcp-range=192.168.1.10,192.168.1.20,72h
|
And /etc/conf.d/dnsmasq:
Quote: |
DNSMASQ_OPTS="-i eth0"
|
And netstat -nr
Quote: |
Destination Gateway Genmask Flags MSS Window irtt Iface
XXX.XXX.XX.XX 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
0.0.0.0 XXX.XXX.XXX.XXX 0.0.0.0 UG 0 0 0 ppp0
|
Thanks you all for any help,
J.
Last edited by jorgeSallum on Mon Nov 05, 2007 6:36 pm; edited 1 time in total |
|
Back to top |
|
|
dirtbag Guru
Joined: 18 Feb 2003 Posts: 508 Location: NC
|
Posted: Mon Nov 05, 2007 6:23 pm Post subject: lsof |
|
|
use lsof (emerge it if its not already installed)
lsof -i udp:53
to find out what is binding to the DNS port.
-db |
|
Back to top |
|
|
jorgeSallum Apprentice
Joined: 15 Dec 2004 Posts: 161 Location: São Paulo/Brazil
|
Posted: Mon Nov 05, 2007 6:35 pm Post subject: |
|
|
Thank you very much. I can't help the community posting something about the solution because I had this problem in jan 06, so... But that's very kind. Post solved. |
|
Back to top |
|
|
|