Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Can't install printer om 11.4: cups daemon not running

  1. #1
    Join Date
    Apr 2011
    Location
    Netherlands
    Posts
    5

    Default Can't install printer om 11.4: cups daemon not running

    I'm a recent convert from PCLinuxOS. I like the looks of OpenSuse much better but I'm having some issues with it.

    When I try to install my printer with Yast it says there's no local cups daemon running. It will try to restart the daemon and then tell me it still isn't able to connect to the cups daemon.
    When I go the the system monitor via Krunner I can see that the cupsd daemon is running (root).
    I installed the unofficial 64 bit "KDE reloaded cd" from the dutch wiki.
    Any suggestions?

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,704
    Blog Entries
    1

    Default Re: Can't install printer om 11.4: cups daemon not running

    When I try to install my printer with Yast it says there's no local cups daemon running. It will try to restart the daemon and then tell me it still isn't able to connect to the cups daemon.
    When I go the the system monitor via Krunner I can see that the cupsd daemon is running (root).
    How odd. Make sure that the CUPS printer daemon is enabled here

    YaST>>System>>System Services (Runlevel)

    although I'm not sure why it wouldn't be.

    You can check the status of CUPS with

    Code:
    rccups status
    As a suggestion, try configuring your printer with the CUPS web interface instead (via a browser):

    http://localhost:631/admin

    Any difference?

  3. #3
    Join Date
    Apr 2011
    Location
    Netherlands
    Posts
    5

    Default Re: Can't install printer om 11.4: cups daemon not running

    Thanks for the reply, deano_ferrari.
    Still no luck, though. It seems to work by using the web interface: it goes all the way and doesn't produce errors, but the printer is not showing up in Yast or in Firefox and LibreOffice Writer. I ran it as root and I could print a testpage from the web interface.

    When I run rccups status it tells me cups daemon is running and "YaST>>System>>System Services (Runlevel)" also indicates cups is running. Going back to "Yast > Hardware > Printer" still tells me there's no cups daemon running locally. Is it supposed to run as root as it does?

    Yast tells me to check with lpstat -h localhost -r whether the daemon is running. Only taskplanner (mine is dutch so it says "Taakplanner") shows up......

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Can't install printer om 11.4: cups daemon not running

    On 2011-04-27 23:06, MattijsKattouw wrote:

    > When I run rccups status it tells me cups daemon is running and
    > "YaST>>System>>System Services (Runlevel)" also indicates cups is
    > running. Going back to "Yast > Hardware > Printer" still tells me
    > there's no cups daemon running locally. Is it supposed to run as root as
    > it does?


    Well, that's a bug you should report to whoever packaged what you
    installed, and that is not openSUSE.

    Or, remove that install and really install openSUSE.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,704
    Blog Entries
    1

    Default Re: Can't install printer om 11.4: cups daemon not running

    Yast tells me to check with lpstat -h localhost -r whether the daemon is running. Only taskplanner (mine is dutch so it says "Taakplanner") shows up......
    Is the scheduler running?

    Code:
    lpstat -h localhost -r
    Struggling to get a handle on this. Maybe a bug as Carlos also suspects. Can you 'print to file' ok? (I think that still requires CUPS, so a reasonable test...)

    What does the following command return?

    Code:
    cat /etc/cups/cupsd.conf |grep Listen
    For reference, I get

    Code:
    Listen localhost:631
    Listen /var/run/cups/cups.sock
    I would also have a look at /etc/cups/printers.conf too. (Post the output).

  6. #6
    Join Date
    Apr 2011
    Location
    Netherlands
    Posts
    5

    Default Re: Can't install printer om 11.4: cups daemon not running

    I can print to a file. Somehow overnight the printer showed up in firefox. In system-config-printer I could make contact to server "/var/run/cups/cups.sock" instead of localhost. That makes i8t possible to print, but still from Yast I get the message there's no local cups daemon running.
    "lpstat -h localhost -r" gives me only taskscheduler is active.
    "cat /etc/cups/cupsd.conf |grep Listen" reports "Acces denied".
    When I open etc/cups/printers.conf in Kwrite it's completely blank.. I see another file there that's called printers.conf0.
    Could this be a bug indeed?

  7. #7
    Join Date
    Nov 2009
    Location
    ND, USA
    Posts
    1,131

    Default Re: Can't install printer om 11.4: cups daemon not running

    On Thu April 28 2011 01:06 am, MattijsKattouw wrote:

    >
    > I can print to a file. Somehow overnight the printer showed up in
    > firefox. In system-config-printer I could make contact to server
    > "/var/run/cups/cups.sock" instead of localhost. That makes i8t possible
    > to print, but still from Yast I get the message there's no local cups
    > daemon running.
    > "lpstat -h localhost -r" gives me only taskscheduler is active.
    > "cat /etc/cups/cupsd.conf |grep Listen" reports "Acces denied".
    > When I open etc/cups/printers.conf in Kwrite it's completely blank.. I
    > see another file there that's called printers.conf0.
    > Could this be a bug indeed?
    >
    >

    mattijsKattouw;

    You need root privilege to read these files: Try
    Code:
    su -
    cat /etc/cups/cupsd.conf | grep Listen
    cat /etc/cups/printers.conf
    exit
    --
    P. V.
    "We're all in this together, I'm pulling for you." Red Green

  8. #8
    Join Date
    Apr 2011
    Location
    Netherlands
    Posts
    5

    Default Re: Can't install printer om 11.4: cups daemon not running

    I am able to print now. In the webinterface I set myself to be an allowed user and in the system-config-printer program I set the connection to the CUPS server from localhost to /var/run/cups/cups.sock.
    Through Yast I still get the "no local Cups daemon running error.

    That last command.you gave me gave:
    Code:
    # Printer configuration file for CUPS v1.4.6
    # Written by cupsd on 2011-04-27 23:38
    # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
    <Printer Canon_iP4500_series>
    Info Canon iP4500 series
    Location Zolder
    MakeModel Canon PIXMA iP4500 - CUPS+Gutenprint v5.2.6
    DeviceURI usb://Canon/iP4500%20series
    State Idle
    StateTime 1303936724
    Type 45084
    Filter application/vnd.cups-raw 0 -
    Filter application/vnd.cups-raster 100 rastertogutenprint.5.2
    Accepting Yes
    Shared Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    AllowUser mattijs
    OpPolicy default
    ErrorPolicy stop-printer
    </Printer>
    I can just leave it at this since I'm able to print but there is a misconfiguration somewhere, probably in the Yast printer module. Any final ideas?

  9. #9
    Join Date
    Nov 2009
    Location
    ND, USA
    Posts
    1,131

    Default Re: Can't install printer om 11.4: cups daemon not running

    On Thu April 28 2011 02:06 pm, MattijsKattouw wrote:

    >
    > I am able to print now. In the webinterface I set myself to be an
    > allowed user and in the system-config-printer program I set the
    > connection to the CUPS server from localhost to
    > /var/run/cups/cups.sock.
    > Through Yast I still get the "no local Cups daemon running error.
    >
    > That last command.you gave me gave:
    >

    <snip>
    > --------------------
    >
    >
    > I can just leave it at this since I'm able to print but there is a
    > misconfiguration somewhere, probably in the Yast printer module. Any
    > final ideas?
    >

    MattijsKattouw;

    Congratulations on getting the printer to work. It is often easier to use the
    CUPS front end directly rather than use to use YaST to install printers.

    You might want to wait for deano ferrari to respond, but I would recommend:

    1. Make sure you have the most recent updates from OpenSuse and
    2. Reinstall the "yast2-printer" package. Get the package from the repos not
    from the DVD.

    --
    P. V.
    "We're all in this together, I'm pulling for you." Red Green

  10. #10
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,704
    Blog Entries
    1

    Default Re: Can't install printer om 11.4: cups daemon not running

    Yes, a good idea to see if there are any updates available:

    Code:
    sudo zypper up
    I'd still like to see the output from the following as well:

    Code:
    su -
    cat /etc/cups/cupsd.conf | grep Listen

Page 1 of 2 12 LastLast

Posting Permissions

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