hi,
have you tried "lpc redo <printer> all
regards Christoph
Honza Petrous schrieb:
>
> Hi,
>
> I have problem with (rather rarely) freezing of remote queue
> from Linux RedHat 6.1 (kernel 2.2.12-20 i586) to the Axis
> print server. The log shows 'ERROR TRANSFERRING DATA' and job
> stayed on state 'stalled'.
>
> Is the way how wake the job up?
>
> After subserver killing queue started up, but I would like
> to have some 'automatic' action for such problem ...
>
> /Honza
>
> PS:
>
> LPRng-3.6.24-1.i386.rpm installed.
>
> ------------ printcap ---------
>
> ps1p1:\
> :sd=/var/spool/lpd/ps1p1:\
> :mx#0:\
> :sh:\
> :rm=ps1:\
> :rp=PR1:
>
> -------------- lpq status ------------------
>
> Status: job 'krouzkov@pragoos+596' removed at 21:24:10.669
> Status: waiting for subserver to exit at 08:25:41.942
> Status: sending job 'ptackova@pragoos+849' to PR1@ps1 at 08:25:41.952
> Status: connecting to 'ps1', attempt 1 at 08:25:41.954
> Status: connected to 'ps1' at 08:25:41.967
> Status: requesting printer PR1@ps1 at 08:25:41.968
> Status: sending control file 'cfA849pragoos' to PR1@ps1 at 08:25:41.972
> Status: completed sending 'cfA849pragoos' to PR1@ps1 at 08:25:41.982
> Status: sending data file 'dfA849pragoos' to PR1@ps1 at 08:25:41.983
> Status: job 'ptackova@pragoos+849' transfer to PR1@ps1 failed
> Status: error 'ERROR TRANSFERRING DATA'
> Status: sending file 'dfA849pragoos' to PR1@ps1 at 10:05:41.996
> Status: exit at 09:32:23.178
> Status: waiting for subserver to exit at 09:34:58.705
> Status: waiting for subserver to exit at 09:49:00.076
> Status: waiting for subserver to exit at 09:51:51.986
> Status: waiting for subserver to exit at 10:00:34.075
> Status: waiting for subserver to exit at 10:02:13.339
> Status: waiting for subserver to exit at 10:02:13.387
> Status: waiting for subserver to exit at 10:09:11.672
> Filter_status: sending to ps1
> Rank Owner/ID Class Job Files Size Time
> stalled(6334sec) ptackova@pragoos+849 A 849 stdin 759 08:25:41
> 2 ptackova@pragoos+39 A 39 stdin 759 09:16:56
> 3 ptackova@pragoos+50 A 50 stdin 759 09:20:54
> 4 ptackova@pragoos+116 A 116 stdin 1039 09:32:23
> 5 ptackova@pragoos+136 A 136 stdin 1039 09:34:58
> 6 kozakova@pragoos+258 A 258 stdin 7168 09:48:59
> 7 kozakova@pragoos+291 A 291 stdin 7168 09:51:51
> 8 root@pragoos+341 A 341 stdin 207 10:00:33
> 9 kozakova@pragoos+380 A 380 stdin 5196 10:09:11
>
> ------- state of lpd processes --------------------
>
> [root@merkur /root]# ps -ef | grep 22209
> daemon 22209 11046 0 08:25 ? 00:00:00 lpd (Server) 'ps1p1'
> daemon 22210 22209 0 08:25 ? 00:00:00 lpd (Worker - Remote) 'ps1p1'
> root 22671 22607 0 10:16 pts/2 00:00:00 grep 22209
> [root@merkur /root]# strace -p 22210
> read(5, <unfinished ...>
>
> ------- printserver Axis status --------------------
>
> AXIS 560 TELNET Network Print Server V6.00 Jul 7 1999
>
> Root> status
> Current printout status:
> Printer Port Status Bytes printed Comments
> pr1 LPT1 Available No error
> pr2 LPT2 Available No error
> pr3 COM1 Available Paper out
> pr4 COM1 Available Paper out
> pr5 LPT1 Available No error
> pr6 LPT2 Available No error
> pr7 COM1 Available Paper out
> pr8 COM1 Available Paper out
> - LPT1 Available No error
> - COM1 Available Paper out
> - LPT2 Available No error
>
> -----------------------------------------------------------------------------
> If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
> or lprng-digest-requests) with the word 'help' in the body. For the impatient,
> to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
> with: | example:
> subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
> unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
>
> If you have major problems, send email to [EMAIL PROTECTED] with the word
> LPRNGLIST in the SUBJECT line.
> -----------------------------------------------------------------------------
-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------