Under normal circumstances, the qdaemon command starts when the system starts, runs until the system shuts down, and requires no attention from you. Sometimes, however, the qdaemon command may stop running or be unable to perform its function. The following article explains what you need to do under these conditions.
Any of the following conditions indicates that the qdaemon command needs maintenance:
cannot awaken qdaemon (request accepted anyway)
To start the qdaemon command, issue the following command:
startsrc -s qdaemon
Generally, only users with root privilege can use this command. The new qdaemon command goes through an initialization process.
If the qdaemon command does not continue running, make sure that both the qdaemon command and the enq command have the appropriate permissions. The person with root authority owns both the qdaemon command and the enq command. The qdaemon command and the enq command must run as if they are run by the user who owns them. The permission bit s sets the effective owner (user ID) of a process to that of the nominal owner. The appropriate permissions for these two commands are:
qdaemon -r-sr-s--- | |
To check these permissions, enter aclget /usr/sbin/qdaemon
.
To reset permissions, enter: tcbck -y /usr/sbin/qdaemon . You must have root user authority to reset these permissions. | |
enq -r-sr-sr-x | |
To check these permissions, enter aclget /usr/bin/enq
.
To reset permissions, enter: tcbck -y /usr/bin/enq . You must have root user authority to reset these permissions. |
If you continue to have problems with the qdaemon command, you can use the following procedure to reinitialize the entire queuing system: