Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27

Thread: Leap. Cups not working after upgrade from 13.1

  1. #11
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,712
    Blog Entries
    1

    Default Re: Leap. Cups not working after upgrade from 13.1

    Pretty fresh upgrade to Leap 42.1 from 13.1 all is working well except printing over network.
    Just to clarify - was this a clean install or an 'in-situ' upgrade?

  2. #12
    Join Date
    Jan 2009
    Location
    Taft, Republic of California. UTC -8
    Posts
    1,474

    Default Re: Leap. Cups not working after upgrade from 13.1

    I can't make any sense of this.
    Logs go back to January 2003.
    This machine has been through several upgrades.
    The last was from installation media to Leap.
    Previously I've used zypper dup

    From a reboot
    Code:
    Dec 14 12:10:13 linux-jf72 systemd[1]: Starting CUPS Printing Service...
    Dec 14 12:10:13 linux-jf72 systemd[1]: Started CUPS Printing Service.
    Dec 14 12:10:13 linux-jf72 cupsd[3980]: No limit for Validate-Job defined in policy allowallforanybody and no suitable template found.
    Dec 14 12:10:13 linux-jf72 cupsd[3980]: No limit for Cancel-Jobs defined in policy allowallforanybody and no suitable template found.
    Dec 14 12:10:13 linux-jf72 cupsd[3980]: No limit for Cancel-My-Jobs defined in policy allowallforanybody and no suitable template found.
    Dec 14 12:10:13 linux-jf72 cupsd[3980]: No limit for Close-Job defined in policy allowallforanybody and no suitable template found.
    Dec 14 12:10:13 linux-jf72 cupsd[3980]: No limit for CUPS-Get-Document defined in policy allowallforanybody and no suitable template found.
    Dec 14 12:10:13 linux-jf72 cupsd[3980]: No JobPrivateAccess defined in policy allowallforanybody - using defaults.
    Dec 14 12:10:13 linux-jf72 cupsd[3980]: No JobPrivateValues defined in policy allowallforanybody - using defaults.
    Dec 14 12:10:13 linux-jf72 cupsd[3980]: No SubscriptionPrivateAccess defined in policy allowallforanybody - using defaults.
    Dec 14 12:10:13 linux-jf72 cupsd[3980]: No SubscriptionPrivateValues defined in policy allowallforanybody - using defaults.
    Dec 14 13:22:12 linux-jf72 systemd[1]: Stopping CUPS Printing Service...
    Dec 14 13:22:18 linux-jf72 systemd[1]: Stopped CUPS Printing Service.
    
    Tumbleweed

  3. #13
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,712
    Blog Entries
    1

    Default Re: Leap. Cups not working after upgrade from 13.1

    Hi FlameBait

    I wonder if Is the upgrade left some openSUSE 13.1 leftovers.... perhaps a chance socket activation is at play here?

    This is strange
    Code:
    Dec 14 13:22:12 linux-jf72 systemd[1]: Stopping CUPS Printing Service...
    Dec 14 13:22:18 linux-jf72 systemd[1]: Stopped CUPS Printing Service.


    Let's see if anything is returned by
    Code:
    systemctl status cups.socket

  4. #14
    Join Date
    Jan 2009
    Location
    Taft, Republic of California. UTC -8
    Posts
    1,474

    Default Re: Leap. Cups not working after upgrade from 13.1

    Code:
    linux-jf72:/home/ann # systemctl status cups.socket
    cups.socket
       Loaded: not-found (Reason: No such file or directory)
       Active: inactive (dead)
    
    Dec 22 14:50:34 linux-jf72 systemd[1]: Cannot add dependency job for unit cups.socket, ignoring: Unit cups.socket failed to load: No such file or directory.
    Dec 22 14:50:37 linux-jf72 systemd[1]: Cannot add dependency job for unit cups.socket, ignoring: Invalid argument
    Dec 22 14:51:41 linux-jf72 systemd[1]: Cannot add dependency job for unit cups.socket, ignoring: Unit cups.socket failed to load: No such file or directory.
    Dec 22 15:30:01 linux-jf72 systemd[1]: Cannot add dependency job for unit cups.socket, ignoring: Unit cups.socket failed to load: No such file or directory.
    
    
    Tumbleweed

  5. #15
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,712
    Blog Entries
    1

    Default Re: Leap. Cups not working after upgrade from 13.1

    I expected this part if the unit file doesn't exist

    Code:
    linux-jf72:/home/ann # systemctl status cups.socket
    cups.socket
       Loaded: not-found (Reason: No such file or directory)
       Active: inactive (dead)


    but this suggests other problems. I interpret this as leftover systemd unit file configuration from openSUSE 13.1 (where CUPS socket activation was first employed)

    Code:
    Dec 22 14:50:34 linux-jf72 systemd[1]: Cannot add dependency job for unit cups.socket, ignoring: Unit cups.socket failed to load: No such file or directory.
    Dec 22 14:50:37 linux-jf72 systemd[1]: Cannot add dependency job for unit cups.socket, ignoring: Invalid argument
    Dec 22 14:51:41 linux-jf72 systemd[1]: Cannot add dependency job for unit cups.socket, ignoring: Unit cups.socket failed to load: No such file or directory.
    Dec 22 15:30:01 linux-jf72 systemd[1]: Cannot add dependency job for unit cups.socket, ignoring: Unit cups.socket failed to load: No such file or directory.


    What is reported by the following?
    Code:
    find /etc/systemd/system/ -iname "cups*"
    Last edited by deano_ferrari; 22-Dec-2015 at 17:37.

  6. #16
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,712
    Blog Entries
    1

    Default Re: Leap. Cups not working after upgrade from 13.1

    FWIW, this post reported similar behaviour with a TW installation

    https://forums.opensuse.org/showthre...rnalctl-output

    Not sure if anything there might help. Your issue is a consequence of stale configuration leftover from the upgrade from openSUSE 13.1.

  7. #17
    Join Date
    Jan 2009
    Location
    Taft, Republic of California. UTC -8
    Posts
    1,474

    Default Re: Leap. Cups not working after upgrade from 13.1

    OK here is this bit.
    Code:
    linux-jf72:/home/ann # find /etc/systemd/system/ -iname "cups*"
    /etc/systemd/system/printer.target.wants/cups.service
    /etc/systemd/system/sockets.target.wants/cups.socket
    /etc/systemd/system/multi-user.target.wants/cups.path
    /etc/systemd/system/cupsd.service
    
    
    I just got back home.
    I'll look at the thread you indicated with the URL.
    It very well could be the consequence of going direct from 13.1 to Leap 42.1 without 13.2 intervening between.

    Edit
    looking that that thread. This seems different as
    Code:
    service cups restart
    enables a working service.
    Tumbleweed

  8. #18
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,712
    Blog Entries
    1

    Default Re: Leap. Cups not working after upgrade from 13.1

    Quote Originally Posted by FlameBait View Post
    OK here is this bit.
    Code:
    linux-jf72:/home/ann # find /etc/systemd/system/ -iname "cups*"
    /etc/systemd/system/printer.target.wants/cups.service
    /etc/systemd/system/sockets.target.wants/cups.socket
    /etc/systemd/system/multi-user.target.wants/cups.path
    /etc/systemd/system/cupsd.service
    
    
    Ah, as I suspected. Remove the following

    Code:
    rm -f /etc/systemd/system/sockets.target.wants/cups.socket

    Code:
    rm -f /etc/systemd/system/multi-user.target.wants/cups.path

    Usually it would be enough to then do
    Code:
    systemctl daemon-reload
    but as we want to make sure cupsd stays active after your system has booted, you'll need to reboot anyway.

    Hopefully cups will stay running following the next boot.
    Code:
    systemctl status cups

  9. #19
    Join Date
    Jan 2009
    Location
    Taft, Republic of California. UTC -8
    Posts
    1,474

    Default Re: Leap. Cups not working after upgrade from 13.1

    Done and darn LOL.

    Code:
    linux-jf72:/home/ann # systemctl status cups
    cups.service - CUPS Printing Service
       Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
       Active: inactive (dead)
    
    Tumbleweed

  10. #20
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,712
    Blog Entries
    1

    Default Re: Leap. Cups not working after upgrade from 13.1

    Correction: Remove all of these files
    Code:
    /etc/systemd/system/printer.target.wants/cups.service
    /etc/systemd/system/sockets.target.wants/cups.socket
    /etc/systemd/system/multi-user.target.wants/cups.path
    /etc/systemd/system/cupsd.service


    When you do the following
    Code:
    systemctl enable cups
    it should generate '/etc/systemd/system/multi-user.target.wants/cups.service' accordingly. Verify this is the case.

Page 2 of 3 FirstFirst 123 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
  •