Solved

AIX - Printer down and prints are full in the queue

Posted on 2012-03-29
7
727 Views
Last Modified: 2012-06-21
I have a printer, when I run qchk -P PrinterName, it gives me a Status down, and has over 100 prints in its queued up. I tried to enable it, but that doesn't work. I check with the user and he says the printer says its on and in ready status. User can't print and I can't get the printer to come up...any help?
0
Comment
Question by:AIX25
  • 3
  • 3
7 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
Comment Utility
Is it a network printer? Can you ping it?

If you can ping it, can you reach the printer's user interface, if any? (Web, Telnet ...)

Which activation command did you use?

Did you try "qadm -U queuename"?

Do you get any error messages? errpt? syslog?

Did you reset the printer (power off/on)?
0
 
LVL 30

Assisted Solution

by:Kerem ERSOY
Kerem ERSOY earned 100 total points
Comment Utility
Hi,

Please run the command below to display status of all the queues.
      
# lpstat -W

Open in new window


Then find the queue which is down and and re-enable it. When there's an error such as printer down or something for so long time the queue will be down until manually brought up with this command:

# enable QueueName

Open in new window


Cheers,
K.



Cheers,
K.
0
 

Author Comment

by:AIX25
Comment Utility
Doc.docxIs it a network printer? Can you ping it?
No, can't ping it, not on the network. Its a remote printer.

If you can ping it, can you reach the printer's user interface, if any? (Web, Telnet ...)
No, can't reach the printer's ui. Only can can run remote commands to printer via telnet.

FYI...there is a printer master server, where we create all the local and remote printer queues.

Which activation command did you use?
I used, enable PrinterName

Did you try "qadm -U queuename"?
I just ran it, and didn't give me any outputs.

Do you get any error messages? errpt? syslog?
I have had this issue start a couple of days ago. When I first tried to enable it, it gave me an error (which I have attached the error), but has not since.


Did you reset the printer (power off/on)?
I just had the remote user turn it off and turn it now.
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:AIX25
Comment Utility
Are you experts giving up on me :) ?
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 400 total points
Comment Utility
You didn't tell us whether turning the printer off and on had any effect!

OK, seems it didn't help then.

I still think its not a problem of the spooling subsystem, I think it's related to the physical device or maybe to the network connection.

Anyway.

You could empty the whole queue (qcan -X queuename), make it ready and start submitting some small testjobs to see if it works.
Perhaps the job on top of the queue has some weird data in it, so it cannot be printed.

Which kind of printer attachment type is it? If it's not  "hpJetDirect"  you could try whether increasing the queue timeout would help.
I think we already disussed this option in an earlier thread.

The easiest way to change the timeout:

Edit /etc/qconfig, locate your queue's stanza and scroll a bit down to the next stanza
(the one usually starting with "@").
You should find this line there:

backend = /usr/lib/lpd/rembak

Change to

backend = /usr/lib/lpd/rembak -T30

to set a timeout of 30 minutes.

Issue "enq -d" to redigest the config file, make the queue ready and retry printing.
0
 

Author Comment

by:AIX25
Comment Utility
The issue ended up being that we somehow lost DNS resolution to the printer. Our master printer server could not longer see that printer. For temporary fix, I added to the host file (even though we don't like to use the host file, but its a good quick fix), then ran enable on the printer, and finally ran qcan -X -Pprintername to clear the queue. All is good with this printer now.
0
 
LVL 68

Expert Comment

by:woolmilkporc
Comment Utility
That's why I asked you in my very first comment:

"Is it a network printer? Can you ping it, ... can you reach the printer's user interface, if any? (Web, Telnet ...)"

You answered:

" ... can run remote commands to printer via telnet".

So I leaped to the conclusion that the printer was reachable by name, which was obviously not the case.

Thanks for the points!

wmp
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now