The Common Unix Printing System (CUPS) daemon on Ubuntu coordinates print queue management, PostScript/PDF rasterization, and network printer discovery via IPP and Bonjour. When system startup stalls or printing halts with “Failed to start cups.service: CUPS Scheduler”, desktop and server users cannot send documents to local USB or network printers. Resolving this issue involves inspecting the CUPS daemon configuration and print spool permissions.
Check Service Status and Systemd Journal Output
Determine whether the failure is caused by configuration syntax errors, missing dependencies, or socket communication timeouts.
- Open a terminal (Ctrl + Alt + T).
- Query the systemd service status:
systemctl status cups.service cups.socket - Inspect recent system journal logs for daemon crash dumps:
sudo journalctl -u cups -b --no-pager - If the daemon is masked, unmask and start it immediately:
sudo systemctl unmask cups sudo systemctl enable --now cups.socket cups.service
Verify /etc/cups/cupsd.conf Syntax and Restore Defaults
Syntax errors or malformed access control lists inside /etc/cups/cupsd.conf cause the scheduler daemon to abort on startup.
- Test configuration file syntax using the cupsd test utility:
sudo cupsd -t - If the output flags invalid directives, restore the clean default distribution configuration:
sudo cp /etc/cups/cupsd.conf.default /etc/cups/cupsd.conf - Restart the service cleanly:
sudo systemctl restart cups.service.
Repair Print Spool Directory Permissions and Clear Orphaned Jobs
Corrupted print spool files in /var/spool/cups can deadlock the scheduler initialization loop.
- Stop the cups service if partially running:
sudo systemctl stop cups - Remove corrupted or hung print jobs:
sudo rm -rf /var/spool/cups/c* /var/spool/cups/d* /var/spool/cups/tmp/* - Restore default directory permissions:
sudo chown root:lp /var/spool/cups sudo chmod 710 /var/spool/cups - Restart cups:
sudo systemctl start cups.service.