- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- boot error: boots into 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
10-07-2005 10:28 AM
10-07-2005 10:28 AM
I do see some error flashing by the console right before it dumps into single-user mode, but I can't read it since the screen refreshes immediately after showing the error, and I haven't been able to find that error logged in the usual suspect places (syslog.log, OLDsyslog.log, rc.log)
when I type "init 3" it successfully boots into CDE without any incidences. inittab is set to init:3:initdefault.
the prime suspect is that something went bad when one of the hard drives died (/dev/vg02) and was removed. Unfortunately I wasn't there when this happened, and no one remembers what was done to the system when the drive was removed (dead drive housed a /home. the content of /home was moved to another partition in /dev/vg01 and /etc/fstab changed to point to the new partition). so it *may* be related to this, but I can't tell. Also, unfortunately that old dead drive is no longer available (got traded in for a new one)
my question is:
1. where is the error getting saved so I can figure out what the error is?
2. what's a good systematic way to figure out where in the booting process that this error occurs in the event that the error isn't being recorded?
thanks for any help...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2005 04:32 PM
10-07-2005 04:32 PM
Re: boot error: boots into single user mode
lifcp /dev/dsk/c1t2d0:AUTO -
It should be something like hpux or hpux -lq
If it is hpux -is, it has been set to boot to single user mode. You can use mkboot to set it hpux -lq.
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2005 04:41 PM
10-07-2005 04:41 PM
Re: boot error: boots into single user mode
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 09:07 AM
10-10-2005 09:07 AM
Re: boot error: boots into single user mode
?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 10:04 AM
10-10-2005 10:04 AM
Re: boot error: boots into single user mode
run the command :
grep ^init /etc/inittab
what do you see ?
if you see this:
init:1:initdefault:
it is the source of your problem. you are effectively telling your system not to go anywhere beyond init level 1, i.e., single user mode.
this line is generally set as:
init:3:initdefault:
but check your particular configuration as you may have some other app.s which start at init level 4. So adjust according to your needs.
(to see if you have anything starting at init level 4, see the directory contents as follows
/sbin/rc4.d
if there are any files, you may need init level 4)
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 10:20 AM
10-10-2005 10:20 AM
SolutionI saw this behavior once, because someone changed the shell for root in /etc/passwd from /sbin/sh to /usr/bin/ksh, which cannot work.
Perhaps you may find something in /etc/rc.log.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 07:05 AM
10-11-2005 07:05 AM
Re: boot error: boots into single user mode
as it turned out Torsten's suggestion was dead-on... someone had changed the root shell to /usr/bin/ksh and that was bombing the startup!!!
simple change, bad consequences..
wow. awesome.
thank you!!! you have fixed the problem that's been plaguing for I-have-no-idea-how-long!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 07:19 AM
10-11-2005 07:19 AM
Re: boot error: boots into single user mode
"/usr/bin/ksh not found"
but anyway, good to know the problem is solved.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2005 08:26 AM
10-11-2005 08:26 AM
Re: boot error: boots into single user mode
that must be the error I glimpsed before the screen refreshed and dumped me into single user mode.