From owner-freebsd-questions Tue Apr 17 13:59:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id BD3A237B43C for ; Tue, 17 Apr 2001 13:59:38 -0700 (PDT) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.11.2/8.11.1) id f3HKwp106046; Wed, 18 Apr 2001 08:58:51 +1200 (NZST) (envelope-from jonc) Date: Wed, 18 Apr 2001 08:58:51 +1200 From: Jonathan Chen To: scanner@jurai.net Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ARGH! Stupid LPD error... Message-ID: <20010418085851.A4712@itouchnz.itouch> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from scanner@jurai.net on Tue, Apr 17, 2001 at 01:46:57PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Apr 17, 2001 at 01:46:57PM -0400, scanner@jurai.net wrote: > > I want to strangle LPD. Something is jacked and I have no clue what. I > have never seen this error before. > > -rw------- 1 root wheel 607394 Apr 9 11:36 /tmp/aps_testout.IrixPc > eval: cannot create /dev/lpt0: error 16 > Mon Apr 9 11:53:14 CDT 2001 > ljet4 600x600 default > > WTF is cannot create /dev/lpt0 supposed to mean? It's already there. > The output is from apsfilter but I do not believe it has anything to do > with apsfilter. Check the output of dmesg, is your /dev/lpt0 device being detected correctly? When something complains that it "cannot create /dev/lpt0", it's attempting to create the "lpt0" file in /dev; usually due to a shell script's "someprogram > /dev/lpt0". This could possibly be due to permission problems.. What user is your lpd daemon running as? > One odd thing I noted is that when LPD starts it created two LPD's. I dont > know why. So I tried killing one of them. Still get the same error. > Does anyone know what that error means and how to fix it? When lpd attempts to print a job, it spawns off a child to handle it, that's why you see multiple lpd processes. -- Jonathan Chen ---------------------------------------------------------------------- "If everything's under control, you're going too slow" - Mario Andretti To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message