in.dhcpd problem

Darryl Pace datpace at earthlink.net
Tue Oct 30 00:34:13 EST 2001


Managers,
	On an E4500 running Solaris 7, I am attempting to
upgrade Sunray software from version 1.2 to version 1.3.
Sunrays were running successfully on version 1.2.  However,
after upgrading to 1.3 the dhcp daemon will not start.
When I try to add an interface using utadm, the dhcp daemon
croaks.  When I manually do what the utadm script is trying
to do, here's what happens (I added the -d and -v options
for debugging and verbosity):

# /usr/lib/inet/in.dhcpd -dv             
 Daemon Version: 3.1
 Maximum relay hops: 4
 Run mode is: DHCP Server Mode.
 Datastore: files
 Path: /var/dhcp
 DHCP offer TTL: 10
 ICMP validation timeout: 1000 milliseconds, Attempts: 2.
(errno: 125) BIND: Address already in use
(errno: 125) Cannot configure any interfaces.
 Daemon terminated.


When I run "ps -ef | grep dhcp", nothing shows up.  When
I truss the command, I get the following:

3787/1:		so_socket(2, 1, 0, "", 1)			= 4
3787/1:		setsockopt(4, 65535, 32, 0xFFBEFAB4, 4, 1)	= 0
3787/1:		bind(4, 0xFFBEFAA4, 16, 3)			Err#125 EADDRINUSE
3787/1:			AF_INET  name = 0.0.0.0  port = 67
3787/1:		fstat(-1, 0xFFBEEA68)				Err#9 EBADF
3787/1:		open("/dev/conslog", O_WRONLY)			= 5

However, when looking for used ports with the netstat command,
port number 67 does not show up.

I believe I have applied all relevant patches (but, if you
have any suggestions for patches, please forward them).  Do
you have any suggestions on how I might solve, circumvent,
or further troubleshoot this problem?

Thanks for your help.

-- Darryl



More information about the sunmanagers mailing list