DragonFly BSD
DragonFly users List (threaded) for 2010-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Printer Daemon (Update)


From: Tim Darby <t+dfbsd@xxxxxxxxxxxx>
Date: Mon, 22 Nov 2010 19:41:29 -0700

Here's the output:

srwxrwx---  1 root  wheel  0 Nov 21 23:14 /var/run/printer
uid=1001(tim) gid=1001(tim) groups=1001(tim)

and this is the error I'm seeing:

> /usr/bin/lpr -PHPLaser /home/tim/test
lpr: Unable to connect to /var/run/printer: Permission denied
lpr: 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/lpd
total 144
drwxr-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 status

That 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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]