- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rc scripts
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-13-2007 03:48 AM
02-13-2007 03:48 AM
rc scripts
Could you please provide some information about rc scripts? When a server reboot happens, will they automatically start the applications?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2007 03:51 AM
02-13-2007 03:51 AM
Re: rc scripts
The process is well explained in the rc man pages. Do a "man rc".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2007 04:02 AM
02-13-2007 04:02 AM
Re: rc scripts
Review this thread - it has several useful doc's in it that explain the start/stop process
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=999630
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2007 04:02 AM
02-13-2007 04:02 AM
Re: rc scripts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2007 04:07 AM
02-13-2007 04:07 AM
Re: rc scripts
Hello:
A little description:
"
The job of the sequencer script /sbin/rc is to invoke the individual startup scripts in
/sbin/init.d/. However, /sbin/rc does not invoke these scripts directly, but rather
through a series of symbolic links (Execution Script Links) in the /sbin/rc?.d/ directories.
For example, if your system is booting to run level 3 (invoking all services, including CDE),
then /sbin/rc will invoke all the scripts (symbolic links) in the /sbin/rc2.d/, and
/sbin/rc3.d/ directories."
"The names of these links in /sbin/rc?d/ directories begin with a K or an S. /sbin/rc will
invoke the ones that begin with a K using the 'stop' parameter and the ones that begin with an
S using the 'start' parameter. /sbin/rc does not really care about the serial numbers in the
link names after the K or S; they are there so that you can configure the order in which the
scripts are run, since they run in alphanumeric order. If you don't care when your software
starts, use serial number 900 for an S file and 100 for a K file, which are guaranteed not to conflict with existing serial numbers."
I hope it helps
Regards