- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NFS START HALTS SYS BOOT
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 02:47 PM
07-24-2003 02:47 PM
How can I turn NFS off ? When I can't get into the sys. I have a ignite tape for this box, but can't find where you can turn off NFS in
ignite setup.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 02:53 PM
07-24-2003 02:53 PM
SolutionWhat you can do is boot the system, interrupt the boot at the "press any key in 10 seconds" prompt. Then type 'boot pri' and say 'Y' to "Interact with IPL". Then type 'hpux -is' to boot into single-user mode.
Once there, type 'mountall' to mount the vg00 filesystems (if you have other filesystems and you get errors, don't worry). Now you need to edit the /etc/rc.config.d/nfsconf file to turn off all NFS.
Once you edit that file, reboot and now NFS should not start anymore.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 02:58 PM
07-24-2003 02:58 PM
Re: NFS START HALTS SYS BOOT
You can do what Patrick suggested or try pressing CTRL \ to halt the startup in its tracks. You will be presented with a login prompt and should be able to login (it will be jumbled in with whatever is displayed on the screen and you may need to press return several times to actually see it). However, the machine will not have completed its bootup. It will have stopped at NFS. Edit the files in /etc/rc.config.d to disable NFS from starting and reboot again.
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 03:40 PM
07-24-2003 03:40 PM
Re: NFS START HALTS SYS BOOT
99 times out of 101, this is the result of a host name resolution issue. To get by it in the meantime, either boot into single user mode, or interrupt the boot process when it gets to the NFS start by pressing the
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 03:43 PM
07-24-2003 03:43 PM
Re: NFS START HALTS SYS BOOT
I think this will fix my problem,
if I can get vi to work properly
it's acting strange in single user mode ?
Thanks Again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 04:07 PM
07-24-2003 04:07 PM
Re: NFS START HALTS SYS BOOT
export TERM=hp
That should straighten out vi.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 05:10 PM
07-24-2003 05:10 PM
Re: NFS START HALTS SYS BOOT
problems with vi relate to the terminal you are using and the TERM variable. In the good old days, every HP-UX server came with a 'real' HP console and as you booted up, even in single user mode, the terminal would be identified automatically using ttytype. However, today's sysadmins are using a LOT of imitations, non-HP dumb terminals or worse, cheap terminal emulators that run on PCs. Most of the dumb terminals and PC emulators attempt to emulate the prehistoric DEC VT100 terminal, now seen only in museums and some government offices :-)
To complicate a fairly simple task (identifying the terminal), the entire rp-series, SuperDomes and older A-, L-, and N-class servers have a multi-access GSP subsystem in which the designers tried to handle multi-port access (remote support modem, console, built-in LAN console) and decided to store a hard-coded ID inside the GSP. This ID has nothing to do with the 'real' terminal(s) attached to the console ports except by accident. If the GSP is set to hpterm, then the ttytype (and tset) commands will not poll the terminal for an ID but simply assume the ID from the GSP, and thus, TERM=hp will be set *PRIOR* to running /etc/profile. Well and good as long as you have a 'real' HP terminal or emulator connected to the console.
However, if you have the GSP set to vt100 and are using an HP terminal, vi (and SAM and swinstall, etc) will all go crazy since TERM does not match the real terminal. The opposite is also true: hpterm in the GSP versus a dumb vt100 as the console...vi will fail.
The fix is to pick a standard console terminal and then make the GSP match using the CA command. I recommend using an HP terminal or emulator and setting GSP to hpterm. The difference between vt100 and hpterm when running SAM or swinstall is phenomenal. I also recommend deleting the code /etc/profile that bypasses ttytype when TERM is already set. TERM gets set by telnet based on TERM in the client machine, and this value may not be useful, so always query the terminal.
Unfortunately, ttytype and tset bypass the query code if the connection is through the GSP console path.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2003 06:46 AM
07-25-2003 06:46 AM
Re: NFS START HALTS SYS BOOT
Now it locks up at the start of the CDE gui.
?????????
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2003 06:51 AM
07-25-2003 06:51 AM
Re: NFS START HALTS SYS BOOT
Are you using DNS to lookup hosts? Is this host defined in its local /etc/hosts file correctly? Do you have an /etc/nsswitch.conf file and a /etc/resolv.conf file if you are using DNS?
The contents of the /etc/nsswitch.conf file, at least the hosts line, should look like:
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns
I always like to put files first and then DNS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2003 06:53 AM
07-25-2003 06:53 AM
Re: NFS START HALTS SYS BOOT
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2003 09:13 AM
07-25-2003 09:13 AM
Re: NFS START HALTS SYS BOOT
This started after our network folks upgraded our switch (1GB). Since this is a TEST box I did'nt know it was having problems until a few days later. This sys only has a 10Mb card Since I only use this to test with. Everything on the Cisco switch looks ok. I've tried setting the switch to 10/full and 10/half no luck with either. I've checked/created all the previously mentioned files. Still hanging at the GUI startup.
Anymore ideas ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2003 09:19 AM
07-25-2003 09:19 AM
Re: NFS START HALTS SYS BOOT
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2003 10:10 AM
07-25-2003 10:10 AM
Re: NFS START HALTS SYS BOOT
Thanks again !!!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2003 10:16 AM
07-25-2003 10:16 AM
Re: NFS START HALTS SYS BOOT
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2003 10:51 AM
07-25-2003 10:51 AM
Re: NFS START HALTS SYS BOOT
Also make sure that there are NO backup copies of the netconf file in /etc/rc.config.d if there, delete them or move them somewhere else.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2003 01:14 PM
07-25-2003 01:14 PM
Re: NFS START HALTS SYS BOOT
showed the wrong DNS setup. Got that changed and finally now I can ping the system.
Problem is it still is hanging up at the
(CDE) common desktop environment .....
any ideas ????
Thanks again and again for all the help !
This forum is the best thing HP has going !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2003 04:17 PM
07-25-2003 04:17 PM
Re: NFS START HALTS SYS BOOT
Once simple /etc/hosts works, then add /etc/resolv.conf (while running) and again check your own IP and hostname. This time it will only use the nameserver. If it fails, then find out why your DNS box is not reachable. The last step is to put /etc/nsswitch.conf back in place and perhaps adjust the rules (see man switch and also man nsquery).
Bill Hassell, sysadmin