Operating System - HP-UX
1833059 Members
2425 Online
110049 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.



George Thiel
New Member

Re: HPUX-11 startup problem

Changing the settings in the nfsconf file has gotten me past the NFS issues, but now it appears to timeout at Starting the Openview stuff and the starting of the CDE is taking for ever.

Thanks, everyone, for all the help
Sachin Patel
Honored Contributor

Re: HPUX-11 startup problem

Hi George,
Then problem is something else. Dose CDE comeup OK? Are you able to ping or telnet to other systems?

Sachin
Is photography a hobby or another way to spend $
George Thiel
New Member

Re: HPUX-11 startup problem

No, CDE does not come up. It appears to be stuck at the gray screen with the + curser.
Sachin Patel
Honored Contributor

Re: HPUX-11 startup problem

It is your name resolv problem.
Are you using DNS?
For dns
your /etc/nsswitch.conf file should look like this
hosts: dns files

your /etc/resolv.conf
domain xxxxx.com
nameserver 10.20.10.10 # dns server

I will suggest first you use local name resolv and then add dns. for no dns
/etc/nsswitch.conf file look like
hosts: files

/etc/hosts file look like
ip_address systemname
127.0.0.1 localhost

Sachin
Is photography a hobby or another way to spend $
Eugen Cocalea
Respected Contributor

Re: HPUX-11 startup problem

Hi,

Altough you are not using NFS, please check the /etc/fstab for NFS partitions that you try to mount at boot time.

The gray screen with the X cursor is usualy a sign your DNS is not configured properly. Chech /etc/resolv.conf. It should look something like:

search
nameserver xxx.xxx.xxx.xxx

and your /etc/nsswitch.conf file. There you should have a line like:

hosts: dns files

or if you use nis

hosts: nis files

best luck,

E.
To Live Is To Learn
George Thiel
New Member

Re: HPUX-11 startup problem

Thanks for all the help Sachin et al. My system boots, CDE starts and I can see the network. I now have a better understanding of how to configure an HPUX-11 based machine.

George
Nick D'Angelo
Super Advisor

Re: HPUX-11 startup problem

some points would be nice ;-)
Always learning