Operating System - HP-UX
1834646 Members
2079 Online
110069 Solutions
New Discussion

stuck on a line during reboot

 
SOLVED
Go to solution
Joel Tolentino
Occasional Contributor

stuck on a line during reboot

When rebooting I get stuck on a line which is:

NFS server (pid929@/net) not responding still trying...

I enabled NFS server in SAM. How do I get past this?
8 REPLIES 8
Jakes Louw
Trusted Contributor
Solution

Re: stuck on a line during reboot

Boot into single-user mode:

boot -is

(after you are prompted that you can break into the boot process).

The nfs server will be started by an entry in /etc/rc.config.d/, usually in nfs_server. This is a simple "1" for start and "0" for not. Edit and change.
Otherwise, break the link in /etc/rc2.d that starts NFS: usually this will be in the format of SxxxNFS. Simply break this link to the real executable:
unlink SxxxNFS

Also, edit out any /net entries in /etc/fstab and /etc/exportfs
Failing all else, you can rename the automount config files:
ls -al /etc | grep auto
These should be auto_master and auto.direct.
Trying is the first step to failure - Homer Simpson
Jakes Louw
Trusted Contributor

Re: stuck on a line during reboot

Just by the way: I think the "breakout" key combination is CTRL-\ (control & backslash): that MIGHT quit the attempt to start NFS during the RC sequence.
Trying is the first step to failure - Homer Simpson
Steven E. Protter
Exalted Contributor

Re: stuck on a line during reboot

Shalom,

This can be caused by a network error in /etc/rc.config.d/netconf

Thats possible. Probably though its because sam blew the nfs server config.

Better to do this stuff on the command line.

To get past it you boot to single user mode.

hpux -is

mount /var
mount /usr
vi /etc/rc.config.d/nfs.server

Change where it says
NFS_SERVER=1

to

NFS_SERVER=0

Save and restart the system.

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
DCE
Honored Contributor

Re: stuck on a line during reboot

Joel,

James is correct

the control \ key combination will abort the nfs startup process, and allow the system to continue to boot.

I have had to use the key sequence myself and it does work.
JASH_2
Trusted Contributor

Re: stuck on a line during reboot

Joel,

If you are using reflections on a pc as a console, then ctrl pause/break buttons together with have the same effect as ctrl \.

Regards,

JASH
If I can, I will!
Joel Tolentino
Occasional Contributor

Re: stuck on a line during reboot

Still not working. I checked in the /etc/rc.log. This is what I found:

/usr/sbin/automount[14]:874 quit (coredump)
FAILURE CODE 131
mounting remote NFS filesystems...
/sbin/rc2.d/S430nfs.client[368]:23027 quit (coredump)
FAILURE CODE 131
mount failed! Possible local filesystem mount
If local filesystem, then nfs.server will mount it.
MarkSyder
Honored Contributor

Re: stuck on a line during reboot

I've encountered this when a server/workstation that exports to the box is down.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Enrico P.
Honored Contributor

Re: stuck on a line during reboot

Hi,
if you have configured the system for automount and the NFS server is down or not reachable it goes in error.
Set the AUTOFS=0 in /etc/rc.config.d/nfsconf file.
Also check for the /etc/auto.direct file

Enrico