cups looks alright but 'Unable to connect'
by lalebarde from LinuxQuestions.org on (#5N605)
Hi,
I cannot figure out why, upgrade or not, but my cups service does not answer when I set http://localhost:631/ in the browser address. It returns Unable to connect.
There is no error in /var/log/cups/error_log. Cups service restart does not solve the problem, nor reboot.
Here are the processes:
Code:# ps aux | grep cups
root 9408 0.0 0.0 31024 10232 ? Ss 21:41 0:00 /usr/sbin/cupsd -l
root 9410 0.0 0.0 181240 11208 ? Ssl 21:41 0:00 /usr/sbin/cups-browsedand services:
Code:service cups status
cups.service - CUPS Scheduler
Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2021-08-10 21:41:12 CEST; 29min ago
Docs: man:cupsd(8)
Main PID: 9408 (cupsd)
Tasks: 1 (limit: 4915)
Memory: 4.1M
CGroup: /system.slice/cups.service
9408 /usr/sbin/cupsd -lThis was also asked in another thread:
Code:systemctl -a | grep cups
cups.path loaded active running CUPS Scheduler
cups-browsed.service loaded active running Make remote CUPS printers available locally
cups.service loaded active running CUPS Scheduler
cups.socket loaded active running CUPS SchedulerLocalhost is in the hosts and is ping-able. Firewall policy is ACCEPT for all chains.
Reinstall of cups does not help.
Any idea please ?


I cannot figure out why, upgrade or not, but my cups service does not answer when I set http://localhost:631/ in the browser address. It returns Unable to connect.
There is no error in /var/log/cups/error_log. Cups service restart does not solve the problem, nor reboot.
Here are the processes:
Code:# ps aux | grep cups
root 9408 0.0 0.0 31024 10232 ? Ss 21:41 0:00 /usr/sbin/cupsd -l
root 9410 0.0 0.0 181240 11208 ? Ssl 21:41 0:00 /usr/sbin/cups-browsedand services:
Code:service cups status
cups.service - CUPS Scheduler
Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2021-08-10 21:41:12 CEST; 29min ago
Docs: man:cupsd(8)
Main PID: 9408 (cupsd)
Tasks: 1 (limit: 4915)
Memory: 4.1M
CGroup: /system.slice/cups.service
9408 /usr/sbin/cupsd -lThis was also asked in another thread:
Code:systemctl -a | grep cups
cups.path loaded active running CUPS Scheduler
cups-browsed.service loaded active running Make remote CUPS printers available locally
cups.service loaded active running CUPS Scheduler
cups.socket loaded active running CUPS SchedulerLocalhost is in the hosts and is ping-able. Firewall policy is ACCEPT for all chains.
Reinstall of cups does not help.
Any idea please ?