Can't Print -- CUPS Service Won't Start

I was away for the TDay holiday and returned home yesterday. Turned on my desktop computer. All seemed normal, until this morning when I tried to print the Sunday crossword puzzle. It didn't work. My printer shows up in the Print dialog, but the location column should say "Dave's Study", but it's blank. When I clicked on my printer to select it, the status changed to "Getting printer information..." and the mouse pointer changes to a spinner, but nothing happens:

From the Control Center, I selected Printers, and this is what showed up:

I clicked 'Start Service" button. The button went gray (disabled) for about three seconds, then returned to normal, and no printers showed up.

I clicked "Server" > "Connect..." but it didn't work:

In a terminal I tried to get the status of the cups service, and this was the result:

dave@dave-NUC6CAYH:~$ sudo systemctl status cups.service
[sudo] password for dave:                            
â—‹ cups.service - CUPS Scheduler
     Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; preset: enabled)
     Active: inactive (dead) (Result: exit-code) since Sun 2025-11-30 10:27:19 MST; 8min ago
TriggeredBy: Ă— cups.socket
             Ă— cups.path
       Docs: man:cupsd(8)
    Process: 2928 ExecStart=/usr/sbin/cupsd -l (code=exited, status=1/FAILURE)
   Main PID: 2928 (code=exited, status=1/FAILURE)
        CPU: 22ms

Nov 30 10:27:19 dave-NUC6CAYH systemd[1]: cups.service: Failed with result 'exit-code'.
Nov 30 10:27:19 dave-NUC6CAYH systemd[1]: Failed to start cups.service - CUPS Scheduler.
Nov 30 10:27:19 dave-NUC6CAYH systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
Nov 30 10:27:19 dave-NUC6CAYH systemd[1]: Stopped cups.service - CUPS Scheduler.
Nov 30 10:27:19 dave-NUC6CAYH systemd[1]: Dependency failed for cups.service - CUPS Scheduler.
Nov 30 10:27:19 dave-NUC6CAYH systemd[1]: cups.service: Job cups.service/start failed with result 'dependency'.

Yesterday afternoon, I ran Software Updater, and it installed something regarding CUPS, but I don't remember the specifics. That could be erelated to the "dependency" result in the output of the systemctl command.

I tried shutting down the computer and restarting, but got the same results.

Any thoughts on what I can do to get printing again?

1 Like

this is a wireless printer so I'd check that the printer gets wifi.

1 Like

I had the same exact issue.Take a look at this,it's what fixed it for me.

https://forums.linuxmint.com/viewtopic.php?t=310426

Backup /etc/cups/cupsd.conf:

sudo mv /etc/cups/cupsd.conf /etc/cups/cupsd.conf-orig

sudo cp /usr/share/cups/cupsd.conf.default /etc/cups/cupsd.conf

sudo systemctl start cups
 
6 Likes

Could you share with us the diff result between the "default" and the "updated" version?

No idea what the diff command is or how I would apply it to what I did.All I know is I can print again.

This is quite interesting and it could certainly explain what may have happened with the OP,myself and several others.

2 Likes

Thank you to all who responded.

I've applied a recommended hack and I can now print. But as pointed out in the following website, editing the cupsd.conf file may cause problems in the future when an official fix rolls out:

To be safe, I kept a copy of the original file on my desktop, so I can restore it before proceeding with any update that is issued (possibly tomorrow, Monday). The changes I made to the /etc/cups/cupsd.conf file are shown below. Basically, I commented out the four offending lines at the end of the file:

(Beginning of file redacted for brevity...)

  <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Negotiate
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit All>
    Order deny,allow
  </Limit>
</Policy>
# Commented out 2025-11-30: JobPrivateAccess default
# Commented out 2025-11-30: JobPrivateValues default
# Commented out 2025-11-30: SubscriptionPrivateAccess default
# Commented out 2025-11-30: SubscriptionPrivateValues default

End of file.

According to John Nagle in the post quoted above, "The current manual page for cupsd.conf seems to require that the JobPrivateAccessdirective appear only within Policy sections. The conf file I have, created automatically by Ubuntu some versions back, has it outside the sections. What I suspect happened is that the CUPS cupsd.conf format changed at some point, or enforcement became more strict."

I think it likely that the vulnerability cited by @Norm24 was fixed with a code change that more strictly enforces the required syntax of the cupsd.conf file.

2 Likes

For general reference, I examined the /etc/cups/cupsd.conf file on my machine (where I don't experience the issue encountered).

I noted that those exact 4 lines, which Dave commented out from the bottom of the file, are in fact repeated in 3 locations elsewhere in that file, under each of

  • Policy default,
  • Policy authenticated,         and
  • Policy kerberos

Obviously, someone was distracted when they were reviewing code for a stated requirement. :frowning:

This saga didn't quite end for me,after I was able to print I was no longer able to scan due the missing hp-plugin. Tried installing from every possible angle I could think of without success.In the end I completely purged my system of CUPS and anything HP related including all directories/files and started from scratch.

I can now print and scan.

3 Likes

After editing the /etc/cups/cupsd.conf file I had only checked for printing. But just now I tried a scan, and that worked too without any further hacks.

As of Wednesday evening (12/3), I still haven't seen a CUPS update come through the Software Updater.

1 Like

In my case not being able to scan was a HP specific issue.After doing some research I found it to be a known issue.

I also have not seen any updates to CUPS and yet after completely purging my system of CUPS and HPLIP and reinstalling CUPS and the version of HPLIP from the repos I now have full print/scan capabilities. I've never been able to use my printer without having HPLIP installed even though driverless printing is the norm in 24.04.

1 Like

I use Linux Mint Mate. I experienced the same issue. My problem was resolved using the commands shared by @Norm24. Here’s my diff output. Since I am using Linux Mint Mate, I'm not sure if it's appropriate for me to write an answer on this topic, but I’m sharing my diff output in case it helps someone:

sudo diff -y --suppress-common-lines /etc/cups/cupsd.conf-orig /etc/cups/cupsd.conf

PageLogFormat 						      |	PageLogFormat
Listen /var/run/cups/cups.sock				      |	ErrorPolicy retry-job
Listen /var/run/cups/cups.sock				      |	Listen localhost:631
Browsing Off						      |	Listen /run/cups/cups.sock
							      >	Browsing No
							      >	IdleExitTimeout 60
							      >	  AuthType Default
							      >	  Require user @SYSTEM
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart- |	  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-
							      >	    Require user @OWNER @SYSTEM
							      >	    Order deny,allow
							      >	  </Limit>
							      >	  <Limit CUPS-Get-Document>
							      >	    AuthType Default
  <Limit Cancel-Job CUPS-Authenticate-Job>		      |	  <Limit Cancel-Job>
							      >	    Require user @OWNER @SYSTEM
							      >	    Order deny,allow
							      >	  </Limit>
							      >	  <Limit CUPS-Authenticate-Job>
							      >	    AuthType Default
JobPrivateAccess default				      |	<Policy kerberos>
JobPrivateValues default				      |	  JobPrivateAccess default
SubscriptionPrivateAccess default			      |	  JobPrivateValues default
SubscriptionPrivateValues default			      |	  SubscriptionPrivateAccess default
							      >	  SubscriptionPrivateValues default
							      >	  <Limit Create-Job Print-Job Print-URI Validate-Job>
							      >	    AuthType Negotiate
							      >	    Order deny,allow
							      >	  </Limit>
							      >	  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-
							      >	    AuthType Negotiate
							      >	    Require user @OWNER @SYSTEM
							      >	    Order deny,allow
							      >	  </Limit>
							      >	  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add
							      >	    AuthType Default
							      >	    Require user @SYSTEM
							      >	    Order deny,allow
							      >	  </Limit>
							      >	  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-
							      >	    AuthType Default
							      >	    Require user @SYSTEM
							      >	    Order deny,allow
							      >	  </Limit>
							      >	  <Limit Cancel-Job CUPS-Authenticate-Job>
							      >	    AuthType Negotiate
							      >	    Require user @OWNER @SYSTEM
							      >	    Order deny,allow
							      >	  </Limit>
							      >	  <Limit All>
							      >	    Order deny,allow
							      >	  </Limit>
							      >	</Policy>
4 Likes

Hi, @karakar and welcome to the Ubuntu MATE Community!

1 Like