Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cant start dhcp
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
thecooptoo
Veteran
Veteran


Joined: 27 Apr 2003
Posts: 1353
Location: UK

PostPosted: Tue Jan 18, 2005 9:09 am    Post subject: cant start dhcp Reply with quote

/etc/init.d/dhcp start gives
Code:

/sbin/runscript.sh : line 532: 6773 Segmentation fault   start-stop-daemon --start --quiet --exec /usr/sbin/dhcpd-- -pf /var/run/dhc/dhcpd.pid -user dhcp -group dhcp ${DHCPD_OPTS} ${CHROOT:+-chroot ${CHRO|OT }} ${IFACE}


anyone know whats wrong ?
Back to top
View user's profile Send private message
nemo_
Apprentice
Apprentice


Joined: 19 Sep 2002
Posts: 167
Location: Brussels, Belgium

PostPosted: Thu Jan 27, 2005 12:42 pm    Post subject: Reply with quote

do you also get a segfault if you run the dhcpcd command manually ?
Back to top
View user's profile Send private message
thecooptoo
Veteran
Veteran


Joined: 27 Apr 2003
Posts: 1353
Location: UK

PostPosted: Thu Jan 27, 2005 9:37 pm    Post subject: Reply with quote

no .

starting it with
dhcpd -d -f
and it gives out IP addresses as expected (except it listens on both eth0 and eth1)
Back to top
View user's profile Send private message
nemo_
Apprentice
Apprentice


Joined: 19 Sep 2002
Posts: 167
Location: Brussels, Belgium

PostPosted: Fri Jan 28, 2005 10:36 am    Post subject: Reply with quote

okay then the obvious thing to do would be to see if any updates are available that may apply to this issue, and if not do some troubleshooting..

I'd suggest trying to reproduce the problem to see where it comes from, so maybe you can edit /sbin/runscript.sh and around line 532 where it starts the daemon just put an echo in front of the line so that you can see what it really tries to execute (including the variables and all).
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