- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Printers disabling automatically
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
тАО09-03-2008 05:44 PM
тАО09-03-2008 05:44 PM
Re: Printers disabling automatically
Thanks for the responses.
Santhosh,
As you suggested, there are lots of lpsched running and I have suspected this could be the problem and applied the patches, mentioned in the question.
But it looks, like effective was only for few days. Again the same issue happening. Secondly, all printers are alive 24hrs. When user says, print queue disabled, I can see the printer visible from network. So, this is not printer side issue, I believe. It must be lpsched issue.
Today early morning, I have done a following testing.
1. Shutdown the spooler
2. Started the spooler with -v option. i.e. #lpsched -v
This is because, once the spooler restarted, the problem won't come immediately. If it happens again, there could be much good information in /var/adm/lp/log file for further troubleshooting.
Let me see, how this is going to be worked out. Anyway, I am giving a low priority of cron job scheduling for this issue.
Some curiosity to investigate, why this happens. That's it.
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2008 04:12 PM
тАО09-05-2008 04:12 PM
Re: Printers disabling automatically
After restarting the spooler with -v option, I have found following error in the log file.
Parsing PJL: ecounter unexpected bytes
Parsing PJL: ecounter unexpected bytes
Parsing PJL: encounter PJL error
What is this error means? How can it be rectified? Could this be the real cause?
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2008 05:22 PM
тАО09-05-2008 05:22 PM
Re: Printers disabling automatically
folloiwng commands shows the supported formats like PDF/PJL/PS etc.
hpnpadmin -i IPADDRESSOFQ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2008 07:24 PM
тАО09-06-2008 07:24 PM
Re: Printers disabling automatically
Thanks for the response.
I am not sure, this error related to any specific printer. After restarting the spooler with -v option, I can see this error intermittently in /var/adm/lp/log file.
When I searched with this in google, some of the ITRC forums says, it may be driver mismatch or driver related. If it is driver related, I have one question.
How can I find what are the printer drivers/scripts installed in the server? Because, we creates printer in one server and it replicates to others through a cron schedule.
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2008 11:09 AM
тАО09-07-2008 11:09 AM
Re: Printers disabling automatically
will list the drivers installed on the system. You may have to check the exact path for addqueue .
[/root] /opt/hpnpl/bin/addqueue -l|wc -l
82
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2008 04:58 PM
тАО09-07-2008 04:58 PM
Re: Printers disabling automatically
Thanks for the response.
I found the following one, when the printer goes disable state.
#lpstat -pWSTPRT27
printer WSTPRT27 disabled since Sep 3 10:31 -
error 1 returned
fence priority : 0
What is this error1 returned? This will be resolved, when I apply enable command.
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2008 10:22 PM
тАО09-07-2008 10:22 PM
Re: Printers disabling automatically
have u restarted spooler?
have u deletede all stuck jobs in queue?
have u enable the printer using enable? command and it got enable?
If the answer is yes for all above question ur printer is having some hardware problem. please check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2008 12:25 AM
тАО09-08-2008 12:25 AM
Re: Printers disabling automatically
I found one interesting info.
As I earlier said, we creates printer in one server and it replicates. The print server is HP-UX 11i and the problematic server is HP-UX 11iv2. Also, the problem reports on all remote printers. I have found that, the script using in HP-UX 11iv2 is HP-UX 11i. I think, this might be the root cause to give "error return 1". Engaged with HP Solution Center team.
Let's see, what they can suggest. Also, all other servers, replicating this printer, has the version same as the print server. So, no issues from that servers.
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2008 10:23 AM
тАО09-08-2008 10:23 AM
Re: Printers disabling automatically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2008 12:29 PM
тАО09-08-2008 12:29 PM
Re: Printers disabling automatically
# /usr/sam/lbin/lpmgr -l > /tmp/lp.lst
# grep :no: /tmp/lp.lst
oakact01:remote:no:yes:oakact01_lj4k on 192.x.x.x:0: :
(printer is intentionally disabled )
lpmgr is your friend...
- Tags:
- lpmgr