Univention Bugzilla – Bug 17660
univention-lpadmin Fehlende Fehlermeldungen
Last modified: 2013-11-19 06:43:49 CET
univention-lpadmin gibt im Moment nur den exit-code von lpadmin aus, wenn ein Fehler auftritt. Besser wäre es, wenn zusätzlich die Ausgaben von lpadmin mit ausgegeben werden.
Wieder aufgefallen, das wäre wirklich hilfreich!
Erneut aufgefallen an: 2011110721002101
erneut aufgefallen an Ticket#: 2012091121001151 , das wäre wirklich hilfreich!
We will not ship a UCS 3.1-2 release; the next UCS release will be UCS 3.2. As such, this bug is moved to the new target milestone.
Modified 'univention-lpadmin' in package 'univention-printserver'. Enabled lpadmin output. - Lpadmin enabled mostly with attribute "child.before". - Modified the sourcecode for several classes. Feasible use with several "-c" parameters. - imported into buildsystem (6.0.25-5) - built package in buildsystem - made entry in 'changelog-3.1-2.tex' in section 'printing services'
UCS 3.1-1 -> univention-lpadmin -dsadsa The command "/usr/sbin/lpadmin -dsadsa -h localhost" returned 1 UCS 3.2 -> univention-lpadmin sadsa lpadmin: unbekanntes Argument „sadsa“! The command "/usr/sbin/lpadmin sadsa -h localhost" returned 1 -> /etc/init.d/cups stop added printer2 via UMC /var/log/univention/listener.log: 31.07.13 16:31:38.732 LISTENER ( WARN ) : cups-printers: info: univention-lpadmin -u allow:all -o auth-info-required=none -p printer2 -m foomatic-rip/Alps-MD-1000-md2k.ppd -v file:/tmp/printer2 -E lpadmin: Unable to connect to server: Connection refused The command "/usr/sbin/lpadmin -u allow:all -o auth-info-required=none -p printer2 -m foomatic-rip/Alps-MD-1000-md2k.ppd -v file:/tmp/printer2 -E -h localhost" returned 1 31.07.13 16:31:38.906 LISTENER ( ERROR ) : cups-printers: Failed to execute the univention-lpadmin command. Please check the cups state. creating/modifying/deleting of printers/classes (groups) still works (also printing to this devices) Changelog entry exists
UCS 3.2 has been released: http://docs.univention.de/release-notes-3.2-en.html http://docs.univention.de/release-notes-3.2-de.html If this error occurs again, please use "Clone This Bug".