Some help, please, to understand
peter
plinehan at dek.com
Wed Aug 4 03:36:30 PDT 2010
> On Aug 2, 2010, at 1:44 AM, peter wrote:
> > ...
> > The O/S : Oracle Unbreakable Linux 5 aka RHEL 5
> > The CUPS version : 1.2.4
> > [As supplied with the release]
>
> This version shouldn't delay writes to printers.conf; do you see any =
> errors in /var/log/cups/error_log?
>
> > Rebboting is via : shutdown -h now
> > from the console
>
> You really just want to use "reboot" - halting doesn't give programs a =
> chance to cleanup or save their state...
>
> ________________________________________________________________________
> Michael Sweet, Senior Printing System Engineer, PWG Chair
>
>
>
>
Michael,
Thanks I think I have found the source - but not yet the fix -
Her is the log thru the reboot
I [28/Jul/2010:09:41:15 +0100] Started backend /usr/lib/cups/backend/lpd (PID 4094) for job 596223.
I [28/Jul/2010:09:42:00 +0100] Adding start banner page "none" to job 596224.
I [28/Jul/2010:09:42:00 +0100] Adding end banner page "none" to job 596224.
I [28/Jul/2010:09:42:00 +0100] Job 596224 queued on "invoices" by "root".
I [28/Jul/2010:09:42:00 +0100] Started backend /usr/lib/cups/backend/lpd (PID 4126) for job 596224.
I [28/Jul/2010:09:57:21 +0100] Scheduler shutting down normally.
I [28/Jul/2010:09:57:21 +0100] Saving remote.cache...
I [28/Jul/2010:09:57:21 +0100] Saving job cache file "/var/cache/cups/job.cache"...
I [28/Jul/2010:10:00:52 +0100] Listening to :::631 (IPv6)
I [28/Jul/2010:10:00:52 +0100] Listening to 0.0.0.0:631 (IPv4)
I [28/Jul/2010:10:00:52 +0100] Listening to /var/run/cups/cups.sock (Domain)
I [28/Jul/2010:10:00:52 +0100] Loaded configuration file "/etc/cups/cupsd.conf"
I [28/Jul/2010:10:00:52 +0100] Using default TempDir of /var/spool/cups/tmp...
I [28/Jul/2010:10:00:52 +0100] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [28/Jul/2010:10:00:52 +0100] Configured for up to 100 clients.
I [28/Jul/2010:10:00:52 +0100] Allowing up to 100 client connections per host.
I [28/Jul/2010:10:00:52 +0100] Using policy "default" as the default!
I [28/Jul/2010:10:00:52 +0100] Full reload is required.
I [28/Jul/2010:10:00:52 +0100] Loaded MIME database from '/etc/cups': 34 types, 38 filters...
E [28/Jul/2010:10:00:52 +0100] Unknown configuration directive UK on line 159 of printers.conf.
I [28/Jul/2010:10:00:52 +0100] Loading job cache file "/var/cache/cups/job.cache"...
I [28/Jul/2010:10:00:52 +0100] Full reload complete.
I [28/Jul/2010:10:00:52 +0100] Listening to :::631 on fd 4...
I [28/Jul/2010:10:00:52 +0100] Listening to 0.0.0.0:631 on fd 5...
I [28/Jul/2010:10:00:52 +0100] Listening to /var/run/cups/cups.sock on fd 6...
I [28/Jul/2010:10:11:02 +0100] Adding start banner page "none" to job 596225.
I [28/Jul/2010:10:11:02 +0100] Adding end banner page "none" to job 596225.
I [28/Jul/2010:10:11:02 +0100] Job 596225 queued on "porder" by "root".
I [28/Jul/2010:10:11:02 +0100] Started backend /usr/lib/cups/backend/lpd (PID 9268) for job 596225.
E [28/Jul/2010:10:11:02 +0100] PID 9268 (/usr/lib/cups/backend/lpd) stopped with status 1!
I [28/Jul/2010:10:11:02 +0100] Hint: Try setting the LogLevel to "debug" to find out more.
I [28/Jul/2010:10:11:02 +0100] [Job 596225] Backend returned status 1 (failed)
E [28/Jul/2010:10:11:02 +0100] Unable to backup printers.conf - Permission denied
E [28/Jul/2010:10:11:02 +0100] Unable to save printers.conf - Permission denied
E [28/Jul/2010:10:11:02 +0100] Unable to restore printers.conf - Permission denied
And here is an ls -al of /etc/cups
-rw-r----- 1 root lp 11439 Aug 4 11:21 printers.conf
-rw------- 1 root lp 10202 Apr 7 2009 printers.conf.O
-rw-r--r-- 1 root root 947 Oct 10 2008 pstoraster.convs
So what should the permissions be ?
More information about the cups
mailing list