Patrick,
Just to let you know, this is not the case with my problems. All queues
have separate spool directories. One thing which I have noticed is that
all of the jobs with which this happens APPEAR to be forwarded from one
print server to another, i.e.
job sent to server 1 via samba
server 1 sends job to server 2
server 2 prints job
This follows the pattern reported by [EMAIL PROTECTED], who has a
single central print server and many remote ones. However, this may just
be a coincidence, as I have only three well documented/completely
trustworthy instances from which to draw. We do, however, have many jobs
that get sent directly from the server which initially receives the job
to the printer, and I haven't heard from them, so...
I haven't gone digging into the code yet, but based on the debug output
at which I've looked, the datafile is opened in the parent lpd process
before forking off a child process to print it, such that the children
inherit all the open file descriptors. Is it possible that the child is
looking at the wrong open file to print? Is this a totally insane
theory? Am I desperately clutching at straws or what? I'm going to start
wading through the code and see what there is to see.
--
Bill Knox
Senior Operating Systems Programmer/Analyst
The MITRE Corporation
[EMAIL PROTECTED] wrote:
>
> One of the LPRng list readers sent me a description of the a 'mysterious
> print job migration' problem, where he would send a job to one queue and
> it would appear on another.
>
> I was puzzled, until I remember a similar problem.
>
> This was the 'disappearing print job'. The job would be sent and
> would then disappear from the queue without being printed.
>
> The problem was that the person had created TWO (actually, ALL)
> of the print queues with the same spool directory:
>
> lp1:sd=/var/spool/lp
> ...
> lp2:sd=/var/spool/lp
> ...
> lp3:sd=/var/spool/lp
> ...
> lp4:sd=/var/spool/lp
>
> This was the result of using cut and paste from an existing print queue.
> I strongly recommend using:
>
> lp1:sd=/var/spool/%P
> ...
> lp2:sd=/var/spool/%P
> ...
> lp3:sd=/var/spool/%P
> ...
> lp4:sd=/var/spool/%P
>
> Which will create unique spool queues..
>
> Patrick Powell
>
> -----------------------------------------------------------------------------
> 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.
-----------------------------------------------------------------------------