- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Runlevel Definitions
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
Discussions
Discussions
Discussions
Forums
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
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
тАО04-08-2003 09:29 AM
тАО04-08-2003 09:29 AM
Runlevel Definitions
I'm trying to figure out what the various runlevels on HP-UX 11.X mean. Here's what I have so far:
0 - halt
1 - Single user
2 - Multi user w/ network
3 - Multi user w/ network and GUI
4 - reboot
Am I right?
Thanks in advance for your help...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2003 09:31 AM
тАО04-08-2003 09:31 AM
Re: Runlevel Definitions
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2003 09:41 AM
тАО04-08-2003 09:41 AM
Re: Runlevel Definitions
See the man pages for 'init(1M)' for the values.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2003 09:50 AM
тАО04-08-2003 09:50 AM
Re: Runlevel Definitions
In any event the list you have is correct except for 4 being reboot. Maybe someone at your location got creative and installed a reboot script there.
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2003 10:06 AM
тАО04-08-2003 10:06 AM
Re: Runlevel Definitions
At some of my customer locations, in rc4.d we put in scripts enabling the predictive modem to allow dial-in for support issues. A very nice tool to quickly enable/disable non-critical services.
Caution: do not run down a level from level 3. It is unsupported and may cause unpredictable results. Use the shutdown command to reboot and then go to single-user mode if necessary.
Good Luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2003 11:01 AM
тАО04-08-2003 11:01 AM
Re: Runlevel Definitions
Just to clarify, the only runlevels with networking are 2 and 3?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2003 11:06 AM
тАО04-08-2003 11:06 AM
Re: Runlevel Definitions
Yes, that's correct on both counts. The man page is outdated and the only runlevels with networking are 2 and 3.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2003 11:08 AM
тАО04-08-2003 11:08 AM
Re: Runlevel Definitions
T??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2003 11:10 AM
тАО04-08-2003 11:10 AM
Re: Runlevel Definitions
Run level 1 (aka single-user mode) has no mounted filesystems, no applications started, very few OS services started and no networking. Run level 1 is accessable from the console (serial console, LAN console, web console) only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2003 11:11 AM
тАО04-08-2003 11:11 AM
Re: Runlevel Definitions
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-08-2003 04:30 PM
тАО04-08-2003 04:30 PM
Re: Runlevel Definitions
s/S - single user
0 - halt, etc.
Those man pages are obsolete since 10.20 and 10.30.
Server network services startup at run level 2.
Client network services startup at run level 3. (* NFS for example. *)
These commands were significant when executing commands like: init 1, or init s/S in order to come down from multi user mode into a lesser run level, init s for example.
Consequently, attempting an 'init s' will no longer stop network processes.
I believe Solaris and Linux still support these init commands with run levels.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2003 04:55 AM
тАО04-09-2003 04:55 AM
Re: Runlevel Definitions
Take a look in /etc/inittab first line.
What is there per default ?!
init:3:initdefault:
This means if the system has reached runlevel 3 it will stop to go further runlevels besides you have changed the runlevel explicit with init command or antoher default runlevel
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2003 12:45 PM
тАО04-09-2003 12:45 PM
Re: Runlevel Definitions
So, we:
1. We change the first line of inittab from a "3" to a "4", so the system actually comes up to run-level 4 at boot.
2. We put our start scripts in /sbin/rc4.d/:
cd /sbin/rc4.d/
ln -s /sbin/init.d/oracle S100oracle
I would rewrite your list as (on our systems):
0 - halt
1 - Single user
2 - Multi user w/ network
3 - Multi user w/ network and GUI
4 - user applications
and you forgot run level "S" and logical volume maintenance mode.