On National Teacher Day, meet the 2024-25 Kenan Fellows
Cups start
1. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help
Lubuntu 13.04 - CUPS fails to start on bootup
Hello Unregistered. The next UOS will take place between the 12th
and 14th November. More details to follow here
Thread: Lubuntu 13.04 - CUPS fails to start on bootup
Login with SSO Help
Activity Page Please read before SSO login
Quick Links Forum Community Ubuntu Community Other Support Social Media
Useful Links
Advanced Search
Results 1 to 10 of 27 Page 1 of 3 1 2 3 Last
6 people like this. Sign Up to see
what your friends like.
LikeLike
Thread Tools Display
April 26th, 2013
Join Date:
Jun 2007
Location:
Arizona U.S.A.
Beans:
1,481
Lubuntu 13.04 - CUPS fails to start on bootup
Lubuntu 13.04:
CUPS is not starting at boot-up. I discovered this when attempting to install the printer with this new
install. I then started CUPS from the terminal, was able to install the printer, and print. However, on
restarting the computer, the service again fails to start. How do I configure this service to always
automatically start on bootup?
There is a Desktop Sessions Settings dialog of automatically started applications, but CUPS is not
included there.
Last edited by Dennis N; April 30th, 2013 at 04:19 PM.
#1
Fresh Brewed Ubuntu
Dennis N
Adv Reply
April 27th, 2013
Join Date:
Dec 2009
Beans:
#2
Tea Glorious Tea!
Synoc
Forum
Lubuntu 13.04 - CUPS fails to start on bootup http://ubuntuforums.org/showthread.php?t=213...
1 of 8 10/04/2014 06:05 PM
2. 319
Distro:
Ubuntu 12.04 Precise Pangolin
Re: CUPS fails to start on bootup
open a terminal and give me the output of
Code:
head /etc/init/cups.conf
I've not SEEN it configured wrong before, but I've never not not seen CUPS start on startup before
either
Adv Reply
April 27th, 2013
Join Date:
Jun 2007
Location:
Arizona U.S.A.
Beans:
1,481
Re: CUPS fails to start on bootup
Here is the output:
Code:
dn@Alexa:~$ head /etc/init/cups.conf
# cups - CUPS Printing spooler and server
description "CUPS printing spooler/server"
author "Michael Sweet <msweet@apple.com>"
start on (filesystem
and started avahi-daemon
and (started dbus or runlevel [2345]))
stop on runlevel [016]
#3
Fresh Brewed Ubuntu
Dennis N
Adv Reply
April 27th, 2013 #4
Lubuntu 13.04 - CUPS fails to start on bootup http://ubuntuforums.org/showthread.php?t=213...
2 of 8 10/04/2014 06:05 PM
3. Join Date:
Feb 2007
Location:
West Hills CA
Beans:
8,228
Distro:
Ubuntu 12.10 Quantal Quetzal
Re: CUPS fails to start on bootup
Look for clues in /var/log/cups.
-------------------------------------
Oooh Shiny: PopularPages
Unumquodque potest reparantur. Patientia sit virtus.
This space is currently for rent . .
tgalati4
Adv Reply
April 27th, 2013
Join Date:
Jun 2007
Location:
Arizona U.S.A.
Beans:
1,481
Re: CUPS fails to start on bootup
I'm looking at the output I gave, and I am not a coder, but it looks to me like for cupsd to start avahi-
daemon must be started first? Am I right or wrong?
#5
Fresh Brewed Ubuntu
Dennis N
Adv Reply
April 27th, 2013 #6
Lubuntu 13.04 - CUPS fails to start on bootup http://ubuntuforums.org/showthread.php?t=213...
3 of 8 10/04/2014 06:05 PM
4. Join Date:
Feb 2007
Location:
West Hills CA
Beans:
8,228
Distro:
Ubuntu 12.10 Quantal Quetzal
Re: CUPS fails to start on bootup
avahi simply advertises services--in this case shared printers. It should not cause cupsd to fail. CUPS
does not have a direct dependecy but "recommends" avahi-daemon, which means it should be able to
run without avahi-daemon.
If you are running 13.04, try the following:
Code:
sudo apt-get update
sudo apt-get upgrade
reboot
Then check your printers.
-------------------------------------
Oooh Shiny: PopularPages
Unumquodque potest reparantur. Patientia sit virtus.
This space is currently for rent . .
tgalati4
Adv Reply
April 27th, 2013
Join Date:
Jun 2007
Location:
Arizona U.S.A.
Beans:
1,481
Re: CUPS fails to start on bootup
#7
Fresh Brewed Ubuntu
Dennis N
Lubuntu 13.04 - CUPS fails to start on bootup http://ubuntuforums.org/showthread.php?t=213...
4 of 8 10/04/2014 06:05 PM
5. As to the cups log files, here is part of the error log, with output from a session earlier this afternoon:
Code:
W [26/Apr/2013:13:23:26 -0700] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The
W [26/Apr/2013:13:23:26 -0700] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The
W [26/Apr/2013:13:23:26 -0700] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The
E [26/Apr/2013:13:38:54 -0700] [cups-driverd] Bad driver information file "/usr/share/cups/drv/cup
W [26/Apr/2013:13:38:59 -0700] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The
W [26/Apr/2013:13:38:59 -0700] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The
W [26/Apr/2013:13:38:59 -0700] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The
W [26/Apr/2013:13:48:04 -0700] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The
W [26/Apr/2013:13:48:04 -0700] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The
W [26/Apr/2013:13:48:04 -0700] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The
Not sure these are that relevant to the cups-not-running problem - Lubuntu 12.10 on another
computer shows similar errors (except for the bad driver information file line) and it prints normally.
Thanks for pointing out the logs.
Originally Posted by tgalati4
Look for clues in /var/log/cups.
Adv Reply
April 27th, 2013
Join Date:
Jun 2007
Location:
Arizona U.S.A.
Beans:
1,481
Re: CUPS fails to start on bootup
#8
Fresh Brewed Ubuntu
Dennis N
Originally Posted by tgalati4
avahi simply advertises services--in this case shared printers. It should not cause cupsd to
fail. CUPS does not have a direct dependecy but "recommends" avahi-daemon, which
means it should be able to run without avahi-daemon.
If you are running 13.04, try the following:
Code:
sudo apt-get update
sudo apt-get upgrade
Lubuntu 13.04 - CUPS fails to start on bootup http://ubuntuforums.org/showthread.php?t=213...
5 of 8 10/04/2014 06:05 PM
6. I already tried this earlier. No effect.
Yes, cupsd does not need avahi-daemon, and can run without it, but from the structure of the code, it
appears to me that cupsd will not start unless avahi-daemon has been started first. Am I wrong on
that interpretation?
Next, I just found that avahi-daemon is not installed with Lubuntu 13.04:
Code:
dn@Alexa:~$ apt-cache policy avahi-daemon
avahi-daemon:
Installed: (none)
Candidate: 0.6.31-1ubuntu3
Version table:
0.6.31-1ubuntu3 0
500 http://us.archive.ubuntu.com/ubuntu/ raring/main i386 Packages
It's not installed on my Lubuntu 12.10 installation either, and Lubuntu 12.10 prints normally. But on
12.10, the cups.conf does not include any reference to avahi-daemon - here is the cups.conf from
Lubuntu 12.10:
Code:
dn@Roxanne:~$ head /etc/init/cups.conf
# cups - CUPS Printing spooler and server
description "CUPS printing spooler/server"
author "Michael Sweet <msweet@apple.com>"
start on (filesystem
and (started dbus or runlevel [2345]))
stop on runlevel [016]
respawn
I think I need to install avahi-daemon, or else change the code to remove reference to it.
Comment?
reboot
Then check your printers.
Adv Reply
April 27th, 2013 #9
Lubuntu 13.04 - CUPS fails to start on bootup http://ubuntuforums.org/showthread.php?t=213...
6 of 8 10/04/2014 06:05 PM
7. Join Date:
Jun 2007
Location:
Arizona U.S.A.
Beans:
1,481
Re: CUPS fails to start on bootup
Well, I edited cups.conf and removed the line referring to avahi-daemon. I was correct - this was
stopping cupsd from starting. Tested and confirmed this solution. Printing on Lubuntu 13.04 now
works.
Now, anyone who downloads and installs Lubuntu 13.04 from the same iso is going to be affected
by the same problem.
The iso is at:
http://cdimage.ubuntu.com/lubuntu/re...sktop-i386.iso
and has a misconfigured cups.conf that will prevent the cups-daemon from starting unless fixed.
The corrected cups.conf begins:
Code:
# cups - CUPS Printing spooler and server
description "CUPS printing spooler/server"
author "Michael Sweet <msweet@apple.com>"
start on (filesystem
and (started dbus or runlevel [2345]))
stop on runlevel [016]
respawn
Thanks to Synoc and tgalati4 for your input.
Fresh Brewed Ubuntu
Dennis N
Adv Reply
April 30th, 2013
Join Date:
Dec 2007
Beans:
1
#10
First Cup of Ubuntu
ViniNITRO
Lubuntu 13.04 - CUPS fails to start on bootup http://ubuntuforums.org/showthread.php?t=213...
7 of 8 10/04/2014 06:05 PM