1826797 Members
3008 Online
109703 Solutions
New Discussion

Re: NFS Hangs on boot up

 
Robert Anderson
Advisor

NFS Hangs on boot up

When re-booting our L-class box, it hangs on NFS mounting. I have narrowed it down to the fact that the machine is not configuring the lan correctly. There two lan cards in the machine. The second one gets installed correctly. If I go in through single user mode, I can configure lan0. Configuration seems to be ok. Does anyone know why the first lan card will not configure on boot-up.
Don't think meat! It can only hurt the team!
13 REPLIES 13
Wieslaw Krajewski
Honored Contributor

Re: NFS Hangs on boot up

Hi,

Check /etc/rc.config.d/netconf file for configuration of both your interfaces.
Permanent training makes master
Robert Anderson
Advisor

Re: NFS Hangs on boot up

I've already verified that the netconf file is correct. Thanks for the response though!
Don't think meat! It can only hurt the team!
Dan Bonham
Advisor

Re: NFS Hangs on boot up

What kind of card is it? I've seen Boxes with FDDI or Token cards hang because the right drivers aren't installed into the kernel. if it Ethernet, make sure that your default gateway is correct.

HTH

Rusty
Robert Anderson
Advisor

Re: NFS Hangs on boot up

Thanks for the assistance Rusty, but I have already verified that. If I disable the NFS mounts I can boot up and manually enter the configuration for lan0 without any problem. Then I have to set the nfs on and init my way around to bring everything up correctly. It is just regular 10/100 ethernet card.
Don't think meat! It can only hurt the team!
Dan Bonham
Advisor

Re: NFS Hangs on boot up

Robert
Does the rc.log give any indication whether it is nfs.client core or server script that it is hanging on?

rusty
Robert Anderson
Advisor

Re: NFS Hangs on boot up

This is the error I saw:
ERROR: Failed to add route entry because its interface is not
yet initialized. May need to add this route entry with
a route commad after the interface is up :
add net default: gateway 10.4.1.1: Network is unreachable
"/sbin/rc2.d/S340net start" FAILED

I believe this is a result of it not configuring the lan0 rather than the cause. What do you think? lan0 is supposed to be 10.4.2.40 netmask 255.255.0.0
Don't think meat! It can only hurt the team!
Dan Bonham
Advisor

Re: NFS Hangs on boot up

Robert,
I've gotten that type of message before. I got it when I had a bad IP adress for my default gateway. In the netconf file after the cards are configured, it sets up your routing table with whatever information you've placed in the netconf. I'm not sure why it would work manually though. do you see a "default" gateway when you do a "netstat -r"?

sidenote: this is a no-brainer so forgive me but you don't have any back-up files or unsourcable files in your rc.config.d dir, do you?
Robert Anderson
Advisor

Re: NFS Hangs on boot up

default 10.4.1.1 UG 0 0 lan0 1500

Default gateway shows up. I don't touch that. It is already there once I manually configure lan0....

Everything else in the netconf file looks OK!
Don't think meat! It can only hurt the team!
Wieslaw Krajewski
Honored Contributor

Re: NFS Hangs on boot up

Hi Robert,

Something more.
To be sure that your netconf file is OK, try after booting (with NFS client disabled to start faster), to run manually
/sbin/init.d/net start

If this command configure lan0 properly, then netconf is OK. If not check it carefully. Everything proves that there are some problems with netconf if you can use ifconfig to configure lan0.
Permanent training makes master
Vincent Stedema
Esteemed Contributor

Re: NFS Hangs on boot up

Robert,

Does the destination variable in your netconf read "default" or "net default"?

Vincent
Steve Post
Trusted Contributor

Re: NFS Hangs on boot up

Everytime I run a clean HPUX11 install I get this. I submitted a forum question like this too (and got a lot of help). Run ioscan and see if the lan cards have drivers are there. Maybe the driver for the lan card you want is missing. If you grab the HPUX applicaton CD#1, you will find lan drivers. But you can't load them. You need a working lan card before swinstall will let you install stuff.

Is this a Catch-22? You KNOW you have one working lan card. Plug your main network connection to your one working card. Update the network configuration to use THIS card as your main card. Reboot.
Now you should have a lan connection. Now you can load the lan drivers to get the other lan cards to work. After the other cards are alive, you can set the lan cards the way you want.
And thanks OTHER folks for helping ME out.
Steve p.
Robert Anderson
Advisor

Re: NFS Hangs on boot up

Thank you all for your help. I finally got it figured out with the help of HP support. In case anyone else runs into this problem. After verifying there was no problem with the lan card( I was able to manually configure the settings needed), HP had me turn my sights towards the netconf file. Here's what they had me do:

cd /etc/rc.config.d
mv netconf /tmp
cp /usr/newconfig/etc/rc.config.d/netconf .
edit the new netconf file
ifconfig lan0 1.1.1.1 ( this was done to verify the netconf file works).
/sbin/init.d/net start
ifconfig lan0
It should now display the settings you put in your new netconf file.

Again, thanks for all of your help.

Robert M. Anderson
Don't think meat! It can only hurt the team!
Sanjay_6
Honored Contributor

Re: NFS Hangs on boot up

Hi Robert,

I had a similar sory of experience sometime back. Don't remember correctly what i did, but i believe it was something like this. Go thru sam-->Networking and Comm ---> Network interface Cards --> Select lan0 / lan1 (the one that is giving you problem) --> Select action from Manu bar --> Select Delete ---> Once it comes back, try reconfiguring the card, add your default getway if required once again, and reboot. I think that was the solution i tried. Give it a try, nothing to loose.

Hope this helps

Thanks