- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Startup scripts not starting processes
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
05-16-2003 06:35 AM
05-16-2003 06:35 AM
Startup scripts not starting processes
TIA,
Rand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2003 06:38 AM
05-16-2003 06:38 AM
Re: Startup scripts not starting processes
In some cases you cannot use the script in /sbin/init.d, you must use the startup or kill script in the appropritae /etc/rc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2003 06:39 AM
05-16-2003 06:39 AM
Re: Startup scripts not starting processes
You will find the /etc/rc.config.d/lp and make sure it is set at 1. And for xntpd, you will find a file called /etc/rc.config.d/netdaemons with many variables inside of that file, including the XNTPD variable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2003 06:45 AM
05-16-2003 06:45 AM
Re: Startup scripts not starting processes
The '/sbin/rc' startup/shutdown mechanism sources (reads) files in '/etc/rc.config.d/' to collect variable which control whether or not a script in '/sbin/init.d/' will run or not.
This is the source (no pun intended!) of your problem. For example, '/sbin/init.d/lp' only executes if the environmental variable 'LP' has been set to '1' in '/etc/rc.config.d/lp'.
For a complete understanding of the startup/shutdown mechanism, have a look at this document:
http://docs.hp.com/hpux/onlinedocs/os/startup.pdf
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2003 07:15 AM
05-16-2003 07:15 AM
Re: Startup scripts not starting processes
More info...
We use a monitoring system called Big Brother and it is set up to monitor processes running on our machine among other things. On this particular machine it is showing lpsched as being down. Maybe I am wrong in thinking lp is what I need to be starting to get lpsched running. I can manually start it. Any thoughts?
Thanks again,
Randy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2003 07:21 AM
05-16-2003 07:21 AM
Re: Startup scripts not starting processes
lpshut
ps -ef | grep lpsched
If you see any processes, kill them.
cd /var/spool/lp
ls
if your see the files FIFO, CLD_FIFO, or SCHEDLOCK, remove them.
lpsched
The LP scheduler should now be running and should start on system boot as well with the rc.config.d setting as you indicated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2003 07:23 AM
05-16-2003 07:23 AM
Re: Startup scripts not starting processes
'/sbin/init.d/lp' indeed starts 'lpsched'. The condition is that the environmental variable 'LP' equals one (1) *and* that there is a file '/var/spool/lp/pstatus' whose size is greater than zero. Is that the case for your server?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2003 07:39 AM
05-16-2003 07:39 AM
Re: Startup scripts not starting processes
Thanks again,
Randy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2003 07:43 AM
05-16-2003 07:43 AM
Re: Startup scripts not starting processes
OL, then do this to correct:
# lpadmin -pnada -mdumb -v/dev/null
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2003 08:03 AM
05-16-2003 08:03 AM
Re: Startup scripts not starting processes
Randy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2003 10:25 AM
05-16-2003 10:25 AM
Re: Startup scripts not starting processes
Yes they are.
Reward these guys with some points.
Stuart