Ran into this problem today while trying to print to my networked
printer, an HP Officejet Pro 8500.  The system is up to date, has
Firefox 27.  Tried printing twice, using this hp-doctor command and a
reboot in between attempts, and now have 2 jobs stalled in the queue.
Here's what I see.


/var/log/syslog:

Feb 11 11:32:36 diamond anacron[1147]: Job `cron.daily' started
Feb 11 11:32:36 diamond anacron[2135]: Updated timestamp for job `cron.daily' to
 2014-02-11
Feb 11 11:34:19 diamond whoopsie[1331]: online
Feb 11 11:35:20  whoopsie[1331]: last message repeated 2 times
Feb 11 11:52:48 diamond kernel: [ 1530.398251] audit_printk_skb: 84 callbacks su
ppressed
Feb 11 11:52:48 diamond kernel: [ 1530.398256] type=1400 
audit(1392141168.213:47): apparmor="STATUS" operation="profile_replace" 
parent=2448 profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=2452 
comm="apparmor_parser"
Feb 11 11:52:48 diamond kernel: [ 1530.398265] type=1400 
audit(1392141168.213:48): apparmor="STATUS" operation="profile_replace" 
parent=2448 profile="unconfined" name="/usr/sbin/cupsd" pid=2452 
comm="apparmor_parser"
Feb 11 11:52:48 diamond kernel: [ 1530.399037] type=1400 
audit(1392141168.213:49): apparmor="STATUS" operation="profile_replace" 
parent=2448 profile="unconfined" name="/usr/sbin/cupsd" pid=2452 
comm="apparmor_parser"
Feb 11 11:53:32 diamond anacron[1147]: Job `cron.daily' terminated (exit 
status: 1) (mailing output)
Feb 11 11:53:32 diamond anacron[1147]: Can't find sendmail at 
/usr/sbin/sendmail, not mailing output
Feb 11 11:53:32 diamond anacron[1147]: Job `cron.weekly' started
Feb 11 11:53:32 diamond anacron[2569]: Updated timestamp for job `cron.weekly' 
to 2014-02-11
Feb 11 11:53:34 diamond anacron[1147]: Job `cron.weekly' terminated
Feb 11 11:53:34 diamond anacron[1147]: Normal exit (2 jobs run)
Feb 11 12:17:01 diamond CRON[2719]: (root) CMD (   cd / && run-parts --report 
/etc/cron.hourly)
Feb 11 12:37:47 diamond dbus[850]: [system] Activating service 
name='org.debian.apt' (using servicehelper)
Feb 11 12:37:48 diamond AptDaemon: INFO: Initializing daemon
Feb 11 12:37:48 diamond dbus[850]: [system] Successfully activated service 
'org.debian.apt'
...
Feb 11 15:17:01 diamond CRON[3943]: (root) CMD (   cd / && run-parts --report 
/etc/cron.hourly)
Feb 11 16:05:10 diamond hpcups[4070]: prnt/hpcups/HPCupsFilter.cpp 548: 
cupsRasterOpen failed, fd = 0
Feb 11 16:05:10 diamond hp[4071]: prnt/backend/hp.c 839: ERROR: null print job 
total=0
Feb 11 16:07:40 diamond kernel: [16807.115475] type=1400 
audit(1392156460.167:50): apparmor="DENIED" operation="file_lock" parent=1 
profile="/usr/sbin/cupsd" name="/run/utmp" pid=2453 comm="cupsd" 
requested_mask="k" denied_mask="k" fsuid=0 ouid=0
Feb 11 16:07:51 diamond kernel: [16818.582020] type=1400 
audit(1392156471.643:51): apparmor="DENIED" operation="file_lock" parent=1 
profile="/usr/sbin/cupsd" name="/run/utmp" pid=2453 comm="cupsd" 
requested_mask="k" denied_mask="k" fsuid=0 ouid=0
Feb 11 16:07:58 diamond kernel: [16825.315696] type=1400 
audit(1392156478.383:52): apparmor="DENIED" operation="file_lock" parent=1 
profile="/usr/sbin/cupsd" name="/run/utmp" pid=2453 comm="cupsd" 
requested_mask="k" denied_mask="k" fsuid=0 ouid=0
Feb 11 16:10:36 diamond hp-check: hp-check[4140]: warning: ubuntu-13.10 version 
is not supported. Using ubuntu-13.04 versions dependencies to verify and 
install...
Feb 11 16:10:36 diamond hp-check: hp-check[4140]: warning: HPLIP-Installation: 
Auto installation is not supported for ubuntu distro  13.10 version 
Feb 11 16:10:45 diamond hp-check: hp-check[4140]: error: 'libdbus-1-dev' 
package is missing/incompatible 
Feb 11 16:10:45 diamond hp-check: hp-check[4140]: error: 'libcups2' package is 
missing/incompatible 
Feb 11 16:10:45 diamond hp-check: hp-check[4140]: error: 'python-qt4-dbus' 
package is missing/incompatible 
Feb 11 16:10:45 diamond hp-check: hp-check[4140]: error: 'libjpeg-dev' package 
is missing/incompatible 
Feb 11 16:10:45 diamond hp-check: hp-check[4140]: error: 'python-dev' package 
is missing/incompatible 
Feb 11 16:10:45 diamond hp-check: hp-check[4140]: error: 'gtk2-engines-pixbuf' 
package is missing/incompatible 
Feb 11 16:10:45 diamond hp-check: hp-check[4140]: error: 'python-qt4' package 
is missing/incompatible 
Feb 11 16:10:45 diamond hp-check: hp-check[4140]: error: 'libcups2-dev' package 
is missing/incompatible 
Feb 11 16:10:45 diamond hp-check: hp-check[4140]: error: 'cups-bsd' package is 
missing/incompatible 
Feb 11 16:10:45 diamond hp-check: hp-check[4140]: error: 'cups-client' package 
is missing/incompatible 
Feb 11 16:10:45 diamond hp-check: hp-check[4140]: error: 'libsane-dev' package 
is missing/incompatible 
Feb 11 16:10:45 diamond hp-check: hp-check[4140]: error: 'libusb-1.0.0-dev' 
package is missing/incompatible 
Feb 11 16:10:45 diamond hp-check: hp-check[4140]: error: 'libcupsimage2-dev' 
package is missing/incompatible 
Feb 11 16:10:45 diamond hp-check: hp-check[4140]: error: 'libsnmp-dev' package 
is missing/incompatible 
Feb 11 16:10:45 diamond hp-check: hp-check[4140]: error: 'libtool' package is 
missing/incompatible 
Feb 11 16:10:45 diamond hp-check: hp-check[4140]: error: 'avahi-utils' package 
is missing/incompatible 
Feb 11 16:10:45 diamond hp-check: hp-check[4140]: error: 'gtk2-engines-pixbuf' 
package is missing/incompatible 
Feb 11 16:10:45 diamond hp-check: hp-check[4140]: error: 'xsane' package is 
missing/incompatible 
Feb 11 16:10:45 diamond hp-check: hp-check[4140]: error: lp groups need to be 
added for u user
Feb 11 16:12:43 diamond hp-doctor: hp-doctor[4324]: error: This distro (i.e 
ubuntu  13.10) is either deprecated or not yet supported.
Feb 11 16:12:50 diamond hp-doctor: hp-doctor[4324]: error: Failed to locate 
hp-upgrade utility
Feb 11 16:12:50 diamond hp-doctor: hp-doctor[4324]: warning: 
#033[01mubuntu-13.10 version is not supported. Using ubuntu-13.04 versions 
dependencies to verify and install...#033[0m
Feb 11 16:12:50 diamond hp-doctor: hp-doctor[4324]: warning: 
HPLIP-Installation: Auto installation is not supported for ubuntu distro  13.10 
version 
Feb 11 16:12:58 diamond hp-doctor: hp-doctor[4324]: error: 'libdbus-1-dev' 
package is missing/incompatible 
Feb 11 16:12:58 diamond hp-doctor: hp-doctor[4324]: error: 'libcups2' package 
is missing or 'cups' service is not running.
Feb 11 16:12:58 diamond hp-doctor: hp-doctor[4324]: error: 'python-qt4-dbus' 
package is missing/incompatible 
Feb 11 16:12:58 diamond hp-doctor: hp-doctor[4324]: error: 'libjpeg-dev' 
package is missing/incompatible 
Feb 11 16:12:58 diamond hp-doctor: hp-doctor[4324]: error: 'python-dev' package 
is missing/incompatible 
Feb 11 16:12:58 diamond hp-doctor: hp-doctor[4324]: error: 
'gtk2-engines-pixbuf' package is missing/incompatible 
Feb 11 16:12:58 diamond hp-doctor: hp-doctor[4324]: error: 'python-qt4' package 
is missing/incompatible 
Feb 11 16:12:58 diamond hp-doctor: hp-doctor[4324]: error: 'libcups2-dev' 
package is missing or 'cups' service is not running.
Feb 11 16:12:58 diamond hp-doctor: hp-doctor[4324]: error: 'cups-bsd' package 
is missing or 'cups' service is not running.
Feb 11 16:12:58 diamond hp-doctor: hp-doctor[4324]: error: 'cups-client' 
package is missing or 'cups' service is not running.
Feb 11 16:12:58 diamond hp-doctor: hp-doctor[4324]: error: 'libsane-dev' 
package is missing/incompatible 
Feb 11 16:12:58 diamond hp-doctor: hp-doctor[4324]: error: 'libusb-1.0.0-dev' 
package is missing/incompatible 
Feb 11 16:12:58 diamond hp-doctor: hp-doctor[4324]: error: 'libcupsimage2-dev' 
package is missing or 'cups' service is not running.
Feb 11 16:12:58 diamond hp-doctor: hp-doctor[4324]: error: 'libsnmp-dev' 
package is missing/incompatible 
Feb 11 16:12:58 diamond hp-doctor: hp-doctor[4324]: error: 'libtool' package is 
missing/incompatible 
Feb 11 16:12:58 diamond hp-doctor: hp-doctor[4324]: error: 'avahi-utils' 
package is missing/incompatible 
Feb 11 16:12:58 diamond hp-doctor: hp-doctor[4324]: error: 
'gtk2-engines-pixbuf' package is missing/incompatible 
Feb 11 16:12:58 diamond hp-doctor: hp-doctor[4324]: error: 'xsane' package is 
missing/incompatible 
Feb 11 16:16:04 diamond whoopsie[1331]: online
Feb 11 16:16:14 diamond hpcups[17854]: prnt/hpcups/HPCupsFilter.cpp 548: 
cupsRasterOpen failed, fd = 0
Feb 11 16:16:14 diamond hp[17855]: prnt/backend/hp.c 839: ERROR: null print job 
total=0
Feb 11 16:17:01 diamond CRON[17858]: (root) CMD (   cd / && run-parts --report 
/etc/cron.hourly)
Feb 11 16:17:04 diamond whoopsie[1331]: online
Feb 11 16:17:05 diamond whoopsie[1331]: online
Feb 11 16:27:30 diamond kernel: [17996.085262] type=1400 
audit(1392157650.321:53): apparmor="DENIED" operation="file_lock" parent=1 
profile="/usr/sbin/cupsd" name="/run/utmp" pid=2453 comm="cupsd" 
requested_mask="k" denied_mask="k" fsuid=0 ouid=0
Feb 11 16:27:52 diamond hp-doctor: hp-doctor[17909]: error: This distro (i.e 
ubuntu  13.10) is either deprecated or not yet supported.
Feb 11 16:27:57 diamond hp-doctor: hp-doctor[17909]: error: Failed to locate 
hp-upgrade utility
Feb 11 16:27:57 diamond hp-doctor: hp-doctor[17909]: warning: 
#033[01mubuntu-13.10 version is not supported. Using ubuntu-13.04 versions 
dependencies to verify and install...#033[0m
Feb 11 16:27:57 diamond hp-doctor: hp-doctor[17909]: warning: 
HPLIP-Installation: Auto installation is not supported for ubuntu distro  13.10 
version 
Feb 11 16:28:24 diamond hp-doctor: hp-doctor[17909]: error: Password incorrect. 
2 attempt(s) left.
Feb 11 16:28:26 diamond hp-doctor: hp-doctor[17909]: error: User exit
Feb 11 16:28:47 diamond dbus[850]: [system] Activating service 
name='org.freedesktop.systemd1' (using servicehelper)
Feb 11 16:28:47 diamond dbus[850]: [system] Successfully activated service 
'org.freedesktop.systemd1'
Feb 11 16:30:05 diamond kernel: imklog 5.8.11, log source = /proc/kmsg started.
Feb 11 16:30:05 diamond rsyslogd: [origin software="rsyslogd" 
swVersion="5.8.11" x-pid="858" x-info="http://www.rsyslog.com";] start
Feb 11 16:30:05 diamond rsyslogd: rsyslogd's groupid changed to 103
Feb 11 16:30:05 diamond rsyslogd: rsyslogd's userid changed to 101
Feb 11 16:30:05 diamond rsyslogd-2039: Could not open output pipe 
'/dev/xconsole' [try http://www.rsyslog.com/e/2039 ]
Feb 11 16:30:05 diamond kernel: [    0.000000] Initializing cgroup subsys cpuset
Feb 11 16:30:05 diamond kernel: [    0.000000] Initializing cgroup subsys cpu
Feb 11 16:30:05 diamond kernel: [    0.000000] Initializing cgroup subsys 
cpuacct
Feb 11 16:30:05 diamond kernel: [    0.000000] Linux version 3.11.0-15-generic 
(buildd@roseapple) (gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu8) ) 
#25-Ubuntu SMP Thu Jan 30 17:22:01 UTC 2014 (Ubuntu 3.11.0-15.25-generic 
3.11.10)
Feb 11 16:30:05 diamond kernel: [    0.000000] Command line: 
BOOT_IMAGE=/boot/vmlinuz-3.11.0-15-generic 
root=UUID=eab41cf1-0eaa-40a2-9ff6-b985cd16cb6f ro quiet splash vt.handoff=7
...
Feb 11 16:31:02 diamond kernel: [   74.662010] type=1400 
audit(1392157862.913:47): apparmor="DENIED" operation="file_lock" parent=1 
profile="/usr/sbin/cupsd" name="/run/utmp" pid=1038 comm="cupsd" 
requested_mask="k" denied_mask="k" fsuid=0 ouid=0



