Hi,

The problem appeared 3 month ago.  We were running LPRng-3.3.2?. Then I tried versions 
3.7.4, 3.8.4
and 3.8.9 on Solaris 2.6 and 8.
The result and behavior is the same on all  versions of OS and LPRng.

Text files are sent in a bounce queue in which they are processed using my filter,
then files are sent in other queue. The first several files are printed without 
problems. At some
time lately 'lpq'
reports in original queue - job is 'active'(or later 'staled'), in other printer queue 
- job is
'incoming'. Restarting of LPRng and
other operations on queue dom't   help.

If I remove filter processing from printcap, the problem disappears.

Had anybody else such problem and resolved it?
Could  it be a problem of Solaris?
How can I debug LPRng in this situation?.

Output of "lpq":

swadm03# lpq -Prezdruck1
Printer: rezdruck1@swadm03 (dest xn2825-m202@localhost)
 Queue: 2 printable jobs
 Server: pid 17974 active
 Unspooler: pid 17975 active
 Status: waiting for subserver to exit at 17:01:20.147
 Filter_status: rezdruck_filter: Job finished. Run time: 0:1
 Rank   Owner/ID                  Class Job Files                 Size Time
stalled(1949sec) ==rezdruck@stielow+286.2.1 A 287 texc3.r1709462  4640 16:38:41
2      ==rezdruck@stielow+287.2.1   A   288 texc3.r1709463        9011 16:38:43
done   ==rezdruck@stielow+285.2.1   A   286 texc3.r1709461        7895 16:38:39
Printer: xn2825-m202@swadm03
 Queue: no printable jobs in queue
 Server: no server active
 Status: job '==rezdruck@stielow+285.2.1' saved at 16:38:40.944
 Filter_status: done at 16:38:40.924
 Rank   Owner/ID                  Class Job Files                 Size Time
incoming ==rezdruck@stielow+286.2.1 A   287 texc3.r1709462           0 16:38:42
done   ==rezdruck@stielow+285.2.1   A   286 texc3.r1709461        1159 16:38:40

-------------------------------------------

My printcap:
-------------------------------------------
.common1
        :qq
        :check_for_nonprintable@
        :save_on_error
        :send_failure_action=hold
        :sd=/spool/lpd/%P
        :lf=/spool/lpd/%P/lpd-errs
        :ifhp=banner_only@,banner@,config=/etc/ifhp.conf
        :filter_options=$C $A $F $H $J $K $L $P $Q $R -Zmountform=$-Q \
 -Z,$-O,$-Z $a $c $d $e $f $h $i $j $k $l $n $p $r $s $w $x $y $-a
.xerox
        :rw:sh:mx#0
        :tc_only
        :sd=/spool/lpd/%P
        :lf=/spool/lpd/%P/lpd-errs
        :lp=/dev/null
        :ifhp=config=/etc/ifhp.conf

rezdruck1:
        :tc=.common1
        :lpd_bounce
        :filter=/opt/LPRng/lib/filters/rezdruck_filter.pl
        :lp=xn2825-m202@localhost

xn2825-m202:client:force_localhost@:rm=lpdstgt1
xn2825-m202
        :server
        :save_when_done
        :tc=.xerox
        :if=/opt/LPRng/lib/filters/ifhp -Tbanner_only@ -Tbanner@
-Tmodel=n2825
-Tpjl_job
        :lp=/dev/null
-------------------------------------------

File "status.pr" of rezdruck1 queue:

processing 'dfA287stielow', size 4640, format 'f', IF filter
'rezdruck_filter.pl' at
2002-03-11-16:38:41.887 ## A===rezdruck@stielow+286.2.1 number=287
process=17975
IF filter 'rezdruck_filter.pl' filter finished at
2002-03-11-16:38:42.147 ##
A===rezdruck@stielow+286.2.1 number=287 process=17975
printing finished at 2002-03-11-16:38:42.148 ##
A===rezdruck@stielow+286.2.1
number=287 process=17975
sending job '==rezdruck@stielow+286.2.1' to xn2825-m202@localhost at
2002-03-11-16:38:42.154 ## A===rezdruck@stielow+286.2.1 number=287
process=17975
connecting to 'localhost', attempt 1 at 2002-03-11-16:38:42.154 ##
A===rezdruck@stielow+286.2.1 number=287 process=17975
connected to 'localhost' at 2002-03-11-16:38:42.163 ##
A===rezdruck@stielow+286.2.1
number=287 process=17975
requesting printer xn2825-m202@localhost at 2002-03-11-16:38:42.163 ##
A===rezdruck@stielow+286.2.1 number=287 process=17975
sending control file 'cfA287stielow' to xn2825-m202@localhost at
2002-03-11-16:38:42.168 ## A===rezdruck@stielow+286.2.1 number=287
process=17975
completed sending 'cfA287stielow' to xn2825-m202@localhost at
2002-03-11-16:38:42.176 ## A===rezdruck@stielow+286.2.1 number=287
process=17975
sending data file 'dfA287stielow' to xn2825-m202@localhost at
2002-03-11-16:38:42.176 ## A===rezdruck@stielow+286.2.1 number=287
process=17975
waiting for subserver to exit at 2002-03-11-16:38:43.722 ## A=<NULL>
number=0
process=17974
waiting for subserver to exit at 2002-03-11-16:41:19.543 ## A=<NULL>
number=0
process=17974
waiting for subserver to exit at 2002-03-11-16:51:15.178 ## A=<NULL>
number=0
process=17974


Thanks in advance,

Sergiy Kovalenko
Firmengruppe Dr. Gueldener


-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

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