- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Printer queues on unix disabled and reported as en...
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
07-22-2011 08:43 AM
07-22-2011 08:43 AM
Printer queues on unix disabled and reported as enabled.
Hi , this is the issue that i have:
if i run the command:
lpstat -p | grep printer | grep -v enabled, i will get the printer queue is disabled..
i ran this command in June 28 2011,, for printer MYPRINTER1 i got:SERVER1
$ lpstat -p | grep MYPRINTER
printer MYPRINTER1 is idle. enabled since Feb 15 16:55
printer MYPRINTER3 is idle. enabled since Feb 15 16:55
printer MYPRINTER4 is idle. enabled since Feb 15 18:15
printer MYPRINTER5 is idle. enabled since Feb 15 16:55
printer MYPRINTER6 is idle. enabled since Feb 15 16:55
printer MYPRINTER7 is idle. enabled since Feb 15 16:55
SERVER1 $
There is a script running this command each 30 minutes since June 28, suddenly the scrpt reported today a queue was enabled:
SERVER1 $ more STAT.log
HOSTNAME CURRENT DATE QUEUE DISABLED SINCE ENABLED SINCE
server1 07/21/11_18:15 MYPRINTER4 Jul 4 17:45 - Jul 21 18:15
if i run the lpstat command as before:
SERVER1 $ lpstat -p | grep MYPRINTER
printer MYPRINTER1 is idle. enabled since Feb 15 16:55
printer MYPRINTER3 is idle. enabled since Feb 15 16:55
printer MYPRINTER4 is idle. enabled since Jul 21 18:15
printer MYPRINTER5 is idle. enabled since Feb 15 16:55
printer MYPRINTER6 is idle. enabled since Feb 15 16:55
printer MYPRINTER7 is idle. enabled since Feb 15 16:55
SERVER1 $
Why the queue of the printer MYPRINTER1 was enabled until today and not July 4 if the script is running from June 28 ?
I have had other cases where the queue is disaabled and immeditetly the queue is enabled through the script :
enabled queue_name_reported
Do you have any idea? Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2011 01:58 PM
07-22-2011 01:58 PM
Re: Printer queues on unix disabled and reported as enabled.
>Do you have any idea?
Not too many since we don't have your script nor know what happened at Jul 21 18:15.
Do you have automation to enable printers?
Does your script log changes? Or do you have a back up of STAT.log that shows that it was disabled after July 4 or enabled before July 21?