Red Hat Bugzilla – Bug 189192
Cups error 'server-error-internal-error'
Last modified: 2007-11-30 17:11:30 EST
Description of problem:Unable to change item in http://localhost:631/admin
gives the error 'server-error-internal-error'
Version-Release number of selected component (if applicable): cups-1.1.23-30.2
How reproducible: enter http://localhost:631/admin in a browser go to 'config
printer' try to change any entry.
Steps to Reproduce:
Any entry does not change to desired entry
settings should change with out an error
Additional info: FIX = 'setenforce 0' allows changes
Hmm, I don't see that error here. Could you please show me
1. the SELinux error message ('audit' or 'avc' with lots of technical bits in
it) from /var/log/messages, and
2. the CUPS error from /var/log/cups/error_log
when you get the server-error-internal-error?
(In reply to comment #1)
> Hmm, I don't see that error here. Could you please show me
> 1. the SELinux error message ('audit' or 'avc' with lots of technical bits in
> it) from /var/log/messages, and
> 2. the CUPS error from /var/log/cups/error_log
> when you get the server-error-internal-error?
THere is no 'avc' or 'audit' errors,only /var/log/cups/error-log:-
D [20/Apr/2006:09:40:37 +1000] ReadClient: 8 POST /admin/ HTTP/1.1
E [20/Apr/2006:09:40:37 +1000] add_printer: Unable to copy PPD file from
/var/spool/cups/00000001 to /etc/cups/ppd/reddwarf.p
pd - Permission denied!
D [20/Apr/2006:09:40:37 +1000] Sending error: server-error-internal-error
D [20/Apr/2006:09:40:37 +1000] ProcessIPPRequest: 8 status_code=500
D [20/Apr/2006:09:40:37 +1000] CloseClient: 10
D [20/Apr/2006:09:40:37 +1000] CloseClient: 8
D [20/Apr/2006:09:40:40 +1000] ReadClient: 6 GET /printers HTTP/1.1
I belive the 'permission denied' is selinux as shown by 'setenforce 0' allowing
me to change the cups config in http://localhost:631/[admin] [printers].
Please show me what this command says, as root:
ls -Zd /etc/cups/ppd
(In reply to comment #3)
> Please show me what this command says, as root:
> ls -Zd /etc/cups/ppd
drwxr-xr-x root sys system_u:object_r:cupsd_etc_t /etc/cups/ppd
What about 'ls -Zd /var/spool/cups'?
Also, do you have the 'audit' package installed? I'm trying to work out why we
can't see the SELinux deny message.
(In reply to comment #5)
david@reddwarf ~]$ rpm -qa audit
rwx--x--- root sys system_u:object_r:print_spool_t /var/spool/cups
(In reply to comment #7)
Yesterday (21-04-06 1000hr UTC) I ran "/sbin/fixfiles relabel" and it fixed one
or two issues I had when running my machine this a.m including this bug so I
have no problems accessing 'localhost:631/admin'and configuring cups.
Okay, thanks for testing.