- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Remove a daemon at boot up
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-30-2003 07:16 PM
01-30-2003 07:16 PM
What is the proper/best practice to remove certain daemon that automatically runs at boot up?
thanks...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 07:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 07:28 PM
01-30-2003 07:28 PM
Re: Remove a daemon at boot up
At boot time, the processes start from /sbin/init.d/* scripts. There will be corresponding on|off files in /etc/rc.config.d/ directory if the vendors followed the correct procedure.
For ex., /etc/rc.config.d/nfsconf. If you make NFS_SERVER=1, then nfsd's will start, else they won't.
So, the best way is to edit the corresponding /etc/rc.config.d/config_file and disable the parameters in there.
If the /sbin/init.d/your_startup_script does not look in /etc/rc.config.d, then I would suggest to move the file as file.nostart under the same directory. So, the bootup will fail to find the file.
You can also disable startup by removing links in /sbin/rc?.d/Sxxx and Kxxx .
But if you need to put it back, you will need to recreate the links. So, I would recommend move the file under /sbin/init.d to file.nostart.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 07:29 PM
01-30-2003 07:29 PM
Re: Remove a daemon at boot up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 07:36 PM
01-30-2003 07:36 PM
Re: Remove a daemon at boot up
As others said, the good practice for adding applications to startup is have a configuration file in /etc/rc.config.d
so by setting a value to 0 in that for a proper daemon configuration file in /etc/rc.config.d should solve the problem.
To look which file that daemon has, look in /sbin/init.d
and if that doesn't work either remove the file S...in /sbin/rc2.d or rc3.d where ever this daemon starts to have a look see /etc/rc.log and you'll know which file corresponds to that particular daemon and then you can move that file to some other place.
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 09:39 PM
01-30-2003 09:39 PM
Re: Remove a daemon at boot up
1. make link file for start up and shutdown in /etc/rcXX.d
2.if file that create in number 1 need to check parameter you can add it in /etc/rc.config.d/
you can see example that already exist
/sbin/init.d/lp
/sbin/rc2.d/S720lp
/sbin/rc1.d/K280lp
/etc/rc.config.d/lp
bye
Punithan