- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Stopping service startup during boot time
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
тАО07-16-2002 12:29 AM
тАО07-16-2002 12:29 AM
which is the command to do if i want to stop a service during boot time?
This can be useful if a service cannot start (as NFS...) and it takes too much time to give the FAIL message without proceding with the boot.
Thanks a lot
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2002 12:33 AM
тАО07-16-2002 12:33 AM
Re: Stopping service startup during boot time
I hope you are talking about HP-UX server.
You can goto /sbin/init.d directory.
You can stop and start the files here
eg:
#cd /sbin/init.d
# ./nfs.client stop
killing nfsd
killing rpc.mountd
killing rpc.lockd
killing rpc.statd
starting NFS SERVER networking
starting up the rpcbind daemon
rpcbind already started, using pid: 537
starting up the mount daemon
/usr/sbin/rpc.mountd
starting up the NFS daemons
/usr/sbin/nfsd 15
starting up the Status Monitor daemon
/usr/sbin/rpc.statd
starting up the Lock Manager daemon
/usr/sbin/rpc.lockd
killing biod
killing automount
Also, you can find information about it in the /etc/rc.log file.
-Sukant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2002 12:36 AM
тАО07-16-2002 12:36 AM
Re: Stopping service startup during boot time
i am talking about HP-UX.
But I am referring to stop it's startup when i am at boot time and it cannot start: i want avoid waiting for all the time it try to start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2002 12:41 AM
тАО07-16-2002 12:41 AM
Re: Stopping service startup during boot time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2002 12:44 AM
тАО07-16-2002 12:44 AM
Re: Stopping service startup during boot time
Then you need to look into the /sbin/rc2.d directory.
Usually, if I dont want to start a script, then I rename the start script with lowercase letters.
#cd /sbin/rc2.d
#mv S337hpapa s337hpapa
#mv S343hplm s343hplm
This will stop the process from starting during boot.
The /sbin/rc2.d directory contains files which are linked to /sbin/rc.d directory. When a file starts with letter "S" it is started during booting. And when a file starts with letter "K" it is halted during shutdown.
Check the manpages too.
-Sukant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2002 12:49 AM
тАО07-16-2002 12:49 AM
Re: Stopping service startup during boot time
it's ok, but what you are saying is valid if the boot is termined succsefully.
My problem is that boot takes much time (2 hours...) because NFS cannot start; which is the key combination to press in order to stop this NFS infitite starting and continue with boot?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2002 12:58 AM
тАО07-16-2002 12:58 AM
SolutionIf your question is specific to NFS then you need to do a little tweaking of the file /etc/rc.config.d/nfsconf
Here there are parameters like NFS_CLIENT, NFS_SERVER which can be set to 0 (zero), so as to disable making your server as nfs server or an nfs client.
Also, you can break the boot process from the console, by pressing the Break key on the top-left side of your console keyboard.
-Sukant
-Sukant