Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
~SOLVED: dnsmasq: failed to bind listening socket for XXX...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jorgeSallum
Apprentice
Apprentice


Joined: 15 Dec 2004
Posts: 161
Location: São Paulo/Brazil

PostPosted: Sat Jan 28, 2006 8:35 pm    Post subject: ~SOLVED: dnsmasq: failed to bind listening socket for XXX... Reply with quote

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
View user's profile Send private message
dirtbag
Guru
Guru


Joined: 18 Feb 2003
Posts: 508
Location: NC

PostPosted: Mon Nov 05, 2007 6:23 pm    Post subject: lsof Reply with quote

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
View user's profile Send private message
jorgeSallum
Apprentice
Apprentice


Joined: 15 Dec 2004
Posts: 161
Location: São Paulo/Brazil

PostPosted: Mon Nov 05, 2007 6:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum