have you done a zap?

./dhcp stop
./dhcp zap
./dhcp start

?

-----Original Message-----
From: Michael Semcheski [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 12, 2005 12:36 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] DHCPd start / stop problem


Mark Knecht wrote:
> Does /var/lib/init.d/started/dhcp exist after you attempt to stop the
> dhcp daemon? If so you might try

No, from what I can tell 'stop' works correctly, even if dhcpd was not
started via start-stop-daemon / the init script.

I can not see why start-stop-daemon thinks that dhcp is running.  There
is no pid file in /chroot/dhcp/var/run/dhcp/ or /var/run/dhcp or
/var/lib/init.d/started.

Totally perplexed,

Mike

>>If I do run /etc/init.d/dhcp restart, here's what I get (I turned off
>>--quiet in the start script):
>>
>>[EMAIL PROTECTED] init.d # ./dhcp stop
>> * ERROR:  "dhcp" has not yet been started.
>>
>>[EMAIL PROTECTED] init.d # ./dhcp restart
>> * Setting ownership on dhcpd.leases...                           [ ok ]
>> * Starting chrooted dhcpd... /usr/sbin/dhcpd already running.    [ !! ]
>>
>>But, if I 'kill -TERM' the process number from
>>/chroot/dhcp/var/run/dhcp/dhcpd.pid, it says there is No Such Process,
>>and the DHCPd server is not running.
-- 
gentoo-user@gentoo.org mailing list

-- 
gentoo-user@gentoo.org mailing list

Reply via email to