- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- problems with maintenance/single user mode
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
01-29-2003 04:16 AM
01-29-2003 04:16 AM
problems with maintenance/single user mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2003 04:27 AM
01-29-2003 04:27 AM
Re: problems with maintenance/single user mode
Also what's in the AUTO file on your boot disk?
Run lifcp /dev/dsk/c?d?t?:AUTO -
It's possible that your AUTO file is actually booting from a different disk altogether (though unlikely).
The output from
setboot
lvlnboot -v
would also be useful.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2003 04:33 AM
01-29-2003 04:33 AM
Re: problems with maintenance/single user mode
In the good old days (prior to version 9), shutdown 0 (no -h or -r option) would get you to true single user mode very quickly, bypassing hardware selftests. But somewhere during 9.x and ever since, shutdown became dependent on networking (which makes no sense at all since shutdown usually occurs for abnormal reasons) and can hang. shutdown 0, when it gets you to a shell prompt, will occasionally leave /usr and /var mounted--which is not true single user mode. In true single user mode, NOTHING is mounted (except / and /stand) and there are no processes running except memory management (no networking, no user daemons, etc)
So to get to true single user mode, you must reboot the computer (shutdown -r 0 or if nothing is running, reboot -q), then interrupt the boot process so you can interact with the processor ROMs. Answer YES to boot from primary, and YES to interact with ISL (initial system loader). When you get the ISL prompt, type: hpux -is
and you'll get to true single user mode.
There is a possibility that you have something customized in /etc/profile and/or root's .profile which is causing the hang because the 'something' is broken in single user mode. Or you may have changed root's shell in /etc/passwd. DON'T CHANGE root's SHELL. It must always be /sbin/sh (search the ITRC forums for numerous warnings and the details)
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2003 08:15 AM
01-29-2003 08:15 AM
Re: problems with maintenance/single user mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2003 08:32 AM
01-29-2003 08:32 AM
Re: problems with maintenance/single user mode
hpux -lq -is
Any other combination , such as hpux -is -lq, will cause a reboot. based on my experience.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2003 08:44 AM
01-29-2003 08:44 AM
Re: problems with maintenance/single user mode
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2003 09:00 AM
01-29-2003 09:00 AM
Re: problems with maintenance/single user mode
Pls check the configuration of the console device. They should look like:
# ll /dev/console /dev/sys*
crw--w--w- 1 root tty 0 0x000000 Jan 29 17:56 /dev/console
crw--w--w- 2 bin bin 0 0x000000 Feb 15 2001 /dev/syscon
crw--w--w- 2 bin bin 0 0x000000 Feb 15 2001 /dev/systty
Then remove the file /etc/ioctl.syscon, before trying the next reboot.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 04:38 AM
01-30-2003 04:38 AM