From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,24148b0a3cec9d8f X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,24148b0a3cec9d8f X-Google-Attributes: gidfee84,public From: Mark Sornson Subject: Re: Problem with Printing Date: 1998/04/17 Message-ID: <3537493B.1296B931@zk3.dec.com>#1/1 X-Deja-AN: 345076764 Content-Transfer-Encoding: 7bit References: <01bd5cb3$dd123020$010a0080@enterprise> <6fuh72$o47@everest.vol.it> Content-Type: text/plain; charset=us-ascii Organization: UBPG Mime-Version: 1.0 Newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1 > Jeff Tulley ha scritto nel messaggio > <01bd5cb3$dd123020$010a0080@enterprise>... > > > >We have a customer that uses OSF/1 and they have just reported a printing > >problem. > > > >When a file is printed useing the lpr -P{printer} {filename} > > > >they get the message.... > > > >lpr:connect:no such file or directory > >jobs queued, but cannot start daemon > > > > > > > >Does anyone have any ideas ? > > > >jeff@matrix-pubs.co.uk The message actually means that the parent lpd daemon is not running on the host. lpr is trying to connect to it via a local socket to /dev/printer (which gets created when the parent lpd is run), to tell it that it just put a job in the queue, but fails because the device file doesn't exist (when lpd isn't running). However, the job data was put in the queue. I'm guessing that someone figured out how to restart the daemon, but for the record, as root do this: # /sbin/init.d/lpd start The parent lpd puts its process-id in /usr/spool/lpd.lock, so use # ps aux | grep /usr/lbin/lpd to see if it is really running. Note that if the parent dies or is killed, it's possible to have a child lpd running (or hung), which exists to process jobs in a particular queue. -mark.