This problem occurred after an update was installed last week and I have 
found other references on the web with the same error after that recent 
update, so it appears that the update was flawed.

I have two laptops and one wireless printer. I added the printer through 
the CUPS web interface, but now the interface only returns the error 
“Firefox can’t establish a connection to the server at localhost:631.”

I am not a programmer, but believe that # at the beginning of a line 
means that it is commented out.  What is the unknown directive that 
needs to be commented out?

Will such a change bring back the CUPS web interface?

This is from the terminal.  Do you see anything below that can be 
changed to fix the problem?


dandola@ad-XPS-13-7390:~$ journalctl -xeu cups.service

░░ Subject: Automatic restarting of a unit has been scheduled

░░ Defined-By: systemd

░░ Support: http://www.ubuntu.com/support

░░

░░ Automatic restarting of the unit cups.service has been scheduled, as 
the result for

░░ the configured Restart= setting for the unit.

Dec 01 14:29:12 ad-XPS-13-7390 systemd[1]: Stopped CUPS Scheduler.

░░ Subject: A stop job for unit cups.service has finished

░░ Defined-By: systemd

░░ Support: http://www.ubuntu.com/support

░░

░░ A stop job for unit cups.service has finished.

░░

░░ The job identifier is 6757 and the job result is done.

Dec 01 14:29:12 ad-XPS-13-7390 systemd[1]: Dependency failed for CUPS 
Scheduler.

░░ Subject: A start job for unit cups.service has failed

░░ Defined-By: systemd

░░ Support: http://www.ubuntu.com/support

░░

░░ A start job for unit cups.service has finished with a failure.

░░

░░ The job identifier is 6757 and the job result is dependency.

Dec 01 14:29:12 ad-XPS-13-7390 systemd[1]: cups.service: Job 
cups.service/start failed with result 'dep>

lines 695-717/717 (END)

░░ Subject: Automatic restarting of a unit has been scheduled

░░ Defined-By: systemd

░░ Support: http://www.ubuntu.com/support

░░

░░ Automatic restarting of the unit cups.service has been scheduled, as 
the result for

░░ the configured Restart= setting for the unit.

Dec 01 14:29:12 ad-XPS-13-7390 systemd[1]: Stopped CUPS Scheduler.

░░ Subject: A stop job for unit cups.service has finished

░░ Defined-By: systemd

░░ Support: http://www.ubuntu.com/support

░░

░░ A stop job for unit cups.service has finished.

░░

░░ The job identifier is 6757 and the job result is done.

Dec 01 14:29:12 ad-XPS-13-7390 systemd[1]: Dependency failed for CUPS 
Scheduler.

░░ Subject: A start job for unit cups.service has failed

░░ Defined-By: systemd

░░ Support: http://www.ubuntu.com/support

░░

░░ A start job for unit cups.service has finished with a failure.

░░

░░ The job identifier is 6757 and the job result is dependency.

Dec 01 14:29:12 ad-XPS-13-7390 systemd[1]: cups.service: Job 
cups.service/start failed with result 'depedency'.


Your help is appreciated!


On 12/1/25 1:23 PM, Marc Deslauriers wrote:
> Thanks for the error message.
>
> Looks like this is the same issue as bug 2133207
>
> I'm not sure what exactly is happening that folks are getting invalid
> configuration files, but commenting that unknown directive at the end of
> your /etc/cups/cupsd.conf should solve the problem.
>
> How are you typically adding printers on this system? Is it exclusively
> through the web interface? Is this a desktop system or a server?
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2133488

Title:
  Firefox can’t establish a connection to the server at localhost:631.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/2133488/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to