[SOLVED] CUPS web admin tool at localhost:631 not responding
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Are you accessing this virtual machine via its local desktop? That is are you using a browser on the guest itself, or are you trying to reach it's CUPS server web interface externally eg via the host?
I received some errors:
Connecting to localhost (localhost) ::.110|631... failed: Connection timed out. There were more numbers before the 110
connecting to localhost (localhost) ::.169|631... failed: connection timed out. There were more numbers before the 169
I received some errors:
Connecting to localhost (localhost) ::.110|631... failed: Connection timed out. There were more numbers before the 110
connecting to localhost (localhost) ::.169|631... failed: connection timed out. There were more numbers before the 169
Then it went on to try again and fail again
This looks like localhost is not configured, but others may be able to advise further here.
Check that /etc/hosts contains the following entry
Code:
127.0.0.1 localhost
Run
Code:
host localhost
Check that you get the following response...
Code:
localhost has address 127.0.0.1
localhost has IPv6 address ::1
The unable to finalize "/etc/cups/printers.conf" may be a problem. And i learned how to copy and paste in the terminal. Thoughts on what to do about the above anyone?
I did read the link provided, and it did not look like the bug was fixed except in a release. The one solution i saw was not recommended it looked like:
/lib/systemd/system/cups.socket
adding a line
ListenStream=631
in the "[Socket]" section. The file should look like this then:
The unable to finalize "/etc/cups/printers.conf" may be a problem. And i learned how to copy and paste in the terminal. Thoughts on what to do about the above anyone?
First thoughts are to check the CUPS config file ownerships/permissions...
You have solved the issue and have the patience of a saint! i am able to access the CUPS web admin page and it appears i am in business. I cannot thank you enough. Any idea why this may have happened? or did i just probably delete or mess with something i should not have?
--- localhost ping statistics ---
284 packets transmitted, 284 received, 0% packet loss, time 1064ms
rtt min/avg/max/mdev = 0.021/0.037/0.384/0.030 ms
You have solved the issue and have the patience of a saint! i am able to access the CUPS web admin page and it appears i am in business. I cannot thank you enough. Any idea why this may have happened? or did i just probably delete or mess with something i should not have?
--- localhost ping statistics ---
284 packets transmitted, 284 received, 0% packet loss, time 1064ms
rtt min/avg/max/mdev = 0.021/0.037/0.384/0.030 ms
This has been resolved.
I'm really not sure why that file was missing. The default configuration should have been there from install. Anyway, glad to read of your progress. All part of the learning.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.