- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to remove printjobs from 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
11-26-2007 01:04 AM
11-26-2007 01:04 AM
Unable to remove printjobs from scheduler
We have a user printing to an aficio2090, the user has been unable to print to the printer, it is online and I've been able to telnet onto printserver - everything looks ok for it. I noticed quite a few old print jobs in the queue so I removed them using cancel. However,I am still seeing 10 jobs in the queue, I've tried cancelling them, but they still appear. I stopped (lpshut) and restarted the scheduler
(/usr/sbin/lpsched) but these jobs won't go. I've looked in the /var/spool/lp/request queue for this printer and it is empty.
I have just sent another print job to this printer and it went from the queue and shows in /var/spool/lp/log, however I can still see it in /var/spool/lp/request/printer2. I also checked to see if there were any errors on the print server and I see the following:
#[lpd(45)]07/11/26 13:39:35 Job Entry Failed. ERR:
#[lpd(45)]07/11/26 13:39:35 application not connected.
Does anyone know how I can remove these spurrious print requests and get the printer working?
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2007 04:33 AM
11-26-2007 04:33 AM
Re: Unable to remove printjobs from scheduler
cancel -e
Also, what is output of:
lpstat -p
Where
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2007 11:45 AM
11-26-2007 11:45 AM
Re: Unable to remove printjobs from scheduler
I have seen similar scenario and it often happen when the end to end communication is broken.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2007 02:09 PM
11-26-2007 02:09 PM
Re: Unable to remove printjobs from scheduler
Please update this patch too.
PHCO_36440 11.23 lpspool cumulative patch
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2007 07:12 PM
11-26-2007 07:12 PM
Re: Unable to remove printjobs from scheduler
I tried cancel -e printer2 but the print requests still remained.
The output of lpstat -p printer2 -v printer2
showed the printer status as being online, then the list of print requests, then it showed the printer being off-line and the same print requests.
I can ping the printer ok, and telnet onto the printserver, when I look in the logs on the printserver I see the following:
#[lpd(45)]07/11/27 08:02:57 Job Entry Failed. ERR:
#[lpd(45)]07/11/27 08:02:57 application not connected.
I have removed the printer - the jobs went, and I have recreated it through sam, I've just tried a test print and it is still in the queue, however it did show in /var/spool/lp/log. But it hasn't printed and the printerserver is still showing error message listed above.
This printer has been working previously - its not a newly added printer the user has another 2 of these printers and they are working fine.
I'll install the patch, but if anyone has any other ideas it would be greatly appreciated.
Many thanks - points on the way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2007 07:23 PM
11-26-2007 07:23 PM
Re: Unable to remove printjobs from scheduler
Please check the connectivity from the OS to printer,double check the printer is online ,enable the printer.
#enable queuename
If your printer is installed on jetdirect box then use the below command to check the settings
#/opt/hpnpl/admin/hppi -- to check the printer conf
Thanks,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2007 07:29 PM
11-26-2007 07:29 PM
Re: Unable to remove printjobs from scheduler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2007 08:11 PM
11-26-2007 08:11 PM
Re: Unable to remove printjobs from scheduler
I cancelled the printjob that was stuck in the queue and got the user to powerdown the printer for a few minutes. I removed and recreated the printer, it is now printing fine.
I'm going to install the patch just as a precaution, but so far so good!
Thanks for everyone's responses - points on the way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2007 08:15 PM
11-26-2007 08:15 PM