- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- All scripts available in /etc/rc2.d is running run...
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
06-02-2009 10:44 AM
06-02-2009 10:44 AM
I am new to hpux.
Previously i used linux (redhat and suse) only.
In linux, six runlevels are available.
scripts available in one runlevel(Ex: runleve12 - /etc/rc.d/rc2.d) will not run when we are booting with another runlevel (Ex: runlevel3 - /etc/rc.d/rc3.d).
Now i am using hpux. in that my default runlevel is 3. But all the scripts available in runlevel 2 (/etc/rc.d/rc2.d) is executed.
I can see this from "/etc/rc.local"
Pls explain me.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 10:48 AM
06-02-2009 10:48 AM
SolutionWe have been over this topic before. You NEED TO READ:
http://docs.hp.com/en/934/startup.pdf
and/or:
http://docs.hp.com/en/B2355-60130/rc.1M.html
There is no '/etc/rc.local' in HP-UX.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 10:53 AM
06-02-2009 10:53 AM
Re: All scripts available in /etc/rc2.d is running runlevel 3 also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 11:14 AM
06-02-2009 11:14 AM
Re: All scripts available in /etc/rc2.d is running runlevel 3 also.
> sorry James, it is /etc/rc.log
OK, yes, that is the log of your startup events. Nevertheless, if you take the time to read the documentation I cited, you will see that during startup everything through the ending run-level (usually 3) is executed in sequence.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 11:24 AM
06-02-2009 11:24 AM
Re: All scripts available in /etc/rc2.d is running runlevel 3 also.
As per you, all the scripts available in all three runlevels will be executed when we are booting thru runlevel 3 (including runlevel 3 files)?
Ok when we are using /etc/rc.config.d to configure some services to start at booting. To which runlevel this changege goes?
pls explain me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 11:28 AM
06-02-2009 11:28 AM
Re: All scripts available in /etc/rc2.d is running runlevel 3 also.
> when we are using /etc/rc.config.d to configure some services to start at booting. To which runlevel this changege goes?
That depends on the '/sbin/rc?.d/' directory.
All of these questions are easily answered if you will just take the time to read the short, whitepaper I cited at the onset of this thread! It even has nice diagrams!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 11:48 AM
06-02-2009 11:48 AM
Re: All scripts available in /etc/rc2.d is running runlevel 3 also.
1) He *didn't* say that.
2) Read the doc cited.
3) Read the relevant man page(s)
In which you will find that when transitioning from one runlevel to another, each intervening runlevel is cycled through. On boot to runlevel 3, the scripts for runlevel 1 would process, followed by the scripts for runlevel 2, then 3.
"Ok when we are using /etc/rc.config.d to configure some services to start at booting. To which runlevel this changege goes?""
at which runlevel you need to start them depends on when *you* want them run, and what they require when they do run. Any dependencies on other services, such as networking?.
Without knowing what "services" you are referring to, no blanket answer can be provided.
When you do read the man pages, pay close attention to the "naming" conventions used with start-up and kill scripts, as well as where to locate each.
oh yeah....would you quit citing how linux does it (as it is relevant to the OS at hand)?