- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: RC script details
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
Discussions
Discussions
Discussions
Forums
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
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-18-2007 02:36 AM
тАО01-18-2007 02:36 AM
RC script details
HOw to check the follwoing daemons are running or not in the system.hp-ux 11.11 i v1 9000/800 servers:-
Printer daemon, nfs.server, nfs.client, mail daemon , nfs.core, vt, ptydaemon, graphical login, snmp, rbootd
Also tell me from where we can stop this daemons so that thy can not be start at boot time...
What about the rc scripts from where we can find out this details. our system is running in run level 3.
Thanks & rgeards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2007 02:42 AM
тАО01-18-2007 02:42 AM
Re: RC script details
To prevent startup, modify the scripts in /etc/rc.config.d
Example, for NFS, set the variables to 0 in nfsconf:
Instead of:
NFS_CLIENT=1
NFS_SERVER=1
Put:
NFS_CLIENT=0
NFS_SERVER=0
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2007 02:45 AM
тАО01-18-2007 02:45 AM
Re: RC script details
check the /etc/rc.log for which script starts which daemon.
or
run your greps against files in /sbin/init.d/
Modify the script in the /sbin/rc?.d directories.
Take care when disabling your daemons. No NFS ? No snmp ?
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
So far you have not awarded any points !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2007 02:45 AM
тАО01-18-2007 02:45 AM
Re: RC script details
You control the 'rc' scripts my editing the appropriate file in '/etc/rc.config.d/'. The variables in these scripts control the scripts run by in '/sbin/init.d/'. The sequence of the running is in turn controlled by the ordering of symbolic links in each run-level directory. For run-level three (3) that directory would be '/sbin/rc3.d/'.
The man pages for 'rc(1M)' offer a concise explanation of the paradigm. You can also read the excellent whitepaper:
http://docs.hp.com/en/934/startup.pdf
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2007 02:49 AM
тАО01-18-2007 02:49 AM
Re: RC script details
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2007 02:55 AM
тАО01-18-2007 02:55 AM
Re: RC script details
# UNIX95=1 ps -o pid= -C
will return the pid of
Per your question, substitute the following for
* lpsched
* nfsd
* sendmail
* ptydaemon
* xfs
* snmpdm
* rbootd
rc script configuration is done through config files in /etc/rc.config.d. Run level based starting/killing is handled by symlinks in /sbin/rc?.d/ to init scripts in /sbin/init.d/.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2007 05:45 PM
тАО01-19-2007 05:45 PM
Re: RC script details
I have checked the alll the daemons and found all are disavbled in r.config.d confg. file but they are running in rc scripts...
Please let me know from where i can rate your replies.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2007 07:06 PM
тАО01-19-2007 07:06 PM
Re: RC script details
even if the scripts exists in the rc directories, the values set in the corresponding files in /etc/rc.config.d/ dictates whether they will be started or not.
Please find attached one interesting document which explains how this works. (nb. even if the document is old, the concept is still valid)
hope this helps too!
kind regards
yogeeraj
PS.
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.