Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In order to get printing working in Arch Linux, I installed cups, cups-filters, and hplilp (ghostscript and gs-fonts were already installed). However, when I try and make the CUPS service run on startup using:

systemctl enable cups.service

I get this error:

Failed to issue method call: No such file or directory

The same thing happens with cupsd. Is there a package I'm missing that I need to install? Why do I not have a CUPS service?

share|improve this question

1 Answer 1

First, check if CUPS can be started directly.

systemctl start cups

If this work, check if /usr/lib/systemd/system/cups.socket exists. If not, this is the problem.

Create /etc/systemd/system/cups.socket with the following content.

[Unit]
Description=CUPS Printing Service Sockets

[Socket]
ListenStream=/var/run/cups/cups.sock

[Install]
WantedBy=sockets.target

Then, install CUPS service.

systemctl enable cups

Other possible workarounds can be found at https://bbs.archlinux.org/viewtopic.php?id=146154.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.