Originally Posted by
tgalati4
Look in /var/log/cups for errors.
Thanks to the pointer for errors.
That cups log directory is chock full of something.
Code:
$ ls -ltr /var/log/cups
total 76
-rw-r----- 1 root adm 185 Dec 21 06:55 error_log.7.gz
-rw-r----- 1 root adm 185 Dec 22 07:46 error_log.6.gz
-rw-r----- 1 root adm 184 Dec 23 08:01 error_log.5.gz
-rw-r----- 1 root adm 226 Dec 24 23:07 error_log.4.gz
-rw-r----- 1 root adm 185 Dec 25 07:56 error_log.3.gz
-rw-r----- 1 root adm 184 Dec 26 08:02 error_log.2.gz
-rw-r----- 1 root adm 230 Feb 5 09:35 access_log.7.gz
-rw-r----- 1 root adm 330 Feb 5 13:28 access_log.6.gz
-rw-r----- 1 root adm 205 Feb 7 17:04 access_log.5.gz
-rw-r----- 1 root adm 273 Feb 10 18:22 access_log.4.gz
-rw-r----- 1 root adm 146 Feb 17 16:07 access_log.3.gz
-rw-r----- 1 root adm 176 Feb 25 04:44 error_log.1.gz
-rw-r----- 1 root adm 148 Feb 25 06:34 access_log.2.gz
-rw-r----- 1 root adm 146 Mar 7 23:12 access_log.1.gz
-rw-r----- 1 root adm 493 Mar 11 18:20 page_log
-rw-r----- 1 root adm 3034 Mar 11 18:40 access_log
-rw-r----- 1 root adm 9217 Mar 11 18:45 error_log
At the moment, there are no errors in the error_log simply because I set up the printer again, so it's working (but it wasn't working prior to that just an hour ago).
It printed about 5 jobs that I hand't known were "stuck", but I see them at the top of the error_log file:
Code:
$ head error_log
W [11/Mar/2014:18:16:36 -0700] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'Hewlett-Packard-HP-LaserJet-2100-Series-Gray..' already exists
E [11/Mar/2014:18:16:36 -0700] Hewlett-Packard-HP-LaserJet-2100-Series: File "/usr/lib/cups/backend/hp" not available: No such file or directory
E [11/Mar/2014:18:16:36 -0700] [Job 4] Stopping job because the sheduler could not execute the backend.
E [11/Mar/2014:18:16:48 -0700] Hewlett-Packard-HP-LaserJet-2100-Series: File "/usr/lib/cups/backend/hp" not available: No such file or directory
E [11/Mar/2014:18:16:48 -0700] [Job 5] Stopping job because the sheduler could not execute the backend.
E [11/Mar/2014:18:16:48 -0700] Hewlett-Packard-HP-LaserJet-2100-Series: File "/usr/lib/cups/backend/hp" not available: No such file or directory
E [11/Mar/2014:18:16:48 -0700] [Job 6] Stopping job because the sheduler could not execute the backend.
E [11/Mar/2014:18:16:52 -0700] Hewlett-Packard-HP-LaserJet-2100-Series: File "/usr/lib/cups/backend/hp" not available: No such file or directory
E [11/Mar/2014:18:16:52 -0700] [Job 7] Stopping job because the sheduler could not execute the backend.
E [11/Mar/2014:18:16:54 -0700] Hewlett-Packard-HP-LaserJet-2100-Series: File "/usr/lib/cups/backend/hp" not available: No such file or directory
E [11/Mar/2014:18:16:54 -0700] [Job 8] Stopping job because the sheduler could not execute the backend.
E [11/Mar/2014:18:17:00 -0700] Hewlett-Packard-HP-LaserJet-2100-Series: File "/usr/lib/cups/backend/hp" not available: No such file or directory
E [11/Mar/2014:18:17:00 -0700] [Job 9] Stopping job because the sheduler could not execute the backend.
E [11/Mar/2014:18:17:15 -0700] Hewlett-Packard-HP-LaserJet-2100-Series: File "/usr/lib/cups/backend/hp" not available: No such file or directory
E [11/Mar/2014:18:17:15 -0700] [Job 10] Stopping job because the sheduler could not execute the backend.
W [11/Mar/2014:18:17:44 -0700] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'Hewlett-Packard-HP-LaserJet-2100-Series-Gray..' already exists
Then, when I set up the printer (again, for the umpteenth time), it worked just fine (and all the long stalled jobs printed which were spooled up weeks ago).
Here's a cat of the temporary "access_log" file when in the middle of a subsequent print (after setting up the printer for the umpteenth time):
Code:
$ cat access_log
localhost - - [11/Mar/2014:18:28:07 -0700] "POST / HTTP/1.1" 200 151 Cancel-Subscription successful-ok
localhost - - [11/Mar/2014:18:39:35 -0700] "POST /printers/Hewlett-Packard-HP-LaserJet-2100-Series HTTP/1.1" 200 447640 Print-Job successful-ok
localhost - - [11/Mar/2014:18:39:46 -0700] "POST / HTTP/1.1" 200 251 Create-Printer-Subscription successful-ok
localhost - - [11/Mar/2014:18:40:08 -0700] "POST /printers/Hewlett-Packard-HP-LaserJet-2100-Series HTTP/1.1" 200 278 Print-Job successful-ok
localhost - - [11/Mar/2014:18:40:52 -0700] "POST / HTTP/1.1" 200 151 Cancel-Subscription successful-ok
localhost - - [11/Mar/2014:19:11:23 -0700] "POST /printers/Hewlett-Packard-HP-LaserJet-2100-Series HTTP/1.1" 200 21066 Print-Job successful-ok
Originally Posted by
tgalati4
Did you install the printer through hp-toolbox?
I have never heard of "hp-toolbox".
I installed the printer drivers so long ago that I don't remember how I did it, but I think I just used the Ubuntu dashboard printer icon and set it up by clicking on all the defaults for that printer.
I just checked. Hp-toolbox was never installed:
Code:
$ hp-toolbox
The program 'hp-toolbox' is currently not installed. You can install it by typing:
sudo apt-get install hplip-gui
So, I'll install it, and, hopefully, it might tell me something about WHY the printer setup chews itself up all the time.
printer_hp_toolbox.jpg
Bookmarks