Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2001 08:58:51 +1200
From:      Jonathan Chen <jonathan.chen@itouch.co.nz>
To:        scanner@jurai.net
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ARGH! Stupid LPD error...
Message-ID:  <20010418085851.A4712@itouchnz.itouch>
In-Reply-To: <Pine.BSF.4.21.0104171341580.36412-100000@sasami.jurai.net>; from scanner@jurai.net on Tue, Apr 17, 2001 at 01:46:57PM -0400
References:  <Pine.BSF.4.21.0104171341580.36412-100000@sasami.jurai.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonathan.chen@itouch.co.nz>
----------------------------------------------------------------------
                "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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010418085851.A4712>