Project

General

Profile

Actions

Bug #7957

closed

Inconsistant printing with CUPS

Added by r a about 5 years ago. Updated about 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-03-09
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

I currently running OpenIndiana Hipster 2016.10, uname reports illumos-8241ccb after updating on 4th March 2017.
When I attempt to print any web page from FirefoxESR 45.7.0 after system start the job is submitted to the printer but fails to print.
Checking printer status with lpstat -t gives a warning missing file descriptor and no default printer is selected.

The /var/svc/log/application-cups-scheduler:default.log reports

[ Mar 9 18:38:09 Method "start" exited with status 0. ]
[ Mar 9 19:53:20 Stopping because process dumped core. ]
[ Mar 9 19:53:20 Executing stop method (:kill). ]
[ Mar 9 19:53:21 Executing start method ("/lib/svc/method/svc-cupsd"). ]
Did not update any PPD files
[ Mar 9 19:53:22 Method "start" exited with status 0. ]
[ Mar 9 19:53:27 Stopping because process dumped core. ]
[ Mar 9 19:53:27 Executing stop method (:kill). ]
[ Mar 9 19:53:28 Executing start method ("/lib/svc/method/svc-cupsd"). ]
Did not update any PPD files
[ Mar 9 19:53:28 Method "start" exited with status 0. ]
[ Mar 9 19:53:34 Stopping because process dumped core. ]
[ Mar 9 19:53:34 Executing stop method (:kill). ]
[ Mar 9 19:53:34 Executing start method ("/lib/svc/method/svc-cupsd"). ]
Did not update any PPD files
[ Mar 9 19:53:35 Method "start" exited with status 0. ]
[ Mar 9 19:53:41 Stopping because process dumped core. ]
[ Mar 9 19:53:41 Executing stop method (:kill). ]
[ Mar 9 19:53:41 Executing start method ("/lib/svc/method/svc-cupsd"). ]
Did not update any PPD files
[ Mar 9 19:53:42 Method "start" exited with status 0. ]
[ Mar 9 19:53:48 Stopping because process dumped core. ]
[ Mar 9 19:53:48 Executing stop method (:kill). ]
[ Mar 9 19:53:48 Restarting too quickly, changing state to maintenance. ]
[ Mar 9 20:02:53 Leaving maintenance because disable requested. ]

After stopping both cups services svc:/application/cups/scheduler:default and svc:/application/cups/in-lpd:default, removing any jobs from the queue and starting the cups/scheduler and then the cups/in-lpd I was able to print files which would not previously print.

Checking the CUPS error_log

