Ask Your Question

How do I activate cupsd?

asked 2017-07-06 18:41:58 -0500

iliffe gravatar image

Fedora 25, new installation, there is no systemd service/unit file nor an init.d file to start cupsd. I tried to construct a systemd service file but it just hangs and eventually dies after a few minutes so I obviously need something I don't know.

just typing "cupsd" at the command prompt does start cupsd but it doesn't seem to do anything and it has to come up automatically on system boot, without operator intervention.

I want cupsd to serve IPP protocol (socket 631) network printing.

Thanks in advance.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2017-07-07 05:41:20 -0500

MaoTao gravatar image

You don't have to create a unit file for cups, since it is included by default in Fedora, except if you want to make custom changes.

First check the status of the service:

systemctl status cups.service

If you want to activate it just for one session

systemctl start cups.service

If you want to be active since boot

systemctl enable cups.service

man 1 systemctl is your guide for anything else

edit flag offensive delete link more


First, thank you to both the respondents. Much appreciated and I now have cups "sort of working" on the server.

cupsd shows up when I do a ps list and port 631/tcp/udp is open when I look using ss -n -l. firewalld shows port 631 as open.

BUT I can't seem to find the attached network printer from a work-station. In the past, the old server attached printer just sort of "appeared" in the printer options on the workstations. I have checked, so far as I know how, the config files cupsd.conf and cups-files.conf and there IS a ppd file for the printer.

So, any suggestions as to what I do next?

iliffe gravatar imageiliffe ( 2017-07-07 19:29:53 -0500 )edit

answered 2017-07-07 01:44:09 -0500

villykruse gravatar image

updated 2017-07-07 06:23:29 -0500

If you have cups installed, you should have a service called cups.service. Also, there is a service for socket activation called cups.socket.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-07-06 18:41:58 -0500

Seen: 703 times

Last updated: Jul 07 '17