- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: which runlevel ????????????????
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
05-15-2001 10:28 AM
05-15-2001 10:28 AM
which runlevel ????????????????
When we install Hp-unix first time in new system , after installation process is complted.In which runlevel M/C is starting ????
plz give me correct ans.
thankx in advance..
- Love
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 10:40 AM
05-15-2001 10:40 AM
Re: which runlevel ????????????????
The scripts should be something like:
/sbin/rc3.d/S800cmcluster
/sbin/rc2.d/K002cmcluster
hence MC/ServiceGuard is started when run-level 3 is entered.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 10:41 AM
05-15-2001 10:41 AM
Re: which runlevel ????????????????
My first advice is don't trust us; ask the system.
cd /sbin/init.d
look for the desired start/stop script. In this case it's 'cmcluster'. Now we need to find the links to it (and typically they are symbolic links).
cd /sbin/rc3.d
ls -l
you should see entries like
S100nfs.server -> /sbin/init.d/nfs.server
S800cmcluster -> /sbin/init.d/cmcluster
Since we find the link to the cmcluster command in the rc3.d directory and since the
file in the rc directory begin wirh 'S' (start); we know that cmcluster is started at run-level 3.
Now cd /sbin/rc2.d
ls -l
You should see an entry similar to this:
K002cmcluster -> /sbin/init.d/cmcluster.
K (kill) means that cmcluster is stopped going to run-level 2.
You can apply this same method to startup/shutdown rc process. Man rc for details.
Regards, Clay

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 12:17 PM
05-15-2001 12:17 PM
Re: which runlevel ????????????????
plz give me correct ans.
1. S/s
2. 1
3. 2
4. 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 12:23 PM
05-15-2001 12:23 PM
Re: which runlevel ????????????????
Ask the system.
Do a who -r. That will tell you the current run level.
Now to determine the default run level.
vi /etc/inittab. You will see an 'initdefault'
entry which will resemble this:
init:3:initdefault
The second field (3 in this case) is the default run state.
Always ask the system itself.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 12:28 PM
05-15-2001 12:28 PM
Re: which runlevel ????????????????
Are you taking these questions from a test you are taking somewhere? The questions are very hard to understand. You have posted several and I am having a hard time understanding exactly what you are asking in all of them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 12:50 PM
05-15-2001 12:50 PM
Re: which runlevel ????????????????
First the default run level in HP-UX for a system running X is 3. If you have no graphics, the run level is 2. Lots of servers do not have graphics, and therefor do not support the starting of the X interface at run level 3.
Run level 1 is single user mode
Run level 2 is multi-user mode +networking
Run level 3 is run level 2 + X (or dtlogin, vuelogin, etc...)
For the mc service guard, it should be started at I would think run level 2 as it requires networking. As the other user said, look at the other run directories to find the links. /sbin/rc1.d, /sbin/rc2.d, and /sbin/rc3.d are the directories for each respective run level.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 09:01 PM
05-15-2001 09:01 PM
Re: which runlevel ????????????????
It depends, The best way is to do a who -r and find out the answer from the system.
kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2001 12:12 AM
05-16-2001 12:12 AM
Re: which runlevel ????????????????
It is defined on /etc/inittab file:
init:3:initdefault:
run level 3 is used in boot unless you have booted with hpux -is