Subject: Re: Printing with lpd.
To: Andy Ball <andy.ball@earthlink.net>
From: Ben Collver <collver@peak.org>
List: netbsd-users
Date: 05/15/2006 03:31:55
On Mon, May 15, 2006 at 05:40:45AM +0000, Andy Ball wrote:
> Several instances of...
> 
>    Apr 13 18:14:31 hunter lpd[24111]: cannot execv /usr/loca
>    l/libexec/lpfilter
>    Apr 13 18:14:31 hunter lpd[5777]: lp: job could not be pr
>    inted (cfA000hunter)
> 
> ...which I think is a clue. Who should own lpfilter and what
> permissions should apply?  At present it's...
> 
>    # ls -l lpfilter
>    -rwxr-xr-x  1 daemon  daemon  72 Apr 13 18:17 lpfilter

Since it is world readable and executable, I would start looking in the
file itself.

Are you certain the full path is /usr/local/libexec/lpfilter?
What is the first line of lpfilter?  I would assume it is the hash-bang
and the full path of the interpreter.  Does the interpreter exist at
that path?  Is it readable and executable?

Cheers,

Ben