Operating System - HP-UX
1753465 Members
4667 Online
108794 Solutions
New Discussion юеВ

Re: HPUX-11 startup problem

 
George Thiel
New Member

HPUX-11 startup problem

How do I fix the following problem:

When the "Start NFS Client subsystem" step is encountered the system does not progress.

The NFS server cannot be found. I don't care about NFS working. I'm using this machine as a build machine in a Windows network.

Thanks in advance.

George
16 REPLIES 16
Tony Constantine_1
Regular Advisor

Re: HPUX-11 startup problem

You can disable NFS from /etc/rc.config.d/nfsconf

Set the following variables

NFS_CLIENT=0
NFS_SERVER=0
David Lodge
Trusted Contributor

Re: HPUX-11 startup problem

This generally indicts a badly setup network card or environment - you can avoid it by disabling NFS (which I'd advise on all Unix systems) but that would just be jumping around the problem.

You need to examine /etc/rc.log and find out what is wrong with your boot up sequence - probably an error in the network configuration...

dave
Sridhar Bhaskarla
Honored Contributor

Re: HPUX-11 startup problem

Since you are not using NFS

1. Make sure your NFS_SERVER and NFS_CLIENT are zero'es in /etc/rc.config.d/nfsconf
2. Remove /etc/exports.
3. Edit /etc/fstab file and take out all nfs mounted file systems.

Your next reboot should be a smooth one.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
George Thiel
New Member

Re: HPUX-11 startup problem

When I boot in single user mode I can't edit the nfsconf file. the /usr directory is empty. vi ed do not exist.

What can I use to edit the file??
Santosh Nair_1
Honored Contributor

Re: HPUX-11 startup problem

You can mount /var and /usr in single user. You probably will have to fsck these filesystems as they will complain otherwise, but you should be able to do:

mount /var
mount /usr

This will allow you to run vi.

Hope this helps.

-Santosh
Life is what's happening while you're busy making other plans
Sachin Patel
Honored Contributor

Re: HPUX-11 startup problem

Hi George,
As above says you can change /etc/rc.config.d/nfsconf file for current problem.

In other case If system is stuck on any startup process your can press ( ctrl | ) togather and bypass that startup script.

If you are single user mode you need to mount /etc and /usr or it will shows as empty directory.
#mount /etc
#mount /usr
or
#mount -a ( trys to mount everything from /etc/fstab)

Of if it is stuck at NFS startup prss ctrl-break and most probable it will ask you command line login. then you will have all file system mounted. edit nfsconf file and type
#init 3 it will bring your system in multiuser mode.

Sachin
Is photography a hobby or another way to spend $
Deshpande Prashant
Honored Contributor

Re: HPUX-11 startup problem

Hi
You will be able to disable NFS from /etc/rc.config.d/nfsconf file

Set the following variables
NFS_CLIENT=0
NFS_SERVER=0

During boot up you also can bypass that script by pressing break (cntrl) kep on console key board.
In single user system, mount /usr and /var. Then modify /etc/fstab file for any NFS mounted file systems as well as disable NFS component from nfsconf file.

Thanks.
Prashant.
Take it as it comes.
Rodney Hills
Honored Contributor

Re: HPUX-11 startup problem

You should not have to mount /usr or /var to run ed or vi.

They exist under /bin (part of root partition). Maybe your $PATH is incorrect. You can still run vi or ed by enterined /bin/vi or /bin/ed respectivelly.

-- Rod Hills
There be dragons...
Patrick Wallek
Honored Contributor

Re: HPUX-11 startup problem

Yes you do need to mount /usr to get to ed or vi if you are in single-user mode.

/bin is simply a link (transition link) to /usr/bin and has been that way since at least 10.20.