Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

lpstat hangs on remote printers

Status
Not open for further replies.

kbeana

MIS
May 19, 2005
1
US
We had 2 remote printers pointing at different queues on the same PC. We set up a new PC with an updated version of the form printing software we're using, and set up 2 new remote printers. This was so we could test the new ones while still using the old ones, and eventually use the new ones while keeping the old ones as backup for a time.

The print jobs print just fine, no problems there.

The problem is when I do an lpstat to check the status of all printers. It hangs on these new remote queues for some reason and doesn't move past the last print queue to show the 2 remote queues on the bottom, or their status.

The old queues were ins4 and ptlinkup2. The new ones are named ins5 and plu. In smit they were set up identically to the old ones (other than variances in the name). Yet we never had this problem with the old queues!

If I do a lpstat -pplu or lpstat -ins5 it will show the status of those queus singly. But to view all printers in a list with lpstat does not work.

We hae AIX version 4.3
 
Is there possibly another printer defined which is giving you troubles?

Type

lsallq

and see which queues are defined.

does lpstat just hang indefinately? Or do you interrupt it after some time? I know remote queue status queries time out only after a very long period...


HTH,

p5wizard
 
remote queue status queries time out only after a very long period
The RFC standard is 3 minutes.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
well, if you have 100 or more remote queues and 5 or 6 lpstat's need to time out, most admin's won't wait around for 15 to 20 minutes for the lpstat report, and just hit ctrl-C...

Even 3 mins for just one lpstat is way too long if you're sitting at the screen waiting for the result...


HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top