Printer Daemon (Update)

Tim Darby t+dfbsd at timdarby.net
Mon Nov 22 18:44:04 PST 2010


Here's the output:
srwxrwx---  1 root  wheel  0 Nov 21 23:14 /var/run/printeruid=1001(tim) gid=1001(tim) groups=1001(tim)
and this is the error I'm seeing:
> /usr/bin/lpr -PHPLaser /home/tim/testlpr: Unable to connect to /var/run/printer: Permission deniedlpr: Check to see if the master 'lpd' process is running.
jobs queued, but cannot start daemon.Note that the lpd daemon is definitely running, so that's not an issue.  I think that error means that it can't fork the daemon to handle this job.  Also, here's what I see in the spool dir:
> ls -la /var/spool/output/lpdtotal 144drwxr-xr-x  1 root    daemon       0 Nov 21 23:17 .drwxr-xr-x  1 root    daemon       0 Nov 21 22:52 ..
-rw-rw---x  1 root    daemon       4 Nov 21 23:17 .seq-rw-rw----  1 daemon  daemon     125 Nov 21 23:17 cfA204ocotillo.timdarby.com
-rw-rw----  1 tim     daemon  138992 Nov 21 23:17 dfA204ocotillo.timdarby.com-rw-rw-r--  1 root    daemon      32 Nov 21 23:15 lock
-rw-rw-r--  1 root    daemon      25 Nov 21 23:14 statusThat job will stay in the queue forever until I restart the queue or "bump" it by printing something as root.
Thanks,Tim
On Mon, Nov 22, 2010 at 6:56 PM, Joe Talbott <josepht at cstone.net> wrote:
On Mon, Nov 22, 2010 at 03:50:18PM -0700, Tim Darby wrote:
> My /var/spool is a hammer pfs, as created by the installer defaults.  This
> feels like it has to be a permissions problem somewhere, but I haven't had
> any luck finding it yet.

What is the output of:

ls -al /var/run/printer
id

What are the exact error messages you are receiving?

Thanks,
Joe





More information about the Users mailing list