[cups.general] cups-1.4.1 error
Michael Sweet
msweet at apple.com
Tue Dec 15 14:07:33 PST 2009
Did you specify --with-cups-user or --with-cups-group when you ran configure?
On Dec 15, 2009, at 2:04 PM, ferar achkar wrote:
> Michael Sweet,
> I don't see below:
> ==========================
> #
> # "$Id: cupsd.conf.in 8805 2009-08-31 16:34:06Z mike $"
> #
> # Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a
> # complete description of this file.
> #
>
> # Log general information in error_log - change "warn" to "debug"
> # for troubleshooting...
> LogLevel debug
>
> # Administrator user group...
> SystemGroup root
>
>
> # Only listen for connections from the local machine.
> Listen 127.0.0.1:631
> Listen /usr/local/arm-linux/var/run/cups/cups.sock
>
> # Show shared printers on the local network.
> Browsing On
> BrowseOrder allow,deny
> BrowseAllow all
> BrowseLocalProtocols CUPS
>
> # Default authentication type, when authentication is required...
> DefaultAuthType Basic
>
> # Restrict access to the server...
> <Location />
> Order allow,deny
> </Location>
>
> # Restrict access to the admin pages...
> <Location /admin>
> Order allow,deny
> </Location>
>
> # Restrict access to configuration files...
> <Location /admin/conf>
> Order allow,deny
> </Location>
>
> # Set the default printer/job policies...
> <Policy default>
> # Job-related operations must be done by the owner or an administrator...
> <Limit Send-Document Send-URI 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-Get-Document>
> Order deny,allow
> </Limit>
>
> # All administration operations require an administrator to authenticate...
> <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
> Order deny,allow
> </Limit>
>
> # All printer operations require a printer operator to authenticate...
> <Limit Pause-Printer Resume-Printer 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-Accept-Jobs CUPS-Reject-Jobs>
> Order deny,allow
> </Limit>
>
> # Only the owner or an administrator can cancel or authenticate a job...
> <Limit Cancel-Job CUPS-Authenticate-Job>
> Order deny,allow
> </Limit>
>
> <Limit All>
> Order deny,allow
> </Limit>
> </Policy>
>
> # Set the authenticated printer/job policies...
> <Policy authenticated>
> # Job-related operations must be done by the owner or an administrator...
> <Limit Create-Job Print-Job Print-URI>
> Order deny,allow
> </Limit>
>
> <Limit Send-Document Send-URI 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-Get-Document>
> Order deny,allow
> </Limit>
>
> # All administration operations require an administrator to authenticate...
> <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
> Order deny,allow
> </Limit>
>
> # All printer operations require a printer operator to authenticate...
> <Limit Pause-Printer Resume-Printer 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-Accept-Jobs CUPS-Reject-Jobs>
> Order deny,allow
> </Limit>
>
> # Only the owner or an administrator can cancel or authenticate a job...
> <Limit Cancel-Job CUPS-Authenticate-Job>
> Order deny,allow
> </Limit>
>
> <Limit All>
> Order deny,allow
> </Limit>
> </Policy>
>
> #
> # End of "$Id: cupsd.conf.in 8805 2009-08-31 16:34:06Z mike $".
> #
> ==========================
>> On Dec 15, 2009, at 1:47 PM, ferar achkar wrote:
>>
>>> Hi,
>>> Compiled cups-1.4.1 for ARM (Linux ubisurfer 2.6.21.5-cfs-v19 #390 Tue
>>> Aug 11 15:57:36 EDT 2009 armv5tejl unknown). cups scheduler runs fine,
>>> however when check my usb printer trying "lpinfo -v" I get:
>>> lpinfo: Internal Server Error
>>>
>>> in the /var/log/cups/error_log:
>>> ...
>>> N [15/Dec/2009:16:42:13 +0000] Group and SystemGroup cannot use the same
>>> groups!
>>> I [15/Dec/2009:16:42:13 +0000] Resetting Group to "nobody"...
>>> ...
>>> E [15/Dec/2009:16:42:29 +0000] [cups-deviced] Bad user 0!
>>> ...
>>> D [15/Dec/2009:16:42:29 +0000] PID 998
>>> (/usr/local/arm-linux/lib/cups/daemon/cups-deviced) stopped with status 1!
>>>
>>> Any ideas to what is the cause?
>>>
>>
>>
>> Looks like you have a "User 0" or "Group 0" line in your cupsd.conf file, which is not allowed.
>>
>> ___________________________________________________
>> Michael Sweet, Senior Printing System Engineer
>>
>>
>>
>> _______________________________________________
>> cups mailing list
>> cups at easysw.com
>> http://lists.easysw.com/mailman/listinfo/cups
>>
>
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups
___________________________________________________
Michael Sweet, Senior Printing System Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cups.org/pipermail/cups/attachments/20091215/55ad7686/attachment-0001.html>
More information about the cups
mailing list