- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lpsched / lpshut problem
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
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
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
08-09-2002 01:39 AM
08-09-2002 01:39 AM
lpsched / lpshut problem
I've the following problem..
I've stopped the print scheduler and, when I try to re-start it, I've the following error message :
lpsched:scheduler already running... and in this way the scheduler doesn't work.
I try to start the print scheduler using lpsched (and to stop it lpshut) and I try to start the print scheduler using SAM, too.
Is anydoby there that have any idea to solve this problem and re-start the scheduler in the correct way?
Thanks in advance for your help and your support.
Luca
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 01:52 AM
08-09-2002 01:52 AM
Re: lpsched / lpshut problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 01:53 AM
08-09-2002 01:53 AM
Re: lpsched / lpshut problem
try to remove the /var/spool/lp/SCHEDLOCK file before running lpsched.
Regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 03:37 AM
08-09-2002 03:37 AM
Re: lpsched / lpshut problem
If this file exists, lpsched can't be start! You must remove it manually.
-Gerald-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 03:59 AM
08-09-2002 03:59 AM
Re: lpsched / lpshut problem
lpshut sends a simple terminate signal to all the components (lpshed and children) so if a print process is hung up on I/O, the signal won't be seen. Make note of the printers mentioned in the hung lp jobs and then kill them, starting with kill -15, then kill -2 and then kill -1, and finally kill -9 (last resort) for each lp process left after lpshut.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 06:53 AM
08-09-2002 06:53 AM
Re: lpsched / lpshut problem
Then go to /var/spool/lp and check for a file called SCHEDLOCK.
If it's there remove it and issue the lpstart command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 07:00 AM
08-09-2002 07:00 AM
Re: lpsched / lpshut problem
Do a ps -ef | grep lp and kill the proceeses associated with the same.
cd /usr/spool/lp
rm FIFO
rm CHDLCK
then lpshced should do the trick
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 07:39 AM
08-09-2002 07:39 AM
Re: lpsched / lpshut problem
Once you have shutdown the scheduler, check if there is another lp process running. If there is another lpsched process, try shutting down the scheduler once again. If this does not work, kill the lpsched process. Then from the /usr/spool/lp directory delete the SCHEDLOCK and FIFO file and see if the lpstat still shown the scheduler as running. If not restart the scheduler.
/usr/lib/lpshut to shut the spooler
/usr/lib/lpsched to start the spooler.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 10:04 AM
09-12-2002 10:04 AM
Re: lpsched / lpshut problem
Just a reminder to give points out to those who answered your questions. It only takes a moment, and helps make the forums more useful to everyone.
Sean