[FreeNX-kNX] Printing under FC5

Alastair Johnson alastair at solutiontrax.com
Thu Aug 31 12:26:06 UTC 2006


Does anybody have printing via CUPS or SMB working on FC5? It won't work for 
me :-(

From what I can tell so far it looks like the cupsd.conf created by nxnode 
which used to work with FC3 (cups-1.1.22-0.rc1.8.5) won't set up a cupsd we 
can use on FC5 (cups-1.2.2-1.8). The error_log is below for anyone who might 
be able to help. 

When nxnode runs lpadmin to create the printer being shared, lpadmin wants a 
password which it used not to, and which nxnode can't supply. There is a 
cupsd process owned by the user running, so it hasn't exited entirely. Does 
anybody know what changed between CUPS versions that would cause this?

error_log:
-----------------------------------------------
I [31/Aug/2006:12:21:07 +0100] Listening to 0.0.0.0:10001 (IPv4)
I [31/Aug/2006:12:21:07 +0100] Listening to :::10001 (IPv6)
I [31/Aug/2006:12:21:07 +0100] Loaded configuration 
file "/home/ajohnson/.nx/<session_id>/cups/cupsd.conf"
W [31/Aug/2006:12:21:07 +0100] Repairing ownership of "/var/cache/cups"
E [31/Aug/2006:12:21:07 +0100] Unable to change ownership 
of "/var/cache/cups" - Operation not permitted
W [31/Aug/2006:12:21:07 +0100] Repairing ownership of "/var/run/cups"
E [31/Aug/2006:12:21:07 +0100] Unable to change ownership of "/var/run/cups" - 
Operation not permitted
W [31/Aug/2006:12:21:07 +0100] Repairing access permissions 
of "/var/run/cups/certs"
E [31/Aug/2006:12:21:07 +0100] Unable to change permissions 
of "/var/run/cups/certs" - Operation not permitted
W [31/Aug/2006:12:21:07 +0100] Repairing ownership 
of "/home/ajohnson/.nx/<session_id>/cups/"
E [31/Aug/2006:12:21:07 +0100] Unable to change ownership 
of "/home/ajohnson/.nx/<session_id>/cups/" - Operation not permitted
W [31/Aug/2006:12:21:07 +0100] Repairing ownership 
of "/home/ajohnson/.nx/<session_id>/cups//ppd"
E [31/Aug/2006:12:21:07 +0100] Unable to change ownership 
of "/home/ajohnson/.nx/<session_id>/cups//ppd" - Operation not permitted
W [31/Aug/2006:12:21:07 +0100] Repairing ownership 
of "/home/ajohnson/.nx/<session_id>/cups//cupsd.conf"
E [31/Aug/2006:12:21:07 +0100] Unable to change ownership 
of "/home/ajohnson/.nx/<session_id>/cups//cupsd.conf" - Operation not 
permitted
W [31/Aug/2006:12:21:07 +0100] Repairing ownership 
of "/home/ajohnson/.nx/<session_id>/cups//classes.conf"
E [31/Aug/2006:12:21:07 +0100] Unable to change ownership 
of "/home/ajohnson/.nx/<session_id>/cups//classes.conf" - Operation not 
permitted
W [31/Aug/2006:12:21:07 +0100] Repairing ownership 
of "/home/ajohnson/.nx/<session_id>/cups//printers.conf"
E [31/Aug/2006:12:21:07 +0100] Unable to change ownership 
of "/home/ajohnson/.nx/<session_id>/cups//printers.conf" - Operation not 
permitted
W [31/Aug/2006:12:21:07 +0100] Repairing ownership 
of "/home/ajohnson/.nx/<session_id>/cups/spool"
E [31/Aug/2006:12:21:07 +0100] Unable to change ownership 
of "/home/ajohnson/.nx/<session_id>/cups/spool" - Operation not permitted
W [31/Aug/2006:12:21:07 +0100] Repairing ownership 
of "/home/ajohnson/.nx/<session_id>/cups/spool/tmp"
E [31/Aug/2006:12:21:07 +0100] Unable to change ownership 
of "/home/ajohnson/.nx/<session_id>/cups/spool/tmp" - Operation not permitted
I [31/Aug/2006:12:21:07 +0100] Cleaning out old temporary files 
in "/home/ajohnson/.nx/<session_id>/cups/spool/tmp"...
I [31/Aug/2006:12:21:07 +0100] Configured for up to 100 clients.
I [31/Aug/2006:12:21:07 +0100] Allowing up to 100 client connections per host.
I [31/Aug/2006:12:21:07 +0100] Creating CUPS default administrative policy:
I [31/Aug/2006:12:21:07 +0100] <Policy default>
I [31/Aug/2006:12:21:07 +0100] <Limit Send-Document Send-URI Cancel-Job 
Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes 
Create-Job-Subscription Renew-Subscription Cancel-Subscription 
Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job 
Resume-Job CUPS-Move-Job CUPS-Authenticate-Job>
I [31/Aug/2006:12:21:07 +0100] Order Deny,Allow
I [31/Aug/2006:12:21:07 +0100] Require user @OWNER @SYSTEM
I [31/Aug/2006:12:21:07 +0100] </Limit>
I [31/Aug/2006:12:21:07 +0100] <Limit Pause-Printer Resume-Printer 
Set-Printer-Attributes Enable-Printer Disable-Printer 
Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs 
Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer 
Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer 
CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs 
CUPS-Reject-Jobs CUPS-Set-Default>
I [31/Aug/2006:12:21:07 +0100] Order Deny,Allow
I [31/Aug/2006:12:21:07 +0100] AuthType Basic
I [31/Aug/2006:12:21:07 +0100] Require user @SYSTEM
I [31/Aug/2006:12:21:07 +0100] </Limit>
I [31/Aug/2006:12:21:07 +0100] <Limit All>
I [31/Aug/2006:12:21:07 +0100] Order Deny,Allow
I [31/Aug/2006:12:21:07 +0100] </Limit>
I [31/Aug/2006:12:21:07 +0100] </Policy>
I [31/Aug/2006:12:21:07 +0100] Full reload is required.
I [31/Aug/2006:12:21:07 +0100] Loaded MIME database 
from '/home/ajohnson/.nx<session_id>/cups/': 34 types, 37 filters...
I [31/Aug/2006:12:21:07 +0100] Full reload complete.
E [31/Aug/2006:12:21:07 +0100] Unable to bind socket for address 
0.0.0.0:10001 - Address already in use.
E [31/Aug/2006:12:21:07 +0100] Unable to open listen socket for 
address :::10001 - Address family not supported by protocol.
X [31/Aug/2006:12:21:07 +0100] No Listen or Port lines were found to allow 
access via localhost!




More information about the FreeNX-kNX mailing list