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!

root mail, qdaemon issues filling up root mail

Status
Not open for further replies.

saucyboy

Technical User
Feb 23, 2006
78
US
Guys,

my root mail box fills up very quick, its relating to the qdaemon but not sure what it is, from the mails i get the below :

? 1
Unknown command: ""
? 2
Message 2:
From root Mon Sep 10 16:17:37 2007
Date: Mon, 10 Sep 2007 16:17:36 +0100
From: Retail Online Admin <root>
To: root

Message from qdaemon:
/usr/lib/lpd/rembak -S sheffield389_server -P invoice_sheffield389 -N /usr/lib/lpd/bsdshort /var/spool/qdaemon/tQZm7ya

? 3
Message 3:
From root Mon Sep 10 16:17:37 2007
Date: Mon, 10 Sep 2007 16:17:36 +0100
From: Retail Online Admin <root>
To: root

Message from qdaemon:
Queue invoice_sheffield389:mad:sheffield389_server went down, job is still queued:
Backend: /usr/lib/lpd/rembak -S sheffield389_server -P invoice_sheffield389 \
-N /usr/lib/lpd/bsdshort /var/spool/qdaemon/tQZm7ya
Backend Exit Value: EXITFATAL (0100)
Job Submit Time: Sep 10 13:57:43 2007, Current Time: Sep 10 16:17:36 2007
Use local problem reporting procedures.

? 4
Message 4:
From root Mon Sep 10 16:21:09 2007
Date: Mon, 10 Sep 2007 16:21:07 +0100
From: Retail Online Admin <root>
To: root

Message from qdaemon:

: (WARNING) Failed receiving acknowledgement.




any ideas on what i should do?
 
Check if the print queue is down for invoice_sheffield389. Looks like your getting a message everytime a print is issued.

Mike

"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
 
anyone know how to keep the queue enables as they disable , something or a parameter to add into qdeamon
 
I didn't get what you mean honestly!

Do you mean something to enable the queues regularly?
 
quick and dirty:

for q in $(lsallq)
do
enable $q
done

But of course, if you manually disable a queue for whatever reason, this script, if run by cron every hour or so, would undo that manual action behind your back...


HTH,

p5wizard
 
hi

yes someone has told me there is a setting using the qdaemon that will keep the queues enabled...any ideas

 
That's how i do it as well!

Code:
ddd=`date`
qdstat=`lssrc -s qdaemon`
echo "" >>/tmp/qd.log
echo "Time $ddd " >> /tmp/qd.log
echo $qdstat >> /tmp/qd.log
#
startsrc -s qdaemon
#
sleep 30
# Now enable any down print queues
#
/usr/bin/lsallq > printer_up.tmp
while read prtid junk
do
  sleep 5
  enable $prtid
done < printer_up.tmp

Regards,
Khalid
 
saucyboy said:
yes someone has told me there is a setting using the qdaemon that will keep the queues enabled...any ideas

Never heard of that one, sorry... If you can find out from that someone again, will you let us know what it is please?



HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top