- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lpsched not running
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
06-15-2004 08:55 PM
06-15-2004 08:55 PM
I've been installing kernel patches on an HP-UX 11.0 server.
A check of Big Brother shows that the lpsched process is not starting automatically. I've looked in /etc/rc.log and it is starting to run the process but then comes up with the message "/sbin/rc2.d/S720lp start" SKIPPED, without any explanation as to why it's skipped.
Running the command manually works.
I have got a good ignite backup, but I've installed so many patches I'd rather not resort to that. Any ideas?
Mark Syder (like the drink but spelt different)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 08:57 PM
06-15-2004 08:57 PM
Re: lpsched not running
I'm nowhere near an hpux box at the moment but this would suggest to me that there is an /etc/rc.config.d/lpsched or something file that is saying "don't start the scheduler".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 08:59 PM
06-15-2004 08:59 PM
Re: lpsched not running
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 09:01 PM
06-15-2004 09:01 PM
Re: lpsched not running
How is your /etc/rc.config.d/lp set up?
# @(#) $Revision: 72.3 $
# LP spooler configuration
#
# LP: Set to 1 to start LP spooler
#
LP=1
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 09:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 09:04 PM
06-15-2004 09:04 PM
Re: lpsched not running
Yes, that's exactly what the file looks like. I've compared it with the same file on a working server as well - it's exactly the same.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 09:08 PM
06-15-2004 09:08 PM
Re: lpsched not running
The /etc/rc.config/* files are all sourced. could it be that there is an other file in there that
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 09:08 PM
06-15-2004 09:08 PM
Re: lpsched not running
/sbin/rc2.d/S720lp
With a working one, perhaps it's looking at the wrong config file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 09:09 PM
06-15-2004 09:09 PM
Re: lpsched not running
In /etc/services make sure the line is uncommented:
printer 515/tcp spooler #remote print spooling
In /etc/inetd.conf make sure the line is uncommented:
printer stream tcp nowait root /usr/sbin/rlpdaemon rlpdaemon -i
Best regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 09:15 PM
06-15-2004 09:15 PM
Re: lpsched not running
if you look at /sbin/init.d/lp, then you see that lpsched is only started "if [ "$LP" -eq 1 -a -s /var/spool/lp/pstatus ]".
So I would guess that /var/spool/lp/pstatus is either not existing or 0 bytes in size. This means that lpsched is only started if there is at least one printer configured.
So, maybe there's no printer configured on this system? :-)
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 09:20 PM
06-15-2004 09:20 PM
Re: lpsched not running
Pls chk if SCEDLOCK or FIFO files are into /var/spoo/lp. In this case you could have an inconsistence in the /var/spool/lp/request/ tree structure, where eah printer defined must have your corresponding directory.
If you have a previous spool copy from SAM just restore it. A good preventive task is make periodically in SAM/Printers and Ploters/LP Spooler/Save-RestoreSpooler Configuration/Action/Save Spooler Configuration
When you need restore this configuration just select Restore Spooler Configuration in same path showed above.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2004 10:21 PM
06-15-2004 10:21 PM
Re: lpsched not running
Full marks to Ravi.
How embarrassing - this is a test server that I'm preparing for live. It's probably never had lpsched running and we've only just noticed.
Thanks for all the suggestions.
Mark