1844268 Members
2549 Online
110230 Solutions
New Discussion

DHCP error: please help

 
Vincent_5
Super Advisor

DHCP error: please help

Hi,
I have a RP5470 running on HP unix 11.00 and whenever it boot up, it gave this error in the gsp log and before it process all the hardware it gave a dhcp error. Attach is a copy of the error capture from the console screen.
nothing is better than to know more
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: DHCP error: please help

You machine has an error in its dhcp configuration file.

Since most servers are configured with fixed IP addresses, dhcp is not utually set.

I would as root run set_parms and make sure you answer the question about dhcp as no. Thats the fast way.

You could look for errors in the following files:

/etc/dhcpdb
/etc/dhcptab

or turn of dhcp in the file:

/etc/rc.config.d/netconf

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Vincent_5
Super Advisor

Re: DHCP error: please help

Hi
The current setting on my server in /etc/rc.config.d/netconf is

DHCP_ENABLE[0]=0 this is for lan0

DHCP_ENABLE[1]=0 this is for lan1

and howcome the dhcp was enable???


Advice

Regards
Vincent
nothing is better than to know more
Muthukumar_5
Honored Contributor

Re: DHCP error: please help

dhcp may be enabled using sam or using with /etc/rc.config.d/netconf file.

Remove the entry in /etc/rc.config.d/netconf for lan[1] and execute /sbin/rc to analyse the change of dhcp now without any reboot on command line.

#/sbin/rc
..... analysis ....

Log(s) are stored in /etc/auto_parms.log file.

I have disabled dhcp and getting as
Jul 21 05:18:40: DHCP is disabled for: lan0
Easy to suggest when don't know about the problem!
Shine_5
Frequent Advisor

Re: DHCP error: please help

Hi,

If you have only one Network Interface Card (NIC) in the
/etc/rc.config.d/netconf file the
INTERFACE_NAME[x]=lan0 where NAME[x] must start with a '0'
and not 1,2,3 etc

Also you must remove the /tmp/install.vars file if you have one.
Reboot the system after making these changes and that should resolve the
problem.


Regards
Shine
Mel Burslan
Honored Contributor

Re: DHCP error: please help

it may help to see your

/etc/rc.config.d/netconf
/sbin/init.d/net

files if you can post/attach them here
if the dhcp was disabled in the netconf file, it should not try starting it but again someone may have modified your "net" script under /sbin/init.d

points to check.
________________________________
UNIX because I majored in cryptology...
Vincent_5
Super Advisor

Re: DHCP error: please help

Hi,
Thanks for the info, the current configuration in my /etc/rc.config.d/netconf is

#INTERFACE_NAME[0]=lan0
#IP_ADDRESS[0]=170.178.196.24
#SUBNET_MASK[0]=255.255.255.0
#BROADCAST_ADDRESS[0]=""
#INTERFACE_STATE[0]=""
#DHCP_ENABLE[0]=0

INTERFACE_NAME[1]=lan1
IP_ADDRESS[1]=170.178.196.24
SUBNET_MASK[1]=255.255.255.0
BROADCAST_ADDRESS[1]=""
INTERFACE_STATE[1]=""
DHCP_ENABLE[1]=0

As you can see from the config file, lan0 is already disable, I disable it through sam and only lan1 is running. So what causes the dhcp to run???


Regards
Vincent
nothing is better than to know more