[HIGH] STR #1908: Change Settings causes problems
Gregory Bartholomew
gbartho at siue.edu
Mon Aug 28 17:31:42 PDT 2006
I am having the same problem (loose web-interface). The cups error log (logging set to debug) shows a different sequence when restart via the web interface vs. the command line:
web-interface:
I [28/Aug/2006:19:13:15 -0500] Saving remote.cache...
I [28/Aug/2006:19:13:15 -0500] Listening to :::631 (IPv6)
I [28/Aug/2006:19:13:15 -0500] Listening to 0.0.0.0:631 (IPv4)
I [28/Aug/2006:19:13:15 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [28/Aug/2006:19:13:15 -0500] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [28/Aug/2006:19:13:15 -0500] Configured for up to 100 clients.
I [28/Aug/2006:19:13:15 -0500] Allowing up to 100 client connections per host.
I [28/Aug/2006:19:13:15 -0500] Using policy "default" as the default!
command line:
I [28/Aug/2006:19:14:26 -0500] Listening to :::631 (IPv6)
I [28/Aug/2006:19:14:26 -0500] Listening to 0.0.0.0:631 (IPv4)
I [28/Aug/2006:19:14:26 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [28/Aug/2006:19:14:26 -0500] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [28/Aug/2006:19:14:26 -0500] Configured for up to 100 clients.
I [28/Aug/2006:19:14:26 -0500] Allowing up to 100 client connections per host.
I [28/Aug/2006:19:14:26 -0500] Using policy "default" as the default!
I [28/Aug/2006:19:14:26 -0500] Full reload is required.
I [28/Aug/2006:19:14:26 -0500] Loaded MIME database from '/etc/cups': 33 types, 38 filters...
D [28/Aug/2006:19:14:26 -0500] Loading printer EB0028A...
D [28/Aug/2006:19:14:26 -0500] Scanning /var/spool/cups for jobs...
D [28/Aug/2006:19:14:26 -0500] Loading attributes for job 1...
D [28/Aug/2006:19:14:26 -0500] Unloading job 1...
I [28/Aug/2006:19:14:26 -0500] Loading NextJobId from job cache file "/var/cache/cups/job.cache"...
I [28/Aug/2006:19:14:26 -0500] Full reload complete.
I [28/Aug/2006:19:14:26 -0500] Listening to :::631 on fd 0...
I [28/Aug/2006:19:14:26 -0500] Listening to 0.0.0.0:631 on fd 2...
E [28/Aug/2006:19:14:26 -0500] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
Although the cups error log would seem to indicate that something is listening on port 631, when I check with ps and netstat, cupsd is not running and nothing is listening on port 631.
When I restart with the command line and cups does a "Full reload", everything comes back.
Hope this helps,
gb
>
> [STR New]
>
> I'm running two servers, AIX and RedHat, both of which I'm able to
> duplicate the following problems.
>
> When hitting Change Settings from the Administration page, this cause
> the server to restart itself even if there were no changes made.
>
> Lastly, a more serious effect is that when you do Change Settings
> (without actual changes), your cupsd.conf file is changed. See the
> following.
>
> Before Change Settings:
>
> ROOT @ OCCAM002 # ls -al cupsd.conf
> -rw-r----- 1 root cups 3365 Jul 31 15:11 cupsd.conf
>
> After the Change Settings:
>
> ROOT @ OCCAM002 # ls -al cupsd.conf
> -rw-r----- 1 root cups 2155 Aug 11 11:28 cupsd.conf
>
> If you noticed, the date and size changed. Lastly, as a result of the
> change, I was never able to get the web-interface back. The server is
> running but no web-interface access.
>
> Thanks,
> Angel
>
> Link: http://www.cups.org/str.php?L1908
> Version: 1.2.2
>
More information about the cups-devel
mailing list