- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lpstat hangs on systems utilizing remote print...
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
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
тАО08-23-2000 08:13 AM
тАО08-23-2000 08:13 AM
lpstat hangs on systems utilizing remote printers
Printing works fine, but lpstat commands hang as they try to return the status of these printers. This happens even when the printers are availble on the network, not just when the PCs which the printers are attached to are turned off.
Is there any work around for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2000 08:20 AM
тАО08-23-2000 08:20 AM
Re: lpstat hangs on systems utilizing remote printers
s700_800 10.20 lpspool subsystem cumulative patch(PHCO_18779)--for HP_UX 10.20
or
s700_800 11.00 lpspool subsystem cumulative patch(PHCO_19484)--for HP-UX 11.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2000 08:26 AM
тАО08-23-2000 08:26 AM
Re: lpstat hangs on systems utilizing remote printers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2000 08:41 AM
тАО08-23-2000 08:41 AM
Re: lpstat hangs on systems utilizing remote printers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2000 08:44 AM
тАО08-23-2000 08:44 AM
Re: lpstat hangs on systems utilizing remote printers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2000 08:58 AM
тАО08-23-2000 08:58 AM
Re: lpstat hangs on systems utilizing remote printers
You can do a strings on /var/spool/lp/pstatus and If you are getting garbled text etc back then it is most likely corrupt. You should look at outputq and qstatus also in that directory using the same method.
If this is the case and you only have a few printers you may have to clear the corrupt file and recreate the printers. Or if you saved the spooler config in SAM you can go back and get restore it. Also a backup may have a clean copy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2000 10:03 AM
тАО08-23-2000 10:03 AM
Re: lpstat hangs on systems utilizing remote printers
the error that finally returns, after about 3 minutes, is "the printer_name is down".
I'm lookiing for a possible solution which will allow the lpstat command to return quicker (whether the printer is actually up or down), so it doesn't appear "hung" within our application which uses it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2000 10:35 AM
тАО08-23-2000 10:35 AM
Re: lpstat hangs on systems utilizing remote printers
Is DNS involved in the setup of the remote printers -- i.e. did you build the remote printers specifying an IPADDRESS or a DNS name?
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2000 11:21 AM
тАО08-23-2000 11:21 AM
Re: lpstat hangs on systems utilizing remote printers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2000 02:03 PM
тАО08-23-2000 02:03 PM
Re: lpstat hangs on systems utilizing remote printers
You can stop lpstat from doing this by supplying the -t flag (I think) try man lpstat. I always use 'lpstat -i -t' personally because of this behaviour.
It may also be possible to remove the configuration of the hook scripts that get configured when you create a remote (rlp) printer with SAM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2000 02:23 PM
тАО08-23-2000 02:23 PM
Re: lpstat hangs on systems utilizing remote printers
The -t flag for lpstat does not skip this behavior, though. I'm not sure about the -i that John mentioned, I'll have to go look that up. I use -t to view all printers on the system, but at the end it polls the individual queues, so you end up with the same problem (and a very long wait if you have more than 1 printer with the same behavior, as each will delay in turn).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2000 02:32 PM
тАО08-23-2000 02:32 PM
Re: lpstat hangs on systems utilizing remote printers
It must be the -i flag then that stops it. I haven't got the man pages available at the moment so I couldn't check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2000 01:26 PM
тАО08-24-2000 01:26 PM