- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LP scheduler
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
02-07-2003 06:51 AM
02-07-2003 06:51 AM
LP scheduler
I??ve got a C3600 with HPUX11 and there are many printers in the lpspooler. The problem is every time I start with lpsched i get the message "scheduler is running". so far so good. But the scheduler dies immediately again. What??s the problem. Please help!
Many Thanks
carsten
p.s. Jetadmin is Rev 6.21
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 07:00 AM
02-07-2003 07:00 AM
Re: LP scheduler
Try removing the file '/var/spool/lp/SCHEDLOCK' and then restart with 'lpsched'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 07:00 AM
02-07-2003 07:00 AM
Re: LP scheduler
What is the latest patch set you have?
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 07:13 AM
02-07-2003 07:13 AM
Re: LP scheduler
This looks like a /var/spool/lp inconsistente (i.e. an accidental file/dir deletion inside)
Pls check that /var/spool/lp/SCHEDLOCK exist, if not try to touch it with 540 file premission an lp:lp owner. Also check if when you run lpsched again this file keep on, if not a file/dir deletion have happened in /var/spool/lp!
In this case try to restore from a previous system backup this /var/spool/lp dir.
If you have a saved copy of your last working spool configuration (SAM/Printers and Plotters/LP Spooler/Save-Restore Spooler Configuration) you just need run de following command:
/usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp
After run this, your last spool configuration commonly saved in "/var/sam/lp" will be retored entirely into /var/spool/lp dir.
Rgds.
- Tags:
- lpmgr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 07:19 AM
02-07-2003 07:19 AM
Re: LP scheduler
1. Bring the scheduler down (even if it does not seem to be running)
lpshut
2. If lpshut is working correctly, the files /var/spool/lp/FIFO and /var/spool/lp/SCHEDLOCK. If these files still exist, remove them.
rm /var/spool/lp/FIFO
rm var/spool/lp/SCHEDLOCK
3. Clear the outputq file.
> outputq
4. Kill any lpsched processes that may be reported by: ps -ef | grep lpsched
5. Restart the scheduler.
lpsched
6. Verify that it is running:
ps -ef | grep lpsched lpstat -t | more NOTE: The first line should report the status of the scheduler.
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 07:23 AM
02-07-2003 07:23 AM
Re: LP scheduler
Rainer is correct but if this is not enough try lpsched -v and look in /var/adm/lp/log for info.
Maybe a corruption somewhere
steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 07:27 AM
02-07-2003 07:27 AM
Re: LP scheduler
About /var/spool/SCHEDLOCK just delete it, and if doesn't work try to follow my previous recommendations to restore /var/spool/lp dir
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 08:28 AM
02-07-2003 08:28 AM
Re: LP scheduler
The logfiles are empty and dmesg said also nothing. And I don??t have a functional backup. Any ideas?
Thanks
carsten
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2003 08:45 AM
02-07-2003 08:45 AM
Re: LP scheduler
You noted that the scheduler "dies". Do you mean that:
# 'ps -ef|grep lpsched|grep -v "grep lpsched"'
...returns nothing?
Too, make sure that /etc/hosts, /etc/resolv.conf and /etc/nsswitch.conf are readable by everyone (permissions and ownership = 444 bin:bin).
Regards!
...JRF...