> From [EMAIL PROTECTED] Wed Aug 30 02:10:25 2000
> From: "Honza Petrous" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: LPRng: freezed queue on Linux
> Date: Wed, 30 Aug 2000 09:53:20 +0200
>
> 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.

Try the following patch and tell me if it helps:


*** common/sendjob.c    2000/08/05 23:35:01     5.10
--- common/sendjob.c    2000/08/30 23:25:46
***************
*** 190,195 ****
--- 190,196 ----
  
   error:
  
+       if( sock >= 0 ) shutdown(sock,1);
        if( status ){
                if( (s = Find_str_value(&job->info,ERROR,Value_sep )) ){
                        SETSTATUS(logjob) "job '%s' transfer to %s@%s failed\n  %s",

-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to