CUPS daemon does not start when booting Lucid

Bug #495726 reported by Tim Tierney
76
This bug affects 15 people
Affects Status Importance Assigned to Milestone
sysvinit (Ubuntu)
Incomplete
High
Unassigned

Bug Description

Binary package hint: cups

OS: Ubuntu 9.10

cups:
  Installed: 1.4.1-5ubuntu2.1
  Candidate: 1.4.1-5ubuntu2.1
  Version table:
 *** 1.4.1-5ubuntu2.1 0
        500 http://archive.ubuntu.com karmic-updates/main Packages
        500 http://security.ubuntu.com karmic-security/main Packages
        100 /var/lib/dpkg/status
     1.4.1-5ubuntu2 0
        500 http://archive.ubuntu.com karmic/main Packages

I went into my printer configuration and found that it was disconnected to the print server. After attempting to connect I receive an error. "There was an error during the cups operation: 'httpConnectionEncrypt failed'.

Note: restarting cups seems to fix the problem so far. I don't think cups is starting when I log in.

ProblemType: Bug
Architecture: i386
CheckboxSubmission: 29102e0a5c695caa811ca170fcbefaab
CheckboxSystem: bb422ca46d02494cdbc459927a98bc2f
CupsErrorLog:

Date: Fri Dec 11 19:18:42 2009
DistroRelease: Ubuntu 9.10
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: Connection refused
MachineType: LENOVO 2757CTO
NonfreeKernelModules: nvidia
Package: cups 1.4.1-5ubuntu2.1
Papersize: letter
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-17-generic root=UUID=b2d3d889-f26d-414d-9a3d-698c6cc46917 ro quiet splash
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
SourcePackage: cups
Uname: Linux 2.6.31-17-generic i686
dmi.bios.date: 09/24/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7ZETA8WW (2.08 )
dmi.board.name: 2757CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7ZETA8WW(2.08):bd09/24/2009:svnLENOVO:pn2757CTO:pvrThinkPadW700:rvnLENOVO:rn2757CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 2757CTO
dmi.product.version: ThinkPad W700
dmi.sys.vendor: LENOVO

Revision history for this message
Tim Tierney (timtierney) wrote :
Tim Tierney (timtierney)
description: updated
Tim Tierney (timtierney)
description: updated
Revision history for this message
Christopher (soft-kristal) wrote :

Confirmed on my Lucid partition. I seem to have all the installations needed. One of my printers is an HP OfficeJet. It's recognized by SANE but not cups.

I can't connect to http://127.0.0.1:631/printers/ either.

My printer configuration is blank and I cannot add a printer due to it being grayed out.

Revision history for this message
Tim Tierney (timtierney) wrote :

Its good I finally got some response. Lol. Yeah its just that cups isn't starting. I have to start it by hand.

sudo /etc/init.d/cups start

Revision history for this message
Christopher (soft-kristal) wrote :

Thanks - I've kept the command for future use. Everything - including IPP is working now; well, except my Canon FaxPhone, but Canon has miserable support for Linux.

Revision history for this message
Christopher (soft-kristal) wrote :

It's getting annoying to have to start CUPS each time Lucid reboots.

Revision history for this message
Tim Tierney (timtierney) wrote :

I agree. Only I've got this problem on Karmic. I'm so happy nobody is answering this bug.

Revision history for this message
Christopher (soft-kristal) wrote :

I tried adding it to my Preferences/Startup Applications but no joy there.

Revision history for this message
Tim Tierney (timtierney) wrote :

I'm not sure but I think that the Print Queue Applet is supposed to start cups.

A better option is to install Boot-up Manager. I went through the list and founds cups was in there. I can't find an error in the logs either.

Revision history for this message
Christopher (soft-kristal) wrote :

I checked the path in the Print Queue Applet in Karmic (where it's working) against the same path in Lucid (where it's not) and they are identical.

Wouldn't it be nice if someone picked this bug up - or at least acknowledge it?

Revision history for this message
Christopher (soft-kristal) wrote :

I believe this is an upstart problem as reported in bug 511387. Apparently other services are not starting either.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

For me it is also an upstart problem and not a CUPS bug. Anyone can assign it to the correct package? Thanks.

summary: - Cannot Conect Cups
+ CUPS daemon does not start when booting Lucid
Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I assign it to upstart for the time being. Please reassign if the problem is in another package.

affects: cups (Ubuntu) → upstart (Ubuntu)
Revision history for this message
Christopher (soft-kristal) wrote :

