- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Reboot always goes 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
11-14-2002 06:32 AM
11-14-2002 06:32 AM
Reboot always goes into single user mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 06:32 AM
11-14-2002 06:32 AM
Re: Reboot always goes into single user mode
Second, are there any error messages, either in syslog or in dmesg output?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 06:37 AM
11-14-2002 06:37 AM
Re: Reboot always goes into single user mode
# lifcp /dev/rdsk/cXtYdZ:AUTO -
on your boot disk. It should contain "hpux", but in your case it can contain "hpux -is". You can change it using
# mkboot -a "hpux" /dev/rdsk/cXtYdZ
or your inittab can contain a bad default run-level :
init:X:initdefault:
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 06:41 AM
11-14-2002 06:41 AM
Re: Reboot always goes into single user mode
1. The first line of /etc/inittab:
init:?:initdefault
The second field (?) indicates the default runlevel and should be 2, 3 or maybe 4.
2. The AUTO file on your boot disk could be set to boot single user. Check with:
lifcp /dev/dsk/c?t?d?:AUTO -
It should read hpux or hpux -lq (maybe with options in brackets), NOT hpux -lm
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 06:44 AM
11-14-2002 06:44 AM
Re: Reboot always goes into single user mode
My previous reply should have read 'NOT hpux -is' *NOT* 'NOT hpux -lm'
Ho hum...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 07:52 AM
11-14-2002 07:52 AM
Re: Reboot always goes into single user mode
my /etc/inittab
cancun:/var/adm/syslog: head /etc/inittab
init:3:initdefault:
ioin::sysinit:/sbin/ioinitrc >/dev/console 2>&1
tape::sysinit:/sbin/mtinit > /dev/console 2>&1
muxi::sysinit:/sbin/dasetup /dev/console 2>&1 # mux init
stty::sysinit:/sbin/stty 9600 clocal icanon echo opost onlcr ixon icrnl ignpar <
/dev/systty
cancun:/var/adm/syslog: lifcp /dev/dsk/c6t1d0:AUTO -
hpux
cancun:/var/adm/syslog: lifcp /dev/dsk/c0t2d0:AUTO -
hpux (16.2.0;0)/stand/vmunix
I looked for errors when I booted after a halt and no errors showed up on the console window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 08:12 AM
11-14-2002 08:12 AM
Re: Reboot always goes into single user mode
Also the /etc/inittab may also be corrupt, but you cannot see it, try a default new file from /usr/newconfig/etc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 08:20 AM
11-14-2002 08:20 AM
Re: Reboot always goes into single user mode
grpck and pwck came back without any information (that is good).
cancun:/root: pwck
cancun:/root: grpck
cancun:/root:
cancun:/usr/newconfig/etc: diff inittab /etc/
17a18,22
> #ups::respawn:rtprio 0 /usr/lbin/ups_mond -f /etc/ups_conf
> #ems1::bootwait:/sbin/rm -f /etc/opt/resmon/persistence/runlevel4_flag
> #ems2::bootwait:/sbin/cat /etc/opt/resmon/persistence/reboot_flag
> #ems3:3456:wait:/usr/bin/touch /etc/opt/resmon/persistence/runlevel4_flag
> #ems4:3456:respawn:/etc/opt/resmon/lbin/p_client
cancun:/usr/newconfig/etc:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 08:40 AM
11-14-2002 08:40 AM
Re: Reboot always goes into single user mode
Can you force it to run level 3 either by hpux -i3 /stand/vmunix at the ISL> prompt or /etc/init 3 at #?
Just curious,
Kel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 08:46 AM
11-14-2002 08:46 AM
Re: Reboot always goes into single user mode
Yes I was able to do a init 3 and it booted the rest of the way up and all applications started ok, users have been using it for about 2.5 hours now and no complaints.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 08:50 AM
11-14-2002 08:50 AM
Re: Reboot always goes into single user mode
Sorry about that, I didn't see the init 2 comment at the bottom of your note. I was starting to wonder about your rc scripts, but Now I'm really curious.
I'll let you know if I find anything interesting.
Kel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 09:00 AM
11-14-2002 09:00 AM
Re: Reboot always goes into single user mode
All the rc scripts start up ok, the system runs through them when I did the init 2, probably should have done a init 3. I will test later this afternoon, when they go home.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 09:30 AM
11-14-2002 09:30 AM
Re: Reboot always goes into single user mode
I was leaning toward /sbin/rc itself being the culprit. If it was corrupted, I would think you would have init errors before a run-level s boot. If you have a wise-cracker with access in your midst, that could be a possibility. I know I have them. Fortunately for me (and them), they are smarter than using a production box for pranks, but my test boxes are and have been fair game. ;)
Kel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 01:24 PM
11-14-2002 01:24 PM
Re: Reboot always goes into single user mode
I changed it back and rebooted and it cycle through without any errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 01:26 PM
11-14-2002 01:26 PM
Re: Reboot always goes into single user mode
JP "the BOFH is my hero"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2002 12:13 PM
11-15-2002 12:13 PM
Re: Reboot always goes into single user mode
I'm glad you found it.
Ah, the little things do get us.
As for the new guy, I would gently remind that person not to do it again. Explain why what they did caused the problem if they don't understand and take it an honest mistake. The first time.
Happens again, let the percussions begin. ;)
Have a good weekend.
Kel