*BSD News Article 14554


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!usc!cs.utexas.edu!wotan.compaq.com!twisto.eng.hou.compaq.com!mach.eng.hou.compaq.com!mcb
From: mcb@mach.eng.hou.compaq.com (Mike Busby)
Subject: lpd daemon dies randomly
Message-ID: <mcb.734933436@mach>
Sender: news@twisto.eng.hou.compaq.com (Netnews Account)
Organization: Compaq Computer Corp.
Date: Fri, 16 Apr 1993 04:10:36 GMT
Lines: 29

We are having a problem with lpd not spawning a child process when
a queued printjob is removed via lprm.  We get the message:
'Warning: no daemon present'.  Usually, doing an 'lpc restart' revives it
but quite often a few more files will print and then it dies again.
This problems occurs most frequently when the active print job is canceled
via lprm.

This is happening with the latest patchkit installed, both printing locally
and over the network.  Some poking around revealed that lpd is indeed
getting as far as calling the 'printjob' function when 'rmjob' calls 
the 'startdaemon' function that signals it via either a unix or inet
domain socket connection.  The problem seems to be that 'printjob' bails out
at random places during execution and the secondary daemon never starts.

Any suggestions would be appreciated.  We are considering using 386bsd
as a base for printservers for internal Unix printing support but this
problem seems to be a killer.

Thanks,


------------------------------------------------------------------
Michael C. Busby                |  Unix System Support
System Engineer, Sr.            |  Design Environment/Automation
Compaq Computer Corporation     |  Internet: mcb@compaq.com        
P.O. Box 692000 m/s 050701      |  Uunet:    uunet!cpqhou!michaelb 
Houston, Texas, USA 77269-2000  |  Phone:    713-374-5638          
------------------------------------------------------------------
"Armadillos....  Texas speed bumps."    Views/opinions are mine alone.