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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Upgraded to from AIX 4.3.2 to 4.3.3 and now qdaemon errors 2

Status
Not open for further replies.

wpdavids

IS-IT--Management
Jan 31, 2001
60
US
I recently upgraded to AIX 4.3.3 and when trying to print after a fresh reboot the system outputs qdaemon errors.
Errors are below:
enq: (WARNING): 0781-162 Cannot awaken qdaemon (request accepted anyway).
enq: errno = 2: A file or directory in the path name does not exist.
enq: (WARNING): 0781-174 Cannot signal qdaemon. Errno = 3.
enq: errno = 3: The process does not exist.
enq: (WARNING): 0781-162 Cannot awaken qdaemon (request accepted anyway).

I solve this problem temporarily by running:
#/usr/bin/startsrc -sqdaemon at the command line.

This is the same command in the /etc/inittab file on
the system. listed below:
qdaemon:a:wait:/usr/bin/startsrc -sqdaemon

How can I make the system reboot and bring qdaemon up properly so that I don't have to take the extra steps
fixing qdeamon after every reboot ?

Is there a problem with upgrading from 4.3.2 to 4.3.3 ?
 
Actually no, the upgrade should work just fine.... several things may be at fault
the /var directory or / directory is full is usually the cause...or the /etc/qconfig file
is corrupt....stop the daemons and then look at the file for stanzas that do not look
correct...

stopsrc -cg spooler
startsrc -g spooler

Also clean the print ques...(see below) and check permissions....on the last document.

Error messages:
------------
0781-162
Cannot awaken qdaemon
One cause is full /var file system
Another cause is bad /etc/qconfig file
A bad file being printed was one scenario. Cancel, stop and restart the qdaemon.
In other scenarios there were bad files in /var/spool/lpd/qdir.
One fix: simply recycle qdaemon (stopsrc -s qdaemon, startsrc -s qdaemon).
Another fix: clear queues and recycle qdaemon.
Another possible cause: permission problems on /var/spool/lpd/stat
In one case the writesrv was not active.

-----------------
0781-174
qdaemon can't signal, qdaemon can't awaken
Dummy stanza in /etc/qconfig: remove to fix the problem
Error occurred with: 0781-162
---------
clean ques:

permissions on ques:

qconfig file:

Lastly, make sure you did the update cd....with patches...smitty update all...
especially for the bos.rte.printers and printers.rte....make sure you have the
latest patches for them.

Good luck
#-)
 
Thanks to every one that replied to this problem posted by me. All your possible solutions gave me more insite to this
problem. It turned out that the former System Admin changed
the run level of writesrv, qdaemon. The proper run level is "2" for these subsystems, but it was entered as run level "a" , which is a single user administration run level.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top