Adding print queue in AIX

Hi

When I add a print queue in my AIX server I get the below message.

enq: (WARNING): 0781-162 Cannot awaken qdaemon (request accepted anyway). 
enq: errno = 2: A file or directory in the path name does not exist. 
Added print queue 'CUNE024'.

Also when I give a test print the status changes from READY to DOWN. Could someone please advise me why this happens.

When I ping the printer I'm getting a response.

pmut3:/> lpstat -pCUNE024 
Queue   Dev   Status    Job Files              User         PP %   Blks  Cp Rnk 
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- --- 
CUNE024 @NUNE READY 
 
pmut3:/> lp -dCUNE024 /etc/motd 
Job number is: 566 
 
pmut3:/> lpstat -pCUNE024 
Queue   Dev   Status    Job Files              User         PP %   Blks  Cp Rnk 
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- --- 
CUNE024 @NUNE DOWN 
              QUEUED    566 /etc/motd          root                   1   1   1 
 

You might have considered entering 0781-162 Cannot awaken qdaemon into you favourite search engine. I did that with Google (not my favourite, but anyways) and the first hit i got was:

0781-162 cannot awaken qdeamon

What else is the queue manager supposed to do? If a queue (or the queues print server, respectively) does not work it is taken down. Correct the problem (this means: make the print server service its task) and take the queue up again - qadm -U <queue> .

I hope this helps.

bakunin

Hi Bakunin

I have already enabled the queue.
But as I said earlier when i give a test print the status goes to DOWN from READY.

For other printers when i give a test print it works fine. I'm not sure why this printer alone gives me a tough time :slight_smile:

My suspicion is that the other print queues are working (that is: producing a piece of imprinted paper upon request) , whereas this one is not.

You can create any print queue you like, even if the print server (aka: printer) you specify for it does not exist at all. The print queue will be shown as "READY" as long as nobody tries to print anything via it, because the printing subsystem will not poll the print server for readiness. With the first (failing) job the queue will go down and remain that way until taken "UP" again by the "qadm" (or equivalent) command.

I hope this helps.

bakunin