- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HPUX/LP automatically disabling printers
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
Discussions
Discussions
Forums
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
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-11-2009 07:48 AM
тАО06-11-2009 07:48 AM
I have always known that HPUX/LP will occasionally have problems recovering if one of those printers goes off-line, runs out of paper, is power-cycled, etc, and I had a script that was running every 15 minutes or so to disable/enable those devices to make sure no print was backing up. Lately, the customer is reporting a much greater frequency of this problem, and they are reporting problems nearly every morning. I've had to modify my script to be faster when disabling/enabling these queues and now it runs every 3 minutes in cron!
I'm looking for any documentation or explanation for this kind of behavior, since the customer would like a root cause for the problem to see if the disable/enable script is the best solution. Any assistance anyone can provide would be greatly appreciated. Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2009 04:12 AM
тАО06-12-2009 04:12 AM
Re: HPUX/LP automatically disabling printers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2009 04:13 PM
тАО06-13-2009 04:13 PM
SolutionNow hpnpf has a lot of good debugging capability and can trace the activities performed during a print job. This will require a *lot* of log space but the end of the log (with a failed job) will be the most useful. You should also monitor the network with Wireshark. My guess is that you'll see a fairly sick network, especially using Wireshark. Until the network is fixed (firmware in routers, config settings for WAN interfaces, etc), the printers will continue to be disabled.
Also make sure that you have disabled True End Of Job and Job Recovery as these can be unreliable in a noisy network. Use modifyqueue to tunr these off:
modifyqueue -q some_prn -r off -t off
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 07:22 AM
тАО06-17-2009 07:22 AM
Re: HPUX/LP automatically disabling printers
Since I increased the frequency of our disable/enable script to re-initialize these printers, we have occasionally been seeing jobs get "stuck" in the queues and they start printing over and over until they are manually cancelled. Has anyone seen this behavior before? Is there any way to mitigate it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 11:11 PM
тАО06-17-2009 11:11 PM
Re: HPUX/LP automatically disabling printers
Pls. check this for hints :
/var/spool/lp/log
/var/spool/lp/lpana.log
/var/spool/lp/lpd.log
check /var/spool/lp/request/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2009 06:03 AM
тАО06-19-2009 06:03 AM
Re: HPUX/LP automatically disabling printers
This is most likely caused by the true end-of-job setting in conjuction with very bad network. It looks like things have gotten so bad that not even a single job completes succesfully and it gets reprinted. Check out the man page for hppi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2009 04:31 PM
тАО06-19-2009 04:31 PM
Re: HPUX/LP automatically disabling printers
modifyqueue -q
There are other options you can disable (or enable) with this 1-liner.
Bill Hassell, sysadmin