Announcement

Collapse
No announcement yet.

CUPS is not running

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    CUPS is not running


    CUPS used to work for me with this release, but it does not seem to be working now.

    When I try to enter the URL http://localhost:631, my browser tells me the url is not found.

    I ran 'ps -elf | grep cups' and it did not find a process with 'cups' running.

    I tried running 'sudo service cups start' and got:

    start: Job failed to start

    I also tried running 'sudo service cups stop' and got:

    stop: Unknown instance:


    It looks to me like the daemon is not running for some reason and that it will not start.

    I check my package manager and CUPS is installed, and I upgraded to the newest release today, but still
    got the same results.

    I would appreciate any suggestions. Thank you.

    Jim Anderson

    #2
    Re: CUPS is not running

    The CUPS documentation explains how to enable error logging. Then take a look in /var/log/cups and you might discover the problem.

    Comment


      #3
      Re: CUPS is not running


      Steve,

      Thank you for the suggestion, but I believe the logging that you referred to is the access logging for CUPS, i.e. it logs the activities of CUPS once the daemon is started. My problem is that the daemon will not start. I did check the /var/log/cups directory and there was no log there that would give a hint for the start up problem.

      Jim

      Comment


        #4
        Re: CUPS is not running

        Does cups start if you launch it manually:
        Code:
        sudo /usr/sbin/cupsd
        any error message?

        Comment


          #5
          Re: CUPS is not running

          Open a console and just reinstall cups:
          Code:
          sudo apt-get install --reinstall cups
          Then reboot and check to see if Cups is running.
          Using Kubuntu Linux since March 23, 2007
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #6
            Hi snowhog,

            I tried running 'sudo apt-get install --reinstall cups' and got
            Reading package lists... Done
            Building dependency tree
            Reading state information... Done
            0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 248 not upgraded.
            Need to get 0B/1,914kB of archives.
            After this operation, 0B of additional disk space will be used.
            Preconfiguring packages ...
            (Reading database ... 188925 files and directories currently installed.)
            Preparing to replace cups 1.4.4-6ubuntu2.4 (using .../cups_1.4.4-6ubuntu2.4_i386.deb) ...
            stop: Unknown instance:
            Unpacking replacement cups ...
            Processing triggers for ureadahead ...
            ureadahead will be reprofiled on next reboot
            Processing triggers for ufw ...
            Processing triggers for doc-base ...
            Processing 1 changed doc-base file(s)...
            Processing triggers for man-db ...
            Setting up cups (1.4.4-6ubuntu2.4) ...
            start: Job failed to start

            Clearly, something is still wrong. I tried running, 'sudo /usr/sbin/cupsd' as kubicle suggested and got the following
            error message:

            /usr/sbin/cupsd: error while loading shared libraries: libcupsmime.so.1: cannot open shared object file: No such file or directory

            I'm thinking it may be time to upgrade to Kubuntu 11.10 and start anew.

            Jim A.

            Comment


              #7
              Originally posted by jjanderson5 View Post
              Clearly, something is still wrong. I tried running, 'sudo /usr/sbin/cupsd' as kubicle suggested and got the following
              error message:

              /usr/sbin/cupsd: error while loading shared libraries: libcupsmime.so.1: cannot open shared object file: No such file or directory
              Try (re)installing 'libcupsmime1'

              Comment

              Working...
              X