printing service not available after recent upgrade

Bug #1432414 reported by Craig Magina on 2015-03-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
ssl-cert (Ubuntu)

Bug Description

Prior to a recent update, the wireless printer worked fine, now the system settings printing configuration says that "Printing service not available. Start the service on this computer or connect to another server." The "Start Service" button is greyed out leaving just the "Connect" button. When clicked it brings up a dialog asking where the cups server is located, default is localhost, and an unchecked checkbox for "Require encryption." Click the "Continue" button and get an error message: "There was an error during the CUPS operation: 'failed to connect to server'."

Looking at the cups error log, this message is printed:
E [15/Mar/2015:09:26:48 -0400] "/etc/cups/ssl/server.crt" is a bad symlink - No such file or directory
E [15/Mar/2015:09:26:48 -0400] "/etc/cups/ssl/server.key" is a bad symlink - No such file or directory

It seems the ssl-cert package's snakeoil certs were removed by something, reinstalling that package restored the ssl files the above links point to.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: cups 1.7.5-3ubuntu3.1
ProcVersionSignature: Ubuntu 3.16.0-31.43-generic 3.16.7-ckt5
Uname: Linux 3.16.0-31-generic x86_64
ApportVersion: 2.14.7-0ubuntu8.2
Architecture: amd64
 E [15/Mar/2015:09:26:48 -0400] "/etc/cups/ssl/server.crt" is a bad symlink - No such file or directory
 E [15/Mar/2015:09:26:48 -0400] "/etc/cups/ssl/server.key" is a bad symlink - No such file or directory
CurrentDesktop: Unity
Date: Sun Mar 15 14:46:34 2015
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: Bad file descriptor
MachineType: System76, Inc. Wild Dog Performance
PpdFiles: Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/HP-7520.ppd'] failed with exit code 2: grep: /etc/cups/ppd/HP-7520.ppd: Permission denied
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-31-generic root=UUID=968bc182-d0be-4b2c-9558-2a6d5af9b400 ro quiet splash vt.handoff=7
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install) 10/09/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2306
dmi.board.asset.tag: To be filled by O.E.M. H97-PLUS
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: System76, Inc.
dmi.chassis.version: wilp11
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2306:bd10/09/2014:svnSystem76,Inc.:pnWildDogPerformance:pvrwilp11:rvnASUSTeKCOMPUTERINC.:rnH97-PLUS:rvrRevX.0x:cvnSystem76,Inc.:ct3:cvrwilp11: Wild Dog Performance
dmi.product.version: wilp11
dmi.sys.vendor: System76, Inc.

Craig Magina (craig.magina) wrote :
Till Kamppeter (till-kamppeter) wrote :

So most probably this is not a CUPS bug as the files missing do not belong to CUPS. The bug is probably caused by whatever package which contains the program which removes the files. As the files belong to snakeoil I add a snakeoil task, perhaps the maintainer of snakeoil knows better how these files can disappear.

Till Kamppeter (till-kamppeter) wrote :

Sorry, ssl-cert not snakeoil.

What is the value of the 'Listen' variable in /etc/cups/cupsd.conf ?

You can get this value by typing the following command in a terminal:

sudo grep Listen /etc/cups/cupsd.conf

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers