ifconfig returned
tried from a computer with working CUPS webadmin:Code:inet addr:127.0.0.1
connects me. typing "quit" terminated the connection.Code:telnet 127.0.0.1 631
tried it on the problem computer:
1. initially connected through telnet, but "quit" would NOT terminate connection.
2. tried via firefox: same error message as before
3. tried again via telnet:
so it seems like something is either crashing or hanging on this computer, making that resource unavailable. on a hunch, tried restarting CUPS:Code:$ telnet 127.0.0.1 631 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused
and tried telnet again:Code:$ sudo /etc/init.d/cups restart sudo: unable to resolve host john-desktop [sudo] password for john: * Restarting Common Unix Printing System: cupsd [ OK ]
now I can connect via Firefox to the CUPS web admin:Code:$ telnet 127.0.0.1 631 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. quit Connection closed by foreign host.
but STILL not via localhost:Code:http://127.0.0.1:631
So there are two problems on this computer:Code:http://localhost:631 Connecting to www.localhost.com...
1. CUPS appears to be unstable, and freezes or crashes
2. connection to CUPS webadmin interface, even when CUPS is working, is only available via IP address, NOT localhost
thanks for the help folks!
Last edited by ethanay; February 28th, 2010 at 09:55 PM. Reason: small correction
PS Here's some debug info from a time a bit back when CUPS was crashing on me constantly on the problem computer, in case it is helpful:
Code:$ system-config-printer --debug Connected as user john refresh <monitor.Monitor instance at 0xa3c280c>: CUPS IPP error (1282, 'server-error-service-unavailable') Created subscription -1 <monitor.Monitor instance at 0xa3c280c>: CUPS IPP error (1282, 'server-error-service-unavailable') Authentication pass: 1 Authentication: password callback set get_notifications refresh Created subscription 18 <monitor.Monitor instance at 0xa3c280c>: printers and jobs lists provided update_jobs get_notifications update_jobs retrying operation... Authentication pass: 1 Authentication: password callback set Authentication pass: 1 Authentication: password callback set Canceled subscription 18 <monitor.Monitor instance at 0xa3c280c> exited
no one has any ideas as to why http://localhost:631 is converted to www.localhost.com on the Meerkat?
Nothing to see here
Thanks for the suggestion...
the command prints a similar response on both the working computers.Code:$ hostname john-desktop
Proxy settings appear identical as well...!!
Nothing to see here
If my thinking cap is on straight this morning,
should return something like this:Code:cat /etc/hosts
If it's not, maybe we've got something to work with.Code:127.0.0.1 localhost 127.0.1.1 john-desktop # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts
I just help get a friend setup with his brand new Meerkat yesterday, and have sent him an e-mail to see if he has the same error, I would have done it when there had I thought of it.
[update] The new Meerkat does NOT show the same behavior. localhost:631 works as it should
Last edited by riseringseeker; March 14th, 2010 at 05:43 PM. Reason: update
Ok, looks like we are getting somewhere! Maybe the hosts file is corrupted:
I will edit and update...Code:$ cat /etc/hosts # Do not remove the following line, or various programs# that require network functionality will fail.127.0.0.1 localhost.localdomain localhostjohn@john-desktop:~$
UPDATE: SUCCESS! It was a corrupted hosts file...how/why it was corrupted, Lord knows. Nothing we did should have caused that (normal software installs, updates, etc).
So maybe some Meerkats shipped with corrupted hosts files for some reason?
Last edited by ethanay; March 26th, 2010 at 10:59 PM. Reason: added more info
Nothing to see here
I'm not sure what fouled up the hosts file on a freshly imaged Meerkat, and I had no problems going to cups admin.
Bookmarks