I was able to overcome the problem using the boot manager. Cups was there, but not ticked.

Revision history for this message
Tim Tierney (timtierney) wrote :

I'm glad everything worked out for you Chris. Mine is ticked Boot-Up Manager? I'm stumped on this.

Revision history for this message
emarkay (mrk) wrote :

Why is this bug marked "incomplete"? What more information is needed?
Why has an importance/priority not been assigned?

Being unable to print anything is a rather serious problem - even for an Alpha release.

Changed in upstart (Ubuntu):
status: Incomplete → Confirmed
importance: Undecided → High
Revision history for this message
Martin Pitt (pitti) wrote :

Can you please check wheter you have correct rc2.d links?

They should look like this:

$ ls -l /etc/rc*/*cups*
lrwxrwxrwx 1 root root 14 2009-12-09 16:29 /etc/rc1.d/K80cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 2009-12-09 16:29 /etc/rc2.d/S50cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 2009-12-09 16:29 /etc/rc3.d/S50cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 2009-12-09 16:29 /etc/rc4.d/S50cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 2009-12-09 16:29 /etc/rc5.d/S50cups -> ../init.d/cups

Changed in upstart (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Tim Tierney (timtierney) wrote :

Mine looks exactly like that in Karmic. But still same problem.

Revision history for this message
emarkay (mrk) wrote :

ls -l /etc/rc*/*cups*
lrwxrwxrwx 1 root root 14 2010-01-15 15:45 /etc/rc0.d/K50cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 2010-01-15 15:45 /etc/rc1.d/K50cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 2010-01-15 15:45 /etc/rc2.d/K50cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 2010-01-15 15:45 /etc/rc3.d/K50cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 2010-01-15 15:45 /etc/rc4.d/K50cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 2010-01-15 15:45 /etc/rc5.d/K50cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 2010-01-15 15:45 /etc/rc6.d/K50cups -> ../init.d/cups

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

CUPS is not started by an Upstart job, but by a sysvinit script

affects: upstart (Ubuntu) → sysvinit (Ubuntu)
Revision history for this message
Waldgeist_dI (noway) wrote :

I'm a bit confused --- the heading says something about Lucid having a problem with CUPS, but the system in the first post seems to be Karmic? Also, there's a warning message about this bug being a duplicate of bug #497299, but there they don't want to hear about Lucid systems, it seems (see comment #51).

Anyway, my CUPS daemon won't start either on an up-to-date Lucid 32 bit system. Manually starting it works.

ls -l /etc/rc*/*cups*

lrwxrwxrwx 1 root root 14 2010-01-23 22:25 /etc/rc0.d/K50cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 2010-01-23 22:25 /etc/rc1.d/K50cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 2010-01-23 22:25 /etc/rc2.d/K50cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 2010-01-23 22:25 /etc/rc3.d/K50cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 2010-01-23 22:25 /etc/rc4.d/K50cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 2010-01-23 22:25 /etc/rc5.d/K50cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 2010-01-23 22:25 /etc/rc6.d/K50cups -> ../init.d/cups

What else can I do to help diagnose the problem?

Revision history for this message
Steve Langasek (vorlon) wrote :

Waldgeist_dl,

You don't have this bug. For some reason, you have manually configured your runlevels to never start the cups daemon, and need to revert that if you want cups to be started automatically. The simplest way to achieve this is by running "sudo mv /etc/rc2.d/K50cups /etc/rc2.d/S50cups".

Revision history for this message
Dean Loros (autocrosser) wrote :

I'm having the same problem--in my case, running "sudo mv /etc/rc2.d/K50cups /etc/rc2.d/S50cups" is not working. I had reinstalled right about Alpha2 & I wonder if a script is missing for cups. I check /etc/init.d & cups is there...I can manually start cups with "sudo /etc/init.d/cups start" & it works just fine.

ls -l /etc/rc*/*cups*
lrwxrwxrwx 1 root root 14 2010-02-17 17:52 /etc/rc1.d/K80cups -> ../init.d/cups
lrwxrwxrwx 1 root root 16 2010-03-30 19:46 /etc/rc2.d/S50cups -> /etc/init.d/cups
lrwxrwxrwx 1 root root 14 2010-02-17 17:52 /etc/rc3.d/S50cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 2010-02-17 17:52 /etc/rc4.d/S50cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 2010-02-17 17:52 /etc/rc5.d/S50cups -> ../init.d/cups

& that won't work.....I can also use bootup manager to start my cups---it also shows cups as S50, but not started.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.