HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Printer problem
Operating System - HP-UX
1832511
Members
4871
Online
110043
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
09-20-2006 11:08 PM
09-20-2006 11:08 PM
Hi All, I have a printer problem in one of my server.
This is using hpux 11:00. I am getting 3 status information for the same printer as shown below.
hp9w1606:/root : lpstat -t | grep bel4
Qbel4 accepting requests since Sep 15 12:47
Qbel4 not accepting requests since Sep 19 07:46 -
Qbel4 not accepting requests since Sep 21 11:42 -
printer Qbel4 is idle. enabled since Sep 15 12:47
printer Qbel4 disabled since Sep 19 07:46 -
printer Qbel4 disabled since Sep 21 11:42 -
Also I am not able to remove this printer .
I removed from the server all the files related to printer queue on the following locations.
etc/lp/interface/model.orig/Qbel4
/etc/lp/interface/Qbel4
/etc/lp/member/Qbel4
/var/spool/lp/request/Qbel4
Removeing using "removequeue" command was saying that printer does not exist.
Please advise.
Thanks in advance
S.O
This is using hpux 11:00. I am getting 3 status information for the same printer as shown below.
hp9w1606:/root : lpstat -t | grep bel4
Qbel4 accepting requests since Sep 15 12:47
Qbel4 not accepting requests since Sep 19 07:46 -
Qbel4 not accepting requests since Sep 21 11:42 -
printer Qbel4 is idle. enabled since Sep 15 12:47
printer Qbel4 disabled since Sep 19 07:46 -
printer Qbel4 disabled since Sep 21 11:42 -
Also I am not able to remove this printer .
I removed from the server all the files related to printer queue on the following locations.
etc/lp/interface/model.orig/Qbel4
/etc/lp/interface/Qbel4
/etc/lp/member/Qbel4
/var/spool/lp/request/Qbel4
Removeing using "removequeue" command was saying that printer does not exist.
Please advise.
Thanks in advance
S.O
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2006 02:12 AM
09-21-2006 02:12 AM
Solution
Your pstatus file is corrupted. Unfortunately, you'll have to record a list of all your current printers, then delete all your printers, zero the pstatus and qstatus files in /var/spool/lp, then add the printers back again. pstatus and qstatus are binary files so they can't be edited.
Bill Hassell, sysadmin
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2006 08:12 PM
09-21-2006 08:12 PM
Re: Printer problem
Thanks a lot Bill.
Would that be fine if I restore it from my old backup?
Thanks
s.o
Would that be fine if I restore it from my old backup?
Thanks
s.o
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2006 01:30 PM
09-22-2006 01:30 PM
Re: Printer problem
> Would that be fine if I restore it from my old backup?
Sure, but what do you mean by "it"? The pstatus file is corrupted but it may have become that way because of recent changes made to the spooling directories. You could try restoring just pstatus but it must be from a backup when the spooler was working correctly. But if changes were made after that time (add/delete a printer) then pstatus would be out of sync with the current system.
The alternative is to replace all of the spooling directories from your backup tape:
/var/spool/lp
/usr/lib/lp
/etc/lp
Just make sure that the lp spooler was working correctly at the time you made the backup.
Bill Hassell, sysadmin
Sure, but what do you mean by "it"? The pstatus file is corrupted but it may have become that way because of recent changes made to the spooling directories. You could try restoring just pstatus but it must be from a backup when the spooler was working correctly. But if changes were made after that time (add/delete a printer) then pstatus would be out of sync with the current system.
The alternative is to replace all of the spooling directories from your backup tape:
/var/spool/lp
/usr/lib/lp
/etc/lp
Just make sure that the lp spooler was working correctly at the time you made the backup.
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP