Results 1 to 10 of 10

Thread: Cups not starting on boot. Needs to be manually started.

  1. #1
    Join Date
    Oct 2006
    Location
    St. Louis, MO USA
    Beans
    16
    Distro
    Ubuntu 9.10 Karmic Koala

    Cups not starting on boot. Needs to be manually started.

    I am running Ubuntu 9.10, and every time the computer starts, cups does not appear to be running. I have to run the following from the command line:
    Code:
    sudo /etc/init.d/cups start
    After cups is started, printing works fine. Does anyone know how I can get cups to start on it's own when the computer boots?

  2. #2
    Join Date
    Aug 2008
    Beans
    214

    Re: Cups not starting on boot. Needs to be manually started.

    Go to:

    System > Preferences > Main Menu

    In that do:

    Determine which subsection, and click on it

    With subsection highligten, click "New Item" in the upper left

    Give it a name, enter the command, and any comments.

    Click "Close" and it should start the next time you boot.

  3. #3
    Join Date
    Oct 2006
    Location
    St. Louis, MO USA
    Beans
    16
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Cups not starting on boot. Needs to be manually started.

    Quote Originally Posted by joeyknuccione View Post
    Go to:

    System > Preferences > Main Menu

    In that do:

    Determine which subsection, and click on it

    With subsection highligten, click "New Item" in the upper left

    Give it a name, enter the command, and any comments.

    Click "Close" and it should start the next time you boot.
    joeyknuccione,

    Thank you for the response, but I'm pretty sure that is just going to add a launcher to my main menu, right? I would prefer if cups would just start up on it's own without me having to go into my menu.

    If it is any help, cups use to start on it's own when the computer booted up. I'm not sure exactly when it stopped because this is not my computer and they are not sure when it stopped working either. I'm guessing that this started after a software update was run, but I have no specific evidence of that.

    Any other ideas?

  4. #4
    Join Date
    Dec 2009
    Beans
    116

    Re: Cups not starting on boot. Needs to be manually started.

    Doh! Do this...

    System > Preferences > Startup Applications

    In that do:

    Click on "Add" at the right.

    Enter name, command, and maybe a comment.

    Close out and it should start on your next boot.

  5. #5
    Join Date
    Oct 2006
    Location
    St. Louis, MO USA
    Beans
    16
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Cups not starting on boot. Needs to be manually started.

    That doesn't seem to work either. I tried adding:
    Code:
    /etc/init.d/cups start
    and...
    Code:
    sudo /etc/init.d/cups start
    I don't think this is working because cups needs to be started as root and there is no way to authenticate.

    Something else interesting to note is that I just installed openssh-server on this computer as well and it does not start on it's own either. This is compounding the issue because I am troubleshooting remotely.

    Is there some sort of an init.d log that i can check to see if there are errors somewhere?

  6. #6
    Join Date
    Dec 2009
    Beans
    116

    Re: Cups not starting on boot. Needs to be manually started.

    I'm sorry I can't be much more help, being an amateur and all.

    You might try to take permanent ownership of the cup file in question...

    Since it is a potential security issue to do so, I'll leave it to you to sort out the proper chown command for that.

    Sorry I can't be more help.

  7. #7
    Join Date
    Oct 2006
    Location
    St. Louis, MO USA
    Beans
    16
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Cups not starting on boot. Needs to be manually started.

    Well I finally got it fixed and ssh is starting on boot now too. Luckily I came across this bug listing:

    bugs.launchpad.net/ubuntu/+source/upstart/+bug/500520

    I was missing the following from my /etc/network/interfaces file:
    Code:
    auto lo
    iface lo inet loopback
    After rebooting everything started working again.

  8. #8
    Join Date
    Jun 2006
    Location
    81mm mortar range of MS
    Beans
    346

    Re: Cups not starting on boot. Needs to be manually started.

    Quote Originally Posted by eqqfooyoung View Post
    I was missing the following from my /etc/network/interfaces file:
    Code:
    auto lo
    iface lo inet loopback
    After rebooting everything started working again.
    My /etc/network/interfaces file was completely empty. This solved my cupsd problem too!=D>

    P.S. You might want to mark the thread "Solved", so others can find it.

  9. #9
    Join Date
    May 2007
    Beans
    525
    Distro
    Ubuntu Development Release

    Re: Cups not starting on boot. Needs to be manually started.

    Quote Originally Posted by eqqfooyoung View Post
    Well I finally got it fixed and ssh is starting on boot now too. Luckily I came across this bug listing:

    bugs.launchpad.net/ubuntu/+source/upstart/+bug/500520

    I was missing the following from my /etc/network/interfaces file:
    Code:
    auto lo
    iface lo inet loopback
    After rebooting everything started working again.
    Thanks a lot, I had manually edited my /etc/network/interfaces file before, and now was having problems, goes on to show that manually editing configs can have very far reaching consequences, who knew that editing a network file would stop your printing?

  10. #10
    Join Date
    Jul 2006
    Beans
    21
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Cups not starting on boot. Needs to be manually started.

    Quote Originally Posted by eqqfooyoung View Post
    Well I finally got it fixed and ssh is starting on boot now too. Luckily I came across this bug listing:

    bugs.launchpad.net/ubuntu/+source/upstart/+bug/500520

    I was missing the following from my /etc/network/interfaces file:
    Code:
    auto lo
    iface lo inet loopback
    After rebooting everything started working again.
    I had the same problem afterupgrading my Kubuntu 9.10 to 10.04. CUPS was starting up fine in 9.10, but would not work in 10.04. I am not sure about ssh or sshd in my case, but I found that the "iface lo inet loopback" was missing in my /etc/network/interfaces too.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •