- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Start init file in hpux
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
02-21-2006 08:51 PM
02-21-2006 08:51 PM
I don't know that I didn't run my some processes in rc4.d when next boot. What is the difference between rc3.d and rc4.d. Because it worked if the files were in rc3.d. Also when I shutdown the server, it couldn't show such processes termination in the screen.
Thanks for your help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 08:55 PM
02-21-2006 08:55 PM
Re: Start init file in hpux
Runlevel 3 is Multiuser with NFS.
Runlevel 4 is custom.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 09:00 PM
02-21-2006 09:00 PM
Re: Start init file in hpux
this state NFS filesystems are often exported, as mayhe
be required for an NFS server.system will be kernelf
daemons started directly by the HP-UX kernel, daemon1M)
4 Activate graphical presentation managers and start them
other system processes. on the system console, and anyy
processes started by the system administrator.normals
See init man page for run level information.
See /etc/rc.log for startup scripts stop and start related informations.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 09:01 PM
02-21-2006 09:01 PM
Re: Start init file in hpux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 09:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 09:04 PM
02-21-2006 09:04 PM
Re: Start init file in hpux
Runlevel3 Export filesystems and start other system processes. In this state NFS filesystems are often exported, as may
be required for an NFS server.
Runlevel 4 Activate graphical presentation managers and start other system processes.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 09:04 PM
02-21-2006 09:04 PM
Re: Start init file in hpux
By the way, what's the usage of rc2.d?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 09:06 PM
02-21-2006 09:06 PM
Re: Start init file in hpux
from man init:
0 Shut down HP-UX.
S|s Use for system administration (also known as "single-
user state"). When booting into run level S at powerup,
the only access to the system is through a shell
spawned at the system console as the root user. The
only processes running on the system will be kernel
daemons started directly by the HP-UX kernel, daemon
processes started from entries of type sysinit in
/etc/inittab, the shell on the system console, and any
processes started by the system administrator.
Administration operations that require the system to be
in a quiescent state (such as the fsck(1M) operation to
repair a file system) should be run in this state.
Transitioning into run level S from a higher run level
does not terminate other system activity and does not
result in a "single-user state"; this operation should
not be done.
1 Start a subset of essential system processes. This
state can also be used to perform system administration
tasks.
2 Start most system daemons and login processes. This
state is often called the "multi-user state". Login
processes either at local terminals or over the network
are possible.
3 Export filesystems and start other system processes. In
this state NFS filesystems are often exported, as may
be required for an NFS server.
4 Activate graphical presentation managers and start
other system processes.
5-6 These states are available for user-defined operations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 09:12 PM
02-21-2006 09:12 PM
Re: Start init file in hpux
It is better to put my own init file in the rc4.d directoy, isn't?
It depends on how you start.
By the way, what's the usage of rc2.d?
Run level 2 Start most system daemons and login processes. This state is often called the "multi-user state". Login processes either at local terminals or over the network are possible.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 09:29 PM
02-21-2006 09:29 PM
Re: Start init file in hpux
init 0 - shutdown
init 1 - single user mode
init 2 - multi user and login process (needed) startup
init 3 - nfs + init 2
init 4 - custom based
init 5 - GUI + other function
init 6 - restart
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 09:32 PM
02-21-2006 09:32 PM
Re: Start init file in hpux
# man init
first.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 09:36 PM
02-21-2006 09:36 PM
Re: Start init file in hpux
http://docs.hp.com/en/B2355-90691/init.1M.html
_Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 09:48 PM
02-21-2006 09:48 PM
Re: Start init file in hpux
note that the HP-UX default runlevel is 3
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 09:52 PM
02-21-2006 09:52 PM
Re: Start init file in hpux
who -r
e.g.
# who -r
. run-level 3 Oct 8 05:32 3 0 S
Which may also indicate that run-level 4 processes were never executed.
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 09:54 PM
02-21-2006 09:54 PM
Re: Start init file in hpux
see also this interesting article:
http://hp.cso.uiuc.edu/projects/seminars/07-21-97.html
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 09:59 PM
02-21-2006 09:59 PM
Re: Start init file in hpux
very interesting.
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2006 10:46 PM
02-21-2006 10:46 PM
Re: Start init file in hpux
http://www.phildev.net/runlevels.html