[cups] Unable to open device file

Lukáš Mikloško l.miklosko at gmail.com
Mon Jan 25 13:58:39 PST 2016


Dear cups community,

 

I've been trying to set up a printing server on FreeNAS running in jail. I
use FreeNAS 9.3 STABLE x86-64bit version.

I added a printer, but I was unable to print test page.

 

Here's the error log:

E [25/Jan/2016:10:31:13 -0800] Unable to create master DNS-SD reference:
-65563

E [25/Jan/2016:10:35:05 -0800] [CGI] Unable to create service connection: No
such file or directory

E [25/Jan/2016:10:35:05 -0800] [cups-deviced] PID 79425 (dnssd) stopped with
status 1!

E [25/Jan/2016:10:38:05 -0800] [CGI] Unable to create service connection: No
such file or directory

E [25/Jan/2016:10:38:05 -0800] [cups-deviced] PID 79481 (dnssd) stopped with
status 1!

E [25/Jan/2016:10:44:24 -0800] [Job 1] Unable to open device file:
Permission denied

 

I tried to solve it by myself by adding the following to /etc/devfs.rules :

[system=10]
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups
add path 'lpt*' mode 0660 group cups
add path 'usb/2.2' mode 0660 group cups

and /etc/devfs.conf:

 

own /dev/ulpt0 root:cups

perm /dev/ulpt0 0660

 

I'm not sure what else should I add, feel free to ask.

 

Thank you for your time!

Lukas Miklosko




More information about the cups mailing list