Operating System - HP-UX
1820256 Members
3055 Online
109622 Solutions
New Discussion юеВ

NFS server not responding still trying

 
Mehmet Musa
Occasional Advisor

NFS server not responding still trying

Hi,

When I try to connect to my box via lantronix, I get the following message:

"NFS server (pid450@/net) not responding still trying"

And the connection hangs there forever.

Anybody can help?
Thanks.

--Mehmet
10 REPLIES 10
Tim D Fulford
Honored Contributor

Re: NFS server not responding still trying

Common problem, many causes. I usually get this message just after I've ignited a box & I forget to disable some of the network stuff. We do not use NFS on most of our servers... I usually need to stop NFS totally (/etc/rc.config.d/nfsconf).... Any way assuming you do want NFS...

Here are a few things you can do..

1 - Check that the NFS server has indeed exported the data you want to import (/etc/xtab)

2 - Check network between NFS server & client (ping NFS server & ping NFS client)

3 - Check name resolution forwards & backwards.

4 - if you are using the automounter this can cause complications if you are not familiar with the set up. Try to do a direct nfs mount e.g. on client

# mount :/home/fulfordt /home/fulfordt

See if that works

Thwere are really many a cause for this so you need to narrow down what is causing the problem

Good luck

Tim
-
Patrick Wallek
Honored Contributor

Re: NFS server not responding still trying

It sounds like your default autofs / automount configuration is set. This is set to start by default for some strange reason.

The easiest thing to do is go to /etc/rc.config.d/nfsconf (I think) and make sure that AUTOFS and AUTOMOUNT are set NOT to start (set to 0) by default.

You can also go to /sbin/init.d/autofs (again, I think, I don't have a system to look at right now) and stop the daemon.

# /sbin/init.d/autofs stop

That should take care of your problem.
Mehmet Musa
Occasional Advisor

Re: NFS server not responding still trying

Thanks Patrick and Tim for your help, but I cannot even log to the machine, not even the console. I can access the lantronix box, but then when I do "CO my_machine" it gives me "NFS server not responding still trying". I would love to go and disable the nfsd program, but without access it is hard.

Thanks again for helping.

--Mehmet
Bill Hassell
Honored Contributor

Re: NFS server not responding still trying

I am assuming that your lantronix connection is for terminal access to the console. To solve this problem, you will have to reset the computer using the GSP (the CO or CONSOLE command is part of the GSP). If you are seeing the NFS error message, type CTRL-B and you'll be connected to the GSP. Then type RS to reset the computer. You'll then have to wait for the computer start rebooting and watch for the message that you have 10 seconds to interrupt the boot process. When you see the message, press the return key and you'll get a processor prompt.

Now type the command: bo pri
and say yes to interact with IPL.

At the next prompt, type: hpux -is

and the system will then boot into single user mode. Once you get an HP-UX prompt, mount the /usr and /tmp and /var directories:

mount /usr
mount /tmp
mount /var

Then edit the file: /etc/rc.config.d/nfsconf and change these lines to =0 as shown:

NFS_CLIENT=0
NFS_SERVER=0
AUTOMOUNT=0
START_MOUNTD=0
AUTOFS=0

Now you can reboot by using: reboot -q

That will disable NFS. If you aren't going to use NFS, you can leave things as is. If you need NFS, don't enable it until networking, especially DNS is working correctly.


Bill Hassell, sysadmin
KCS_1
Respected Contributor

Re: NFS server not responding still trying

add a remake above message
If you not use NFS, another mothod is
move to /etc/rc.config.d/nfsconf.org from
/etc/rc.config.d/nfsconf and then you can
reboot or shutdown -r 0 .
Easy going at all.
Patrick Wallek
Honored Contributor

Re: NFS server not responding still trying

No no no no no. You don't want to have more than 1 copy of a file in /etc/rc.config.d. Haveing an nfsconf and nfsconf.org WILL cause problems.

When HP-UX starts up it sources ALL the files in the /etc/rc.config.d directory. When it does this, it will source BOTH nfsconf and nfsconf.org, and the nfsconf.org will be 2nd alphabetically so you will still have your variables set to 1, which is NOT what you want.

If you really want to keep backups of files from /etc/rc.config.d then make a new directory called /etc/rc.config.d.backup or something and keep your backup copies there.

Just keep 1 version of a file in /etc/rc.config.d.
KCS_1
Respected Contributor

Re: NFS server not responding still trying

above my message means is nfsconf file rename.


#mv /etc/rc.config.d/nfsconf /etc/rc.config.d/nfsconf.org

is it wrong?
Easy going at all.
Roberto Severo
Advisor

Re: NFS server not responding still trying

Check if the HOSTNAME and IP ADDRESS are the same in /etc/rc.config.d/netconf and /etc/hosts files.

-Roberto
Patrick Wallek
Honored Contributor

Re: NFS server not responding still trying

Patrick,

You don't want to rename or have multiple copies of files in /etc/rc.config.d for the reason I gave above. If the file is still there, even by another name, it will still get sourced, and the variables set, when the system boots. So just renaming it from nfsconf to nfsconf.org does not help anything. You are better off just setting the NFS and AUTOFS / AUTOMOUNT variables to 0.

Have a look at this link for more information on the role the /etc/rc.config.d directory plays during system startup.

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90682/B2355-90682_top.html&con=/hpux/onlinedocs/B2355-90682/00/03/334-con.html&toc=/hpux/onlinedocs/B2355-90682/00/03/334-toc.html&searchterms=rc.config.d&queryid=20020620-202153
KCS_1
Respected Contributor

Re: NFS server not responding still trying

Patrick Wallek!!

thanks.
You gave me that more important things,progressive knowlege.
have a nice day!!



Easy going at all.