"Unknown" error when modifying or adding printers in RHEL 6.9
Issue
-
When we use
cupsenableorcupsdisablewe get the following errorcupsenable: Operation failed: server-error-service-unavailable -
Issuing the following command:
# lpadmin -p HPP2 -v 'socket://10.1.4.2' -E lpadmin: Unknown -
An attempt to set printer default options when using the CUPS server web interface results in an "
Unknown" error. This behavior did not occur until these three RPMs were installed:cups-1.4.2-77.el6.x86_64,cups-libs-1.4.2-77.el6.x86_64, andcups-libs-1.4.2-77.el6.i686. -
Running the following command doesn't work properly in RHEL 6.9. As you can see, the device isn't set properly:
# lpadmin -p printer -E -v lpd://192.168.121.95 -m raw lpadmin: Unknown # lpstat -v device for printer: ///dev/null -
When "
Requires user @SYSTEM" or "AuthType Default" was used in the tag, thecupsenable,cupsaccept,cupsdisable,lpadmin, and possibly otherlp*commands could terminate unexpectedly. -
When using the
cups-lpdservice to accept print jobs from remote Unix clients, we are seeing the following error in/var/log/messages:May 11 14:01:41 dehb-pserv-21 cups-lpd[24249]: Unable to create job - Unknown
Environment
- Red Hat Enterprise Linux (RHEL) 6.9
cups-1.4.2-77.el6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
