Cups Renaming Update - systemctl command sequence not working

Cups Renaming Update - systemctl command set not working

After the CUPS renaming in the 27 Nov. Update, I was unable to print. I ran the command set listed in the forum news post:

sudo systemctl disable --now org.cups.cupsd.socket

sudo systemctl disable --now org.cups.cupsd.service

sudo systemctl disable --now org.cups.cupsd.path

sudo systemctl enable --now cups.service

sudo systemctl enable --now cups.socket

sudo systemctl enable --now cups.path

Specifically, here’s the terminal output:

[spike@zenboy ~]$ sudo systemctl disable --now org.cups.cupsd

[sudo] password for spike:

Removed /etc/systemd/system/printer.target.wants/org.cups.cupsd.service.

Failed to stop org.cups.cupsd.service: Unit org.cups.cupsd.service not loaded.

[spike@zenboy ~]$ sudo systemctl enable --now cups

Created symlink /etc/systemd/system/printer.target.wants/cups.service → /usr/lib/systemd/system/cups.service.

Created symlink /etc/systemd/system/sockets.target.wants/cups.socket → /usr/lib/systemd/system/cups.socket.

Created symlink /etc/systemd/system/multi-user.target.wants/cups.path → /usr/lib/systemd/system/cups.path.

[spike@zenboy ~]$ pacman -Ql cups | grep systemd

cups /usr/lib/systemd/

cups /usr/lib/systemd/system/

cups /usr/lib/systemd/system/cups-lpd.socket

cups /usr/lib/systemd/system/cups-lpd@.service

cups /usr/lib/systemd/system/cups.path

cups /usr/lib/systemd/system/cups.service

cups /usr/lib/systemd/system/cups.socket

[spike@zenboy ~]$ ls -lR /etc/systemd/ | grep cups

lrwxrwxrwx 1 root root 33 Dec 3 13:26 cups.path -> /usr/lib/systemd/system/cups.path

lrwxrwxrwx 1 root root 43 Dec 5 2017 org.cups.cupsd.path -> /usr/lib/systemd/system/org.cups.cupsd.path

lrwxrwxrwx 1 root root 36 Dec 3 13:26 cups.service -> /usr/lib/systemd/system/cups.service

lrwxrwxrwx 1 root root 35 Dec 3 13:26 cups.socket -> /usr/lib/systemd/system/cups.socket

lrwxrwxrwx 1 root root 45 Dec 5 2017 org.cups.cupsd.socket -> /usr/lib/systemd/system/org.cups.cupsd.socket

[spike@zenboy ~]$ sudo systemctl disable --now org.cups.cupsd.socket

[sudo] password for spike:

Removed /etc/systemd/system/sockets.target.wants/org.cups.cupsd.socket.

Failed to stop org.cups.cupsd.socket: Unit org.cups.cupsd.socket not loaded.

[spike@zenboy ~]$ sudo systemctl disable --now org.cups.cupsd.service

Failed to disable unit: Unit file org.cups.cupsd.service does not exist.

[spike@zenboy ~]$ sudo systemctl disable --now org.cups.cupsd.path

Removed /etc/systemd/system/multi-user.target.wants/org.cups.cupsd.path.

Failed to stop org.cups.cupsd.path: Unit org.cups.cupsd.path not loaded.

[spike@zenboy ~]$

[spike@zenboy ~]$ sudo systemctl enable --now cups.service

[spike@zenboy ~]$ sudo systemctl enable --now cups.socket

[spike@zenboy ~]$ sudo systemctl enable --now cups.path

[spike@zenboy ~]$

Before running the command set I had lost my printer option in libreoffice etc., as well as not being able to see the CUPS admin web page – after running the commands I had the printer name and the CUPS page visible again, but I still cannot print.

I get an error message in the print monitor which includes: The printer may not exist or is unavailable at this time. Reasons: “cups-ipp-conformance-failure-report”, “cups-ipp-missing-job-history” “cups-ipp-wrong-http-version”.

Since the systemctl commands appear to not have worked, any ideas as to what I might try next. Or are there any other data, files, or logs that I might post to help debug this?

Thank you.

Once you did as per wiki post in the announcement, did you reboot your system?

3 Likes

Yes, bogdancovaciu, I did, and have a number of times since. After the commands, it now seems to see the printer, but I cannot get the file to make it there through the network. I have rebooted the printer a couple of times as well.
Are there any logs or settings I should be looking at, or posting here?

Post contents of:

/var/log/cups/access_log

and

/var/log/cups/error_log *

* This might be a large file. Use a pastebin, if necessary.