I can view CUPS status info at localhost:631 in Firefox, but cannot log in to 
change anything.  This is what I see there:


Description:    HP Officejet Pro 8500 A909a
Location:       
Driver: HP Officejet Pro 8500 a909a, hpcups 3.13.9 (color, 2-sided printing)
Connection:     hp:/net/Officejet_Pro_8500_A909a?ip=192.168.1.39
Defaults:       job-sheets=none, none media=na_letter_8.5x11in 
sides=two-sided-long-edge
Jobs

Search in HP-Officejet-Pro-8500-A909a:

Showing 2 of 2 active jobs.
▼ ID ▼  Name    User    Size    Pages   State   Control
HP-Officejet-Pro-8500-A909a-3   Unknown         Withheld        77k     Unknown 
        stopped 
"Filter failed"         
 
HP-Officejet-Pro-8500-A909a-4   Unknown         Withheld        77k     Unknown 
        stopped 
"Filter failed"



/var/log/cups/error_log:

...
W [11/Feb/2014:15:47:07 -0600] CreateDevice failed: 
org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager 
was not provided by any .service files
E [11/Feb/2014:16:05:10 -0600] [Job 3] Job stopped due to filter errors; please 
consult the error_log file for details.
D [11/Feb/2014:16:05:10 -0600] [Job 3] The following messages were recorded 
from 16:05:10 to 16:05:10
D [11/Feb/2014:16:05:10 -0600] 
...
D [11/Feb/2014:16:05:10 -0600] 
D [11/Feb/2014:16:05:10 -0600] [Job 3] End of messages
D [11/Feb/2014:16:05:10 -0600] [Job 3] printer-state=3(idle)
D [11/Feb/2014:16:05:10 -0600] [Job 3] printer-state-message="Filter failed"
D [11/Feb/2014:16:05:10 -0600] [Job 3] printer-state-reasons=none
E [11/Feb/2014:16:07:41 -0600] [Client 15] pam_authenticate() returned 7 (Authen
tication failure)
E [11/Feb/2014:16:07:53 -0600] [Client 15] pam_authenticate() returned 7 (Authen
tication failure)
E [11/Feb/2014:16:08:00 -0600] [Client 15] pam_authenticate() returned 7 (Authen
tication failure)
E [11/Feb/2014:16:10:11 -0600] [Job 3] Stopping unresponsive job.
E [11/Feb/2014:16:16:14 -0600] [Job 4] Job stopped due to filter errors; please 
consult the error_log file for details.
D [11/Feb/2014:16:16:14 -0600] [Job 4] The following messages were recorded from
 16:16:14 to 16:16:14
