Hide Forgot
Description of problem: $ /usr/sbin/cupsdisable printer cupsdisable: Operation failed: server-error-service-unavailable I have verified the currect permissions (and that I have it) and that cups is running properly. Same thing happens for cupsenable. Other printing stuff works properly. Version-Release number of selected component (if applicable): How reproducible: Run the command. Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Here is some additional info. $ rpm -qa | grep cups ghostscript-cups-9.04-3.fc15.x86_64 cups-1.4.8-5.fc15.x86_64 libgnomecups-0.2.3-9.fc15.x86_64 python-cups-1.9.57-1.fc15.x86_64 cups-libs-1.4.8-5.fc15.i686 cups-pk-helper-0.1.3-2.fc15.x86_64 gutenprint-cups-5.2.7-3.fc15.x86_64 cups-libs-1.4.8-5.fc15.x86_64 $ uname -r 2.6.40.6-0.fc15.x86_64
Please run the printing troubleshooter: https://fedoraproject.org/wiki/Printing/Debugging#Printing_troubleshooter It looks like CUPS is not running correctly, or cannot be contacted for some reason.
Created attachment 530555 [details] Attching diagonistic output
Thanks Tim for looking into this, attaching the troubleshoot file.
Please do this: su -c 'cupsctl --debug-logging' su -c 'service cups restartlog' cupsenable fiddle su -c 'cupsctl --no-debug-logging' Does that fail in the same way? If so, please attach /var/log/cups/error_log.
Just to clarify what is happening here: Susmit and I have a cups server running RHEL 5.7 with cups-1.3.7-26.el5_6.1 cupsenable and cupsdisable work fine on the server. We also have a number of Fedora 15 clients and we would like for users to be able to reset printer queues and restart printers et cetra from Fedora. To make this happen, we have an entry like the following in /etc/cups/cupsd.conf on the server: <Limit Pause-Printer Resume-Printer Purge-Jobs> AuthType Default Require user @SYSTEM @printops Order deny,allow </Limit> This used to work great in Fedora 14 but at some point it stopped working. It still works from the cups server and other RHEL machines... just not from Fedora. So, I am guessing that the Fedora and RedHat cups don't play together well anymore?
I have enabled debug logging by adding "LogLevel debug" to /etc/cups/cupsd.conf and running "service cups restartlog" on the RHEL cups server. Now, when I run a command like cupsdisable from a fedora client I get the following output in /var/log/cups/error_log D [28/Oct/2011:15:30:32 -0600] cupsdAcceptClient: skipping getpeercon() D [28/Oct/2011:15:30:32 -0600] cupsdAcceptClient: 13 from platte.cs.colostate.edu:631 (IPv4) D [28/Oct/2011:15:30:32 -0600] cupsdReadClient: 13 POST /admin/ HTTP/1.1 D [28/Oct/2011:15:30:32 -0600] cupsdAuthorize: No authentication data provided. D [28/Oct/2011:15:30:32 -0600] cupsdIsAuthorized: Need upgrade to TLS... D [28/Oct/2011:15:30:32 -0600] cupsdSendError: 13 code=426 (Upgrade Required) D [28/Oct/2011:15:30:32 -0600] cupsdCloseClient: 13 D [28/Oct/2011:15:30:32 -0600] cupsdAcceptClient: skipping getpeercon() D [28/Oct/2011:15:30:32 -0600] cupsdAcceptClient: 13 from platte.cs.colostate.edu:631 (IPv4) D [28/Oct/2011:15:30:32 -0600] cupsdReadClient: 13 OPTIONS * HTTP/1.1 D [28/Oct/2011:15:30:32 -0600] cupsdAuthorize: No authentication data provided. E [28/Oct/2011:15:30:32 -0600] encrypt_client: Unable to encrypt connection from platte.cs.colostate.edu! E [28/Oct/2011:15:30:32 -0600] encrypt_client: A TLS packet with unexpected length was received. D [28/Oct/2011:15:30:32 -0600] cupsdCloseClient: 13 ~
Could you please attach the cupsd.conf files from the server and from the client? Thanks.
Created attachment 545598 [details] server cupsd.conf
I have attached the cupsd.conf on the server. I removed our hostname and ip and replaced them with servername.domainname and serveripaddress respectively. Cups doesn't run on the clients. We just add one line to /etc/cups/client.conf ServerName servername.domainname Any ideas what the errors in comment 7 are about? Sounds like a TLS incompatibility to me.
cups-1.4.8-9.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/cups-1.4.8-9.fc15
Package cups-1.4.8-9.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing cups-1.4.8-9.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-1835/cups-1.4.8-9.fc15 then log in and leave karma (feedback).
This update has fixed the problem for us. I think it can be moved from testing to stable in Fedora 15? It works with the latest release in Fedora 16. I think this bug report can also be closed. Thank you!!
cups-1.4.8-9.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.