- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Software for managing /sbin/rc*.d
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
01-05-2001 02:51 AM
01-05-2001 02:51 AM
Do you know of a good software for managing the links in /sbin/rc*.d? A tool that would allow the user to read the related start_msg & stop_msg and to easily add/remove links?
TIA, Jerome
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2001 03:10 AM
01-05-2001 03:10 AM
Re: Software for managing /sbin/rc*.d
The management of the startup/shutdown script directories is straighforward. I don't know of any "tool" to do what you ask. By design, the nomenclature of the files gives you the knowledge of what's linked to what. Execution scripts reside in /sbin/init.d/. Configuration scripts live in /etc/rc.config.d/ with a filename that equals that of the script they configure. Lastly, the links reside in /sbin/rc*.d/.
The start/stop messages are posted to /etc/rc.log at runtime.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2001 03:16 AM
01-05-2001 03:16 AM
Re: Software for managing /sbin/rc*.d
I never heard about a program doing what you want. /sbin/rc*.d scripts are quite easy to maintain as the starting sequence is well defined and documented.
Could you explain exactly what you are looking for?
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2001 03:38 AM
01-05-2001 03:38 AM
Re: Software for managing /sbin/rc*.d
It would be great if SAM could do it, wouldn't it?
Jerome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2001 04:46 AM
01-05-2001 04:46 AM
Re: Software for managing /sbin/rc*.d
my 2 cents:
All those scripts are executed in sequence.
So, from directory sbin, executing 'ls -l rc?.d/S*' will list all the scripts as they are supposed to be run (in chronological order).
A small for loop like
for i in /sbin/rc?.d/S*
do
grep "echo \"Start" $i
done
will give the start messages of those scripts.
Unfortunately for you, some variables set in /etc/rc.config.d/* are controlling if the script runs or not, so it's not that simple.
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2001 09:33 AM
01-05-2001 09:33 AM
Re: Software for managing /sbin/rc*.d
I think your right about a tool would be nice to help manage these systems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2001 10:03 AM
01-05-2001 10:03 AM
Re: Software for managing /sbin/rc*.d
1. DEPENDANCIES. At install time, dependancies are handled properly. Lets assume that you did not know that NIS should be started prior to NFS Client. Well each time you booted you'd have to stop and start the automounter. Many people do not understand the dependancies of a system.
2. SHUT OFF WHAT? If you dont know what you can turn off, it's best not to play around with these files! Some user may think turning off inetd is a good idea.....
Personally I think that the advantage of /etc/rc.config.d does away with the need for a GUI to pick and reposition run at boot scripts. IRIX has a similar directory, but really suck as far as everything else goes.
If you get into the habit of using the /etc/rc.config.d/config files you dont have to delete and re-create links in /sbin/rc*.d, you just shut the service off.
This saves alot of re-installing later if something/someone screws up!
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2001 10:46 AM
01-05-2001 10:46 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2001 11:18 AM
01-05-2001 11:18 AM
Re: Software for managing /sbin/rc*.d
In fact I had already installed Webmin on our HP-UX boxes but I didn't know that it could do it.
Unfortunately it does not class the services by run-level.
Good week, Jerome