D [11/Feb/2014:16:16:14 -0600] 
...
D [11/Feb/2014:16:16:14 -0600] 
D [11/Feb/2014:16:16:14 -0600] [Job 4] End of messages
D [11/Feb/2014:16:16:14 -0600] [Job 4] printer-state=3(idle)
D [11/Feb/2014:16:16:14 -0600] [Job 4] printer-state-message="Filter failed"
D [11/Feb/2014:16:16:14 -0600] [Job 4] printer-state-reasons=none
E [11/Feb/2014:16:21:15 -0600] [Job 4] Stopping unresponsive job.
E [11/Feb/2014:16:27:31 -0600] [Client 15] pam_authenticate() returned 7 
(Authentication failure)
W [11/Feb/2014:16:30:06 -0600] CreateProfile failed: 
org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager 
was not provided by any .service files
W [11/Feb/2014:16:30:06 -0600] CreateProfile failed: 
org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager 
was not provided by any .service files
W [11/Feb/2014:16:30:06 -0600] CreateDevice failed: 
org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager 
was not provided by any .service files
E [11/Feb/2014:16:31:04 -0600] [Client 8] pam_authenticate() returned 7 
(Authentication failure)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1251973

Title:
  Printing denied since upgrade

Status in “apparmor” package in Ubuntu:
  Expired
Status in “cups” package in Ubuntu:
  Expired

Bug description:
  Ubuntu 13.10 amd64, Patchlevel today
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=13.10
  DISTRIB_CODENAME=saucy
  DISTRIB_DESCRIPTION="Ubuntu 13.10"

  Since upgrade  from 13.04 to 13.10 this system can't print anything.
  By searching i found this in dmesg

  [ 3098.185896] type=1400 audit(1384676379.061:70): apparmor="DENIED"
  operation="open" parent=2878 profile="/usr/sbin/cupsd"
  name="/home/.ecryptfs/eric/.ecryptfs/wrapped-passphrase" pid=3347
  comm="cupsd" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000

  It does not matter what and which driver in cups is used, the printing
  is denied and no printout file appears. No spoolfile for the driver
  appears, but a new DENIED comes up. From the cups side everything is
  fine, but is is blocked from apparmor in some way.

  localhost - - [17/Nov/2013:09:43:55 +0100] "POST /printers/HL4150CDN 
HTTP/1.1" 200 871814 Print-Job successful-ok
  localhost - - [17/Nov/2013:09:45:31 +0100] "POST /printers/PDF HTTP/1.1" 200 
871685 Print-Job successful-ok

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: apparmor 2.8.0-0ubuntu31
  ProcVersionSignature: Ubuntu 3.11.0-13.20-generic 3.11.6
  Uname: Linux 3.11.0-13-generic x86_64
  ApportVersion: 2.12.5-0ubuntu2.1
  Architecture: amd64
  Date: Sun Nov 17 09:35:42 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2013-05-18 (182 days ago)
  InstallationMedia: Xubuntu 13.04 "Raring Ringtail" - Release amd64 
(20130423.1)
  MarkForUpload: True
  ProcKernelCmdline: BOOT_IMAGE=/@/boot/vmlinuz-3.11.0-13-generic 
root=UUID=0bfe05f6-2c8a-45f9-ac88-5f432f139de8 ro rootflags=subvol=@ quiet 
splash elevator=deadline vt.handoff=7
  SourcePackage: apparmor
  Syslog:
   
  UpgradeStatus: Upgraded to saucy on 2013-10-18 (29 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1251973/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to