Recently ran a yum update now I can't print to any network printer. I was wondering if anyone had any thoughts at all?
all I did was a yum update and now no network printer works at all. I have tried removing the printers then adding them again rebooted etc.
I also get "No pages were found" after I try to print something. I logged as root user added the printer and I kept getting a popup that said something along the lines of "login needed"
In cups - I get stopped
"Filter failed"
Recently ran a yum update now I can't print to any network printer
Re: Recently ran a yum update now I can't print to any network printer
An obvious question is: which packages did change in the update.
To get latest transaction IDs: yum history list
To see what a transaction did do: yum history info $ID
What has the cups.service done lately?
If the service is not running, then could it restart?
CUPS has logs in /var/log/cups/ too.
"login needed" ... are the printers "Windows printers"? Should you authenticate (aka "login") somehow?
Perhaps samba is used for authentication? Did its packages update?
To get latest transaction IDs: yum history list
To see what a transaction did do: yum history info $ID
What has the cups.service done lately?
Code: Select all
sudo journalctl -xu cups
sudo systemctl status cups
Code: Select all
sudo systemctl restart cups
"login needed" ... are the printers "Windows printers"? Should you authenticate (aka "login") somehow?
Perhaps samba is used for authentication? Did its packages update?
Re: Recently ran a yum update now I can't print to any network printer
thank you for the reply.
As for a yum update I always just do yum update all. (I will look into that)
sudo journalctl -xu cups
sudo systemctl status cups
end of my /var/logs/cups/
As for the login sorry I forgot to mention that. There is no login set on the printer. It prints fine from android, windows 7 windows 8 windows 10 etc.. I believe it has to do with a update but I am not sure what exactly is the cause. I did find this too - https://bugs.centos.org/view.php?id=17859
But I also forgot to look at the cups logs I am going to look at that next when I get more time. Thank you again
Another thing I did read is some rebuilt the printer driver and it seemed to work for semi similar problems.
As for a yum update I always just do yum update all. (I will look into that)
sudo journalctl -xu cups
Code: Select all
-- Logs begin at Thu 2021-07-08 08:12:22 EDT, end at Thu 2021-07-08 13:08:17 EDT. --
Jul 08 08:13:12 localhost.localdomain systemd[1]: Started CUPS Printing Service.
-- Subject: Unit cups.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cups.service has finished starting up.
--
-- The start-up result is done.
Code: Select all
● cups.service - CUPS Printing Service
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2021-07-08 08:13:12 EDT; 4h 56min ago
Main PID: 1775 (cupsd)
Tasks: 4
CGroup: /system.slice/cups.service
├─ 1775 /usr/sbin/cupsd -f
├─ 4207 /usr/lib/cups/notifier/dbus dbus://
├─28480 /usr/lib/cups/notifier/dbus dbus://
└─28481 /usr/lib/cups/notifier/dbus dbus://
Jul 08 08:13:12 localhost.localdomain systemd[1]: Started CUPS Printing Service.
end of my /var/logs/cups/
Code: Select all
D [08/Jul/2021:13:04:21 -0400] [Job 412] envp[21]="RIP_MAX_CACHE=128m"
D [08/Jul/2021:13:04:21 -0400] [Job 412] envp[22]="CONTENT_TYPE=application/vnd.cups-pdf-banner"
D [08/Jul/2021:13:04:21 -0400] [Job 412] envp[23]="DEVICE_URI=lpd://192.168.1.222/P1"
D [08/Jul/2021:13:04:21 -0400] [Job 412] envp[24]="PRINTER_INFO=Zebraa450"
D [08/Jul/2021:13:04:21 -0400] [Job 412] envp[25]="PRINTER_LOCATION="
D [08/Jul/2021:13:04:21 -0400] [Job 412] envp[26]="PRINTER=Zebraa450"
D [08/Jul/2021:13:04:21 -0400] [Job 412] envp[27]="PRINTER_STATE_REASONS=none"
D [08/Jul/2021:13:04:21 -0400] [Job 412] envp[28]="CUPS_FILETYPE=document"
D [08/Jul/2021:13:04:21 -0400] [Job 412] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-raster"
D [08/Jul/2021:13:04:21 -0400] [Job 412] envp[30]="AUTH_I****"
D [08/Jul/2021:13:04:21 -0400] [Job 412] Started filter /usr/lib/cups/filter/bannertopdf (PID 28482)
D [08/Jul/2021:13:04:21 -0400] [Job 412] Started filter /usr/lib/cups/filter/pdftopdf (PID 28483)
D [08/Jul/2021:13:04:21 -0400] [Job 412] Started filter /usr/lib/cups/filter/gstoraster (PID 28484)
D [08/Jul/2021:13:04:21 -0400] [Job 412] Started filter /usr/lib/cups/filter/rastertolabel (PID 28485)
D [08/Jul/2021:13:04:21 -0400] [Job 412] Started backend /usr/lib/cups/backend/lpd (PID 28486)
D [08/Jul/2021:13:04:21 -0400] [Job 412] STATE: +connecting-to-device
D [08/Jul/2021:13:04:21 -0400] [Job 412] Looking up "192.168.1.222"...
D [08/Jul/2021:13:04:21 -0400] [Job 412] backendWaitLoop(snmp_fd=6, addr=0x55dd03b796e8, side_cb=0x55dd023a9db0)
D [08/Jul/2021:13:04:21 -0400] [Job 412] PID 28483 (/usr/lib/cups/filter/pdftopdf) stopped with status 108 (Exec for$
D [08/Jul/2021:13:04:21 -0400] [Job 412] Hint: Try setting the LogLevel to "debug" to find out more.
D [08/Jul/2021:13:04:21 -0400] [Job 412] PID 28484 (/usr/lib/cups/filter/gstoraster) stopped with status 1.
D [08/Jul/2021:13:04:21 -0400] [Job 412] Hint: Try setting the LogLevel to "debug" to find out more.
D [08/Jul/2021:13:04:21 -0400] [Job 412] PID 28485 (/usr/lib/cups/filter/rastertolabel) stopped with status 1.
D [08/Jul/2021:13:04:21 -0400] [Job 412] Hint: Try setting the LogLevel to "debug" to find out more.
D [08/Jul/2021:13:04:21 -0400] [Job 412] PID 28486 (/usr/lib/cups/backend/lpd) exited with no errors.
D [08/Jul/2021:13:04:21 -0400] [Job 412] PID 28482 (/usr/lib/cups/filter/bannertopdf) did not catch or ignore signal$
D [08/Jul/2021:13:04:21 -0400] [Job 412] End of messages
D [08/Jul/2021:13:04:21 -0400] [Job 412] printer-state=3(idle)
D [08/Jul/2021:13:04:21 -0400] [Job 412] printer-state-message="No pages were found."
D [08/Jul/2021:13:04:21 -0400] [Job 412] printer-state-reasons=none
But I also forgot to look at the cups logs I am going to look at that next when I get more time. Thank you again
Another thing I did read is some rebuilt the printer driver and it seemed to work for semi similar problems.
Re: Recently ran a yum update now I can't print to any network printer
The "LogLevel" can be set somewhere in cups' configuration.xbatx wrote: ↑2021/07/08 17:17:03Code: Select all
[Job 412] PID 28483 (/usr/lib/cups/filter/pdftopdf) stopped with status 108 (Exec for$ [Job 412] Hint: Try setting the LogLevel to "debug" to find out more.
Re: Recently ran a yum update now I can't print to any network printer
you happen to know where the loglevel is? I am looking just think I am looking in the wrong area. I tried for a hour. I'm gonna try later when I have more time.
Re: Recently ran a yum update now I can't print to any network printer
grep -i log /etc/cups/cupsd.conf
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke