Created attachment 1495431 [details] error Description of problem: filed in printer Epson XP-431 Version-Release number of selected component (if applicable): How reproducible: is not possible add print, permission failed Steps to Reproduce: 1. 2. 3. Actual results: permission failed Expected results: Additional info: was need install system-config-printer and add permission to user in lpadmin.
Correction: failed to add printer. "permission denied" Solution: instaled system-config-printer and include user in group lpadmin.
Hi Cristiano, thank you for reporting the issue! Would you mind telling me how you tried to add the printer? Because it is expected to have 'sudo' rights to add a printer.
I am not the original poster but I am also seeing the same problem. I do have sudo rights, and I used the Unlock button before trying to add my HP LaserJet Pro M402dn printer. When the failure occurs I see this message in the log: cupsd[998]: [CGI] Unable to execute ippfind utility: No such file or directory I installed system-config-printer and was able to add the printer using that utility, but the printer doesn't work, giving this message in the log: hp[24890]: io/hpmud/jd.c 93: unable to read device-id hp[24890]: prnt/backend/hp.c 825: INFO: open device failed stat=12: hp:/net/HP_LaserJet_M402dn?zc=NPI0646FF.local; will retry in 30 seconds... That may be a different problem, of course. Also in the log I am seeing a message that may be related: dbus-daemon[846]: [system] Activated service 'org.opensuse.CupsPkHelper.Mechanism' failed: Failed to execute program org.opensuse.CupsPkHelper.Mechanism: Permission denied Another computer, that I upgraded from Fedora 28, prints just fine. When I remove the printer and re-install it, I get the same CUPS error in the log, but the install is successful.
I neglected to mention that I am seeing this problem on a fresh install of Fedora 29.
Hi John, would you mind trying 'hp-setup -i' for installation of your HP printer?
hp-setup -i successfully installed the printer, and afterwards I was able to print a test page from settings / devices / printers. Here is the transcript of hp-setup -i working correctly: hp-setup -i HP Linux Imaging and Printing System (ver. 3.18.6) Printer/Fax Setup Utility ver. 9.0 Copyright (c) 2001-15 HP Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. (Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.) -------------------------------- | SELECT CONNECTION (I/O) TYPE | -------------------------------- Num Connection Description Type -------- ---------- ---------------------------------------------------------- 0* usb Universal Serial Bus (USB) 1 net Network/Ethernet/Wireless (direct connection or JetDirect) 2 par Parallel Port (LPT:) Enter number 0...2 for connection type (q=quit, enter=usb*) ? 1 Using connection type: net ----------------- | SELECT DEVICE | ----------------- Num Device URI CUPS Printer(s) -------- --------------------------------------------- ------------------------------------------------------------ 0 hp:/net/HP_LaserJet_M402dn?ip=10.146.9.42 HP_LaserJet_M402dn,HP_LaserJet_M402dn,NPI0646FF 1 hp:/net/Photosmart_8700_series?ip=10.146.9.28 Photosmart_8700_series,Photosmart_8700_series,photosmart8750 Enter number 0...1 for device (q=quit) ?0 Setting up device: hp:/net/HP_LaserJet_M402dn?ip=10.146.9.42 --------------------- | PRINT QUEUE SETUP | --------------------- Please enter a name for this print queue (m=use model name:'HP_LaserJet_M402dn'*, q=quit) ?m Using queue name: HP_LaserJet_M402dn Locating PPD file... Please wait. Found PPD file: lsb/usr/HP/hp-laserjet_pro_m402_m403d-ps.ppd.gz Description: Note: The model number may vary slightly from the actual model number on the device. Does this PPD file appear to be the correct one (y=yes*, n=no, q=quit) ? y Enter a location description for this printer (q=quit) ?left desk Enter additonal information or notes for this printer (q=quit) ? Adding print queue to CUPS: Device URI: hp:/net/HP_LaserJet_M402dn?ip=10.146.9.42 Queue name: HP_LaserJet_M402dn PPD file: lsb/usr/HP/hp-laserjet_pro_m402_m403d-ps.ppd.gz Location: left desk Information: --------------------- | PRINTER TEST PAGE | --------------------- Would you like to print a test page (y=yes*, n=no, q=quit) ? y HP Linux Imaging and Printing System (ver. 3.18.6) Testpage Print Utility ver. 6.0 Copyright (c) 2001-15 HP Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. warning: Unable to start hp-systray Printing test page to printer HP_LaserJet_M402dn... Test page has been sent to printer. note: If an error occured, or the test page failed to print, refer to the HPLIP website note: at: http://hplip.sourceforge.net for troubleshooting and support. Done. Done.
(In reply to John Sauter from comment #3) > cupsd[998]: [CGI] Unable to execute ippfind utility: No such file or > directory > You can get rid of the message by installing cups-ipptool package. I'll make cups to require it. > > hp[24890]: io/hpmud/jd.c 93: unable to read device-id > hp[24890]: prnt/backend/hp.c 825: INFO: open device failed stat=12: > hp:/net/HP_LaserJet_M402dn?zc=NPI0646FF.local; will retry in 30 seconds... system-config-printer uses hp-makeuri binary for creating some optional uris (when you installed printer by s-c-p, there should be several choices for printer uri) - it seems a printer or hplip has an issue of some kind with uri created from mdns packet.
(In reply to John Sauter from comment #3) > dbus-daemon[846]: [system] Activated service > 'org.opensuse.CupsPkHelper.Mechanism' failed: Failed to execute program > org.opensuse.CupsPkHelper.Mechanism: Permission denied > > Another computer, that I upgraded from Fedora 28, prints just fine. When I > remove the printer and re-install it, I get the same CUPS error in the log, > but the install is successful. Hi John and Cristiano, it is actually known bug https://bugzilla.redhat.com/show_bug.cgi?id=1641456 - the current workaround is to reinstall dbus-daemon package. *** This bug has been marked as a duplicate of bug 1641456 ***