Operating System - HP-UX
1833756 Members
2145 Online
110063 Solutions
New Discussion

Newby HPUX 11.11i question

 
SOLVED
Go to solution
Luc Bell
Regular Advisor

Newby HPUX 11.11i question

Apologies in advance, but I am jsut beginning the HPUX track, and here is teh deal-e-o.

I installed (cold) hp-ux 11i onto a C200 wkst.
Upon rebooting following disk two, the system hung on NFS Client (note responding.... 4ever).
I logged in single user mode and there was NO VI. How to edit the nfsconf???? (that is question 1).

I 'guessed', and just rm'ed the nfsconf file, and rebooted.
I promptly got to the GUI, alomst. It says ...going to CDE... and it just hangs forever again.

I did get the chance to set up DHCP to my DHCP server, along with host name tc...

QUESTIONS:
1.a) What did I mess up?
1) How does one edit without vi? (rhetorical)
2) Steps (CD names) to install patches or whatever it is I need.

I can get into single user mode, but no VI in the path or LVs leaves me a bit stuck..

Thanks in advance.

L

I am on a 4 port KVM switch, so swapping beween systems when the HP box keeps hanging, hangs the KVM (Grrrrr...)
If you are not failing a lot, you are not trying anything difficult...
3 REPLIES 3
Steven E. Protter
Exalted Contributor
Solution

Re: Newby HPUX 11.11i question

Usually nfs step hangs due to an error in the /etc/rc.config.d/netconf file

Lots of things can cause it.

IP address conflict with another machine.
netmask not compatible with the rest of network or switch.

You can use vi under these circumstances.

boot single user, which you apparently already know how to do.

Then:(you may need full path for these commands)

mount /usr
mount /var

Now you can use vi

Edit the file you want to edit.

Check your network configuration planned on another workstation and make sure there is no ip address conflict.

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
A. Clay Stephenson
Acclaimed Contributor

Re: Newby HPUX 11.11i question

Vi is there it's just that /usr isn't mounted yet and you'll also need /var.

Fortunately all the commands you need are in /sbin and they are staically linked versions otherwise they would be useless because /usr/lib isn't available yet.

mount /usr
mount /var

That should put you in business.

If it ain't broke, I can fix that.
Luc Bell
Regular Advisor

Re: Newby HPUX 11.11i question

Thanks guys.
If you are not failing a lot, you are not trying anything difficult...