E [09/Mar/2017:19:53:22 +0000] Unknown directive BrowseOrder on line 8 of /etc/cups/cupsd.conf.
E [09/Mar/2017:19:53:22 +0000] Unknown directive BrowseAllow on line 9 of /etc/cups/cupsd.conf.
E [09/Mar/2017:19:53:22 +0000] Unknown directive BrowseRemoteProtocols on line 10 of /etc/cups/cupsd.conf.
W [09/Mar/2017:19:53:22 +0000] No limit for Validate-Job defined in policy default and no suitable template found.
W [09/Mar/2017:19:53:22 +0000] No limit for Cancel-Jobs defined in policy default - using Pause-Printer's policy.
W [09/Mar/2017:19:53:22 +0000] No limit for Cancel-My-Jobs defined in policy default - using Send-Document's policy.
W [09/Mar/2017:19:53:22 +0000] No limit for Close-Job defined in policy default - using Send-Document's policy.
W [09/Mar/2017:19:53:22 +0000] No JobPrivateAccess defined in policy default - using defaults.
W [09/Mar/2017:19:53:22 +0000] No JobPrivateValues defined in policy default - using defaults.
W [09/Mar/2017:19:53:22 +0000] No SubscriptionPrivateAccess defined in policy default - using defaults.
W [09/Mar/2017:19:53:22 +0000] No SubscriptionPrivateValues defined in policy default - using defaults.
W [09/Mar/2017:19:53:22 +0000] No limit for Validate-Job defined in policy authenticated - using Print-Job's policy.
W [09/Mar/2017:19:53:22 +0000] No limit for Cancel-Jobs defined in policy authenticated - using Pause-Printer's policy.
W [09/Mar/2017:19:53:22 +0000] No limit for Cancel-My-Jobs defined in policy authenticated - using Send-Document's policy.
W [09/Mar/2017:19:53:22 +0000] No limit for Close-Job defined in policy authenticated - using Send-Document's policy.
W [09/Mar/2017:19:53:22 +0000] No JobPrivateAccess defined in policy authenticated - using defaults.
W [09/Mar/2017:19:53:22 +0000] No JobPrivateValues defined in policy authenticated - using defaults.
W [09/Mar/2017:19:53:22 +0000] No SubscriptionPrivateAccess defined in policy authenticated - using defaults.
W [09/Mar/2017:19:53:22 +0000] No SubscriptionPrivateValues defined in policy authenticated - using defaults.
W [09/Mar/2017:19:53:22 +0000] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [09/Mar/2017:19:53:22 +0000] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [09/Mar/2017:19:53:22 +0000] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
E [09/Mar/2017:19:53:28 +0000] Unknown directive BrowseOrder on line 8 of /etc/cups/cupsd.conf.
E [09/Mar/2017:19:53:28 +0000] Unknown directive BrowseAllow on line 9 of /etc/cups/cupsd.conf.
E [09/Mar/2017:19:53:28 +0000] Unknown directive BrowseRemoteProtocols on line 10 of /etc/cups/cupsd.conf.
W [09/Mar/2017:19:53:28 +0000] No limit for Validate-Job defined in policy default and no suitable template found.
W [09/Mar/2017:19:53:28 +0000] No limit for Cancel-Jobs defined in policy default - using Pause-Printer's policy.
W [09/Mar/2017:19:53:28 +0000] No limit for Cancel-My-Jobs defined in policy default - using Send-Document's policy.
W [09/Mar/2017:19:53:28 +0000] No limit for Close-Job defined in policy default - using Send-Document's policy.
W [09/Mar/2017:19:53:28 +0000] No JobPrivateAccess defined in policy default - using defaults.
W [09/Mar/2017:19:53:28 +0000] No JobPrivateValues defined in policy default - using defaults.
W [09/Mar/2017:19:53:28 +0000] No SubscriptionPrivateAccess defined in policy default - using defaults.
W [09/Mar/2017:19:53:28 +0000] No SubscriptionPrivateValues defined in policy default - using defaults.
W [09/Mar/2017:19:53:28 +0000] No limit for Validate-Job defined in policy authenticated - using Print-Job's policy.
W [09/Mar/2017:19:53:28 +0000] No limit for Cancel-Jobs defined in policy authenticated - using Pause-Printer's policy.
W [09/Mar/2017:19:53:28 +0000] No limit for Cancel-My-Jobs defined in policy authenticated - using Send-Document's policy.
W [09/Mar/2017:19:53:28 +0000] No limit for Close-Job defined in policy authenticated - using Send-Document's policy.
W [09/Mar/2017:19:53:28 +0000] No JobPrivateAccess defined in policy authenticated - using defaults.
W [09/Mar/2017:19:53:28 +0000] No JobPrivateValues defined in policy authenticated - using defaults.
W [09/Mar/2017:19:53:28 +0000] No SubscriptionPrivateAccess defined in policy authenticated - using defaults.
W [09/Mar/2017:19:53:28 +0000] No SubscriptionPrivateValues defined in policy authenticated - using defaults.
W [09/Mar/2017:19:53:28 +0000] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [09/Mar/2017:19:53:28 +0000] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [09/Mar/2017:19:53:28 +0000] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
E [09/Mar/2017:19:53:35 +0000] Unknown directive BrowseOrder on line 8 of /etc/cups/cupsd.conf.
E [09/Mar/2017:19:53:35 +0000] Unknown directive BrowseAllow on line 9 of /etc/cups/cupsd.conf.
E [09/Mar/2017:19:53:35 +0000] Unknown directive BrowseRemoteProtocols on line 10 of /etc/cups/cupsd.conf.
W [09/Mar/2017:19:53:35 +0000] No limit for Validate-Job defined in policy default and no suitable template found.
W [09/Mar/2017:19:53:35 +0000] No limit for Cancel-Jobs defined in policy default - using Pause-Printer's policy.
W [09/Mar/2017:19:53:35 +0000] No limit for Cancel-My-Jobs defined in policy default - using Send-Document's policy.
W [09/Mar/2017:19:53:35 +0000] No limit for Close-Job defined in policy default - using Send-Document's policy.
W [09/Mar/2017:19:53:35 +0000] No JobPrivateAccess defined in policy default - using defaults.
W [09/Mar/2017:19:53:35 +0000] No JobPrivateValues defined in policy default - using defaults.
W [09/Mar/2017:19:53:35 +0000] No SubscriptionPrivateAccess defined in policy default - using defaults.
W [09/Mar/2017:19:53:35 +0000] No SubscriptionPrivateValues defined in policy default - using defaults.
W [09/Mar/2017:19:53:35 +0000] No limit for Validate-Job defined in policy authenticated - using Print-Job's policy.
W [09/Mar/2017:19:53:35 +0000] No limit for Cancel-Jobs defined in policy authenticated - using Pause-Printer's policy.
W [09/Mar/2017:19:53:35 +0000] No limit for Cancel-My-Jobs defined in policy authenticated - using Send-Document's policy.
W [09/Mar/2017:19:53:35 +0000] No limit for Close-Job defined in policy authenticated - using Send-Document's policy.
W [09/Mar/2017:19:53:35 +0000] No JobPrivateAccess defined in policy authenticated - using defaults.
W [09/Mar/2017:19:53:35 +0000] No JobPrivateValues defined in policy authenticated - using defaults.
W [09/Mar/2017:19:53:35 +0000] No SubscriptionPrivateAccess defined in policy authenticated - using defaults.
W [09/Mar/2017:19:53:35 +0000] No SubscriptionPrivateValues defined in policy authenticated - using defaults.
W [09/Mar/2017:19:53:35 +0000] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [09/Mar/2017:19:53:35 +0000] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [09/Mar/2017:19:53:35 +0000] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
E [09/Mar/2017:19:53:42 +0000] Unknown directive BrowseOrder on line 8 of /etc/cups/cupsd.conf.
E [09/Mar/2017:19:53:42 +0000] Unknown directive BrowseAllow on line 9 of /etc/cups/cupsd.conf.
E [09/Mar/2017:19:53:42 +0000] Unknown directive BrowseRemoteProtocols on line 10 of /etc/cups/cupsd.conf.
W [09/Mar/2017:19:53:42 +0000] No limit for Validate-Job defined in policy default and no suitable template found.
W [09/Mar/2017:19:53:42 +0000] No limit for Cancel-Jobs defined in policy default - using Pause-Printer's policy.
W [09/Mar/2017:19:53:42 +0000] No limit for Cancel-My-Jobs defined in policy default - using Send-Document's policy.
W [09/Mar/2017:19:53:42 +0000] No limit for Close-Job defined in policy default - using Send-Document's policy.
W [09/Mar/2017:19:53:42 +0000] No JobPrivateAccess defined in policy default - using defaults.
W [09/Mar/2017:19:53:42 +0000] No JobPrivateValues defined in policy default - using defaults.
W [09/Mar/2017:19:53:42 +0000] No SubscriptionPrivateAccess defined in policy default - using defaults.
W [09/Mar/2017:19:53:42 +0000] No SubscriptionPrivateValues defined in policy default - using defaults.
W [09/Mar/2017:19:53:42 +0000] No limit for Validate-Job defined in policy authenticated - using Print-Job's policy.
W [09/Mar/2017:19:53:42 +0000] No limit for Cancel-Jobs defined in policy authenticated - using Pause-Printer's policy.
W [09/Mar/2017:19:53:42 +0000] No limit for Cancel-My-Jobs defined in policy authenticated - using Send-Document's policy.
W [09/Mar/2017:19:53:42 +0000] No limit for Close-Job defined in policy authenticated - using Send-Document's policy.
W [09/Mar/2017:19:53:42 +0000] No JobPrivateAccess defined in policy authenticated - using defaults.
W [09/Mar/2017:19:53:42 +0000] No JobPrivateValues defined in policy authenticated - using defaults.
W [09/Mar/2017:19:53:42 +0000] No SubscriptionPrivateAccess defined in policy authenticated - using defaults.
W [09/Mar/2017:19:53:42 +0000] No SubscriptionPrivateValues defined in policy authenticated - using defaults.
W [09/Mar/2017:19:53:42 +0000] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [09/Mar/2017:19:53:42 +0000] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [09/Mar/2017:19:53:42 +0000] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files

