Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 1997 09:32:39 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Karsten Fleischer <fleischi@physik.tu-berlin.de>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: I have a problem with the lpd - deamon
Message-ID:  <Pine.BSF.3.96.971014093121.2456A-100000@gdi.uoregon.edu>
In-Reply-To: <34428CC7.C50C0686@physik.tu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 13 Oct 1997, Karsten Fleischer wrote:

> I have a strange problem with the lpd-daemon.
> I have a printcap with more then one entries (I´m using apsfilter).
> But all of them are connected to the same printer. To prevent chaos 
> I have the same lock-file, but diffrent spooling-directories for them.
> If there are two different jobs the whole printerqueue
> is locked. I always get a message that there is no daemon present
> but ps tells me that there is still one. If I kill the running
> lpd and start it again the printer continues with the next job.
> but if there are two jobs in different printers it hangs again after
> finishing the first one. The /var/log/lpd-errs says nothing.
> My question is:
> 
> Do you have the faintest idea what is wrong? Or is it impossible to
> have more then one printcap-entry connected to a single queue? 

Use separate queues for the different printer types.  When one is
printing, the others will get `device busy' and just wait for the device
to become available.  

The lockfiles are probably running into each other and causing deadlocks.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971014093121.2456A-100000>