- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Run level after 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-08-2003 12:40 AM
07-08-2003 12:40 AM
I have a critical server running 10.20
Rebooted it last night using shutdown -r 1
and it rebooted ok but started up seemingly in single user mode.
who -r showed that it was at run level 3, but I wasn't prompted to log in, no network services were working and /home and others had not been mounted.
init 3 solved the problem and brought the server up to run level 3 and (touch wood :} )
everything is fine.
I checked /etc/inittab and the top line reads
init:3:initdefault:
Any ideas why that might have happened?
Thanks
Luke
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 12:47 AM
07-08-2003 12:47 AM
Re: Run level after boot
second point, check what /etc/rc.log shows.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 12:51 AM
07-08-2003 12:51 AM
Re: Run level after boot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 12:53 AM
07-08-2003 12:53 AM
Re: Run level after boot
The -r does actually mean run level. Have a look at the man page 'man 1m shutdown'
The correct procedure to reboot your system is
# cd /
# shutdown -r -y 0 (using no numbers for -r)
From your /etc/inittab file, the line init:3 is actually the default run level when your system is fully up, meaning the scripts running in /sbin/rc1.d , /sbin/rc2.d & /sbin/rc3.d
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 01:14 AM
07-08-2003 01:14 AM
Re: Run level after boot
Melvyn, I am aware it is no supported and I have made those 'above' me aware quite some time ago.
Melvyn and twang, thank you, I am currently looking through the log file.
Michael, I had a look at the man page and according to that, shutdown -r 0 will reboot the server. The man page states that -r is to reboot. However, the command you have stated would work too, so I thank you for the suggestion.
Luke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 01:29 AM
07-08-2003 01:29 AM
Solutionsince you have issued command
#shutdown -r 1
system goes to run level 1 wherein no netwok services available, mount -a would have mounted all file systems.
init:3:initdefault meaning that
whenever you isuue reboot/shutdown -r, system will comeup to run level 3 by default (unless you interrupt the boot process)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 01:31 AM
07-08-2003 01:31 AM
Re: Run level after boot
This would have taken the system down to run level 1, which is not really what you want to do, as already pointed out by other respondents.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 01:54 AM
07-08-2003 01:54 AM
Re: Run level after boot
I thought that it meant to shutdown and reboot in 1 second.
I will be revising the documentation to shutdown -r
Many thanks to you all for your help.
Luke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 02:40 AM
07-08-2003 02:40 AM
Re: Run level after boot
#shutdown -h now
will completely halt the system
#reboot or
#shutdown -r now
will reboot the machine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 12:18 PM
07-08-2003 12:18 PM
Re: Run level after boot
As the shutdown without parameters goes to
single mode the -r X goes to X runlevel.
For reboot use shutdown -ry 0
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:41 AM
07-09-2003 06:41 AM
Re: Run level after boot
Using
#reboot
Is a dirty way of rebooting the system from Run Level 3, as I beleive it does not run through the run scripts and shuts down things neatly. It just kills the processes off and unmount the File Systems and shuts down.
Though
#reboot
Is ok to issue from Run Level 1
Though the other two commands are fine.
Cheers
Rich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2003 06:17 AM
07-17-2003 06:17 AM
Re: Run level after boot
Thanks in adavnce,
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2003 06:22 AM
07-17-2003 06:22 AM
Re: Run level after boot
I would have to suggest that you start another thread, perhaps referring back to this one. With the magic bunny already assigned to this one, your response will be better with a new thread and you'll also be able to assign points to those who help you.
Pete
Pete