Failed Failover

Glenn Satchell Glenn.Satchell at uniq.com.au
Mon Sep 21 03:09:41 UTC 2009


This is rather significant:

[ Sep 18 10:05:16 Executing start method ("/usr/local/sbin/dhcpd -cf / 
opt/local/etc/dhcpd.conf -pf /opt/local/var/run/dhcpd.pid -lf /opt/ 
local/var/db/dhcpd.leases") ]
[ Sep 18 10:05:16 Method "start" exited with status 1 ]
[ Sep 18 13:28:04 Leaving maintenance because clear requested. ] <- I  
did this.
[ Sep 18 13:28:04 Enabled. ]
[ Sep 18 13:28:04 Executing start method ("/usr/local/sbin/dhcpd -cf / 
opt/local/etc/dhcpd.conf -pf /opt/local/var/run/dhcpd.pid -lf /opt/ 
local/var/db/dhcpd.leases") ]
[ Sep 18 13:28:05 Method "start" exited with status 0 ]

In the first case exit status is 1, meaning error. In the second case exit 
status is 0, meaning no error.

Do you have syslog enabled to catch the startup messages from dhcpd?
There might be something there.

regards,
-glenn

>From: Ronald Valente <rawn027 at gmail.com>
>Subject: Re: Failed Failover
>Date: Sun, 20 Sep 2009 21:43:58 -0400
>To: Glenn Satchell <Glenn.Satchell at uniq.com.au>, Users of ISC DHCP 
<dhcp-users at lists.isc.org>
>X-BeenThere: dhcp-users at lists.isc.org
>
Glen,

Here is the log output... not much that I can tell from it that is  
useful...

[ Sep 18 10:05:12 Stopping because service restarting. ]
[ Sep 18 10:05:12 Executing stop method (:kill) ]
[ Sep 18 10:05:12 Executing start method ("/usr/local/sbin/dhcpd -cf / 
opt/local/etc/dhcpd.conf -pf /opt/local/var/run/dhcpd.pid -lf /opt/ 
local/var/db/dhcpd.leases") ]
[ Sep 18 10:05:16 Method "start" exited with status 1 ]
[ Sep 18 10:05:16 Executing start method ("/usr/local/sbin/dhcpd -cf / 
opt/local/etc/dhcpd.conf -pf /opt/local/var/run/dhcpd.pid -lf /opt/ 
local/var/db/dhcpd.leases") ]
[ Sep 18 10:05:16 Method "start" exited with status 1 ]
[ Sep 18 10:05:16 Executing start method ("/usr/local/sbin/dhcpd -cf / 
opt/local/etc/dhcpd.conf -pf /opt/local/var/run/dhcpd.pid -lf /opt/ 
local/var/db/dhcpd.leases") ]
[ Sep 18 10:05:16 Method "start" exited with status 1 ]
[ Sep 18 13:28:04 Leaving maintenance because clear requested. ] <- I  
did this.
[ Sep 18 13:28:04 Enabled. ]
[ Sep 18 13:28:04 Executing start method ("/usr/local/sbin/dhcpd -cf / 
opt/local/etc/dhcpd.conf -pf /opt/local/var/run/dhcpd.pid -lf /opt/ 
local/var/db/dhcpd.leases") ]
[ Sep 18 13:28:05 Method "start" exited with status 0 ]

Started and ran fine.
I will look more into it.

Thanks again

-Ron

On Sep 20, 2009, at 8:52 PM, Glenn Satchell wrote:

>> From: Ronald Valente <rawn027 at gmail.com>
>> Subject: Failed Failover
>>
>> I am running ISC DHCP 3.1.2 on Solaris 10.
>>
>> When one of the DHCP server pairs fail, the other goes into a
>> maintenance state and fails to respond to DHCP DISCOVER messages.
>>
>> All I need to do to fix it is a svcadm isc-dhcp clear and it comes
>> back online just fine.
>>
>> Any ideas as to why this is an issue?
>>
>> Thanks,
>> Ron
>
> Hi Ronald
>
> Service start up scripts are not part of the dhcp distribution, so
> there's no clear answer to this one. However, a couple of general
> svcadm troubleshooting tips are to use
>
> 	svcs -xv isc-dhcp
>
> then examine the svc log file given in the output from that command to
> see what error dhcpd is reporting.
>
> Then you need to see why svcadm is putting the dhcp service into
> maintenance mode when that error occurs. It might mean a change to the
> service manifest to allow for that error, or to the service startup
> script.
>
> (For the rest of the list members, this svcadm is a new feature in
> Solaris 10 and Opensolaris. It controls the startup and shutdown of
> services, a bit like the old init.d scripts, but on steroids!)
>
> regards,
> -glenn
> --
> Glenn Satchell   mailto:glenn.satchell at uniq.com.au | Miss 9: What do  
> you
> Uniq Advances Pty Ltd       http://www.uniq.com.au | do at work Dad?
> PO Box 70 Paddington NSW Australia 2021            | Miss 6: He just
> tel:0409-458-580     fax:02-9380-6416              | types random  
> stuff.
>
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users





More information about the dhcp-users mailing list