Can't launch CUPS

Hey !

I used to be able to print normally using the printer utility of my KDE desktop but i am not able to do it anymore. I get this error : https://i.imgur.com/1dCLC8k.png

I tried connecting to http://localhost:631/ but i can't connect to it.

I ran : systemctl start org.cups.cupsd.service and got this :

Job for org.cups.cupsd.service failed because the service did not take the steps
See "systemctl status org.cups.cupsd.service" and "journalctl -xe" for details.

I then ran :

with this output

● org.cups.cupsd.service - CUPS Scheduler
     Loaded: loaded (/usr/lib/systemd/system/org.cups.cupsd.service; enabled; vendor preset: disabled)
     Active: failed (Result: protocol) since Sat 2020-05-30 13:00:12 CEST; 9min ago
TriggeredBy: ● org.cups.cupsd.path
             ● org.cups.cupsd.socket
       Docs: man:cupsd(8)
    Process: 3895 ExecStart=/usr/bin/cupsd -l (code=killed, signal=TERM)
   Main PID: 3895 (code=killed, signal=TERM)

mai 30 13:00:12 raion systemd[1]: org.cups.cupsd.service: Scheduled restart job, restart counter is at 5.
mai 30 13:00:12 raion systemd[1]: Stopped CUPS Scheduler.
mai 30 13:00:12 raion systemd[1]: org.cups.cupsd.service: Start request repeated too quickly.
mai 30 13:00:12 raion systemd[1]: org.cups.cupsd.service: Failed with result 'protocol'.
mai 30 13:00:12 raion systemd[1]: Failed to start CUPS Scheduler.

Also I ran journalctl -xe

mai 30 13:11:10 raion systemd[1]: Stopped CUPS Scheduler.
-- Subject: A stop job for unit org.cups.cupsd.service has finished
-- Defined-By: systemd
-- Support: https://archived.forum.manjaro.org/c/technical-issues-and-assistance
-- 
-- A stop job for unit org.cups.cupsd.service has finished.
-- 
-- The job identifier is 3174 and the job result is done.
mai 30 13:11:10 raion systemd[1]: org.cups.cupsd.service: Start request repeated too quickly.
mai 30 13:11:10 raion systemd[1]: org.cups.cupsd.service: Failed with result 'protocol'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://archived.forum.manjaro.org/c/technical-issues-and-assistance
-- 
-- The unit org.cups.cupsd.service has entered the 'failed' state with result 'protocol'.
mai 30 13:11:10 raion systemd[1]: Failed to start CUPS Scheduler.
-- Subject: A start job for unit org.cups.cupsd.service has failed
-- Defined-By: systemd
-- Support: https://archived.forum.manjaro.org/c/technical-issues-and-assistance
-- 
-- A start job for unit org.cups.cupsd.service has finished with a failure.
-- 
-- The job identifier is 3174 and the job result is failed

Hey,

image

That means one of the files responsible with the systemd service for CUPS is corrupted. Try reinstalling cups from terminal and check if trows some errors.
sudo pacman -S cups

Have you run fsck on your root partition?

1 Like

I've tried reinstalling it it didn't work, no errors still doesn't work.

Will run fsck on /

I was having the exact same problem, and had also tried reinstalling with no luck. Tried again today and it worked. No idea what I did different. Maybe keep trying?

Hi !

I managed to solve the issue by fully reinstalling the packages (the -Rns flag removes the uneeded dependencies and the backup config files) :

sudo pacman -Rns manjaro-printer
sudo pacman -Rns cups

and then reinstalling the manjaro-printer meta package with :

pamac install manjaro-printer

It works now after reboots

This topic was automatically closed after 90 days. New replies are no longer allowed.

Forum kindly sponsored by