I have included the cupsd.conf file, checking the date on this file it has remained unchanged since September 2014


Files

uni1.pdf (196 KB) uni1.pdf pdf file that some times prints or causes CUPS to crash r a, 2017-03-09 08:53 PM
Actions #1

Updated by r a about 5 years ago

Add cupsd.conf

Actions #2

Updated by r a about 5 years ago

$ lpstat -t
scheduler is not running
no system default destination
lpstat: Bad file number
lpstat: Bad file number
lpstat: Bad file number
lpstat: Bad file number
lpstat: Bad file number

Restarted the cups scheduler but unable to print

Actions #3

Updated by Michal Nowak about 5 years ago

E [09/Mar/2017:19:53:22 +0000] Unknown directive BrowseOrder on line 8 of /etc/cups/cupsd.conf.
E [09/Mar/2017:19:53:22 +0000] Unknown directive BrowseAllow on line 9 of /etc/cups/cupsd.conf.
E [09/Mar/2017:19:53:22 +0000] Unknown directive BrowseRemoteProtocols on line 10 of /etc/cups/cupsd.conf.

cupsd seems to be misconfigurated. Can you fix those three lines and see what happens?

The other thing is the coredump and that the file was perhaps not updated with it's package...

Actions #4

Updated by r a about 5 years ago

Stopping the cups scheduler and lp service, then commenting out the commands as shown before starting the services has allowed printing from Firefox and Atril pdf viewer

#BrowseOrder allow,deny
#BrowseAllow all
#BrowseRemoteProtocols CUPS

Actions #5

Updated by r a about 5 years ago

This bug can be closed

Actions #6

Updated by Marcel Telka about 5 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF