CUPS web interface on localhost:631 not connecting
I haven't used the CUPS web interface in awhile, but I know it worked before and now it loads forever in the browser and finally times out.
I'm wondering if CUPS uses apache? Because my apache server I noticed has also stopped working, when I try to visit http://localhost. It also times out. 'ps -e' shows that cupsd and httpd are both running. I've tried restarting both of them, to no avail. this is the only line I have in my /etc/hosts file: 127.0.0.1 localhost Also I forgot to mention, pinging localhost shows that it is redirecting to 127.0.0.1 correctly, but the pings timeout and I have 100% packet loss. |
Do you have any firewall rules active that's denying access to localhost?
|
I don't believe so, I haven't setup any sort of firewall myself. Is there a way to check on that?
|
I believe if you type iptables -L will show firewall rules. I'm no firewall expert (I typically use a gui like Firestarter to manage mine) so the results may look a bit cryptic. If you haven't set anything up, it should be essentially blank. If there's a problem specific to localhost, there should be something like DENY 127.0.0.1 blah blah.
|
Cups web interface does not use apache
Quote:
Quote:
|
This is the output of iptables -L:
Quote:
Quote:
Also all my .cgi files in the cgi-bin have execute permissions (755). |
Okay, I realised that my DocumentRoot should actually be /usr/share/doc/cups and not /usr/lib/cups and changed it accordingly, but I still have no success.
Any ideas, anybody? :( |
Quote:
What does ifconfig lo tell you? |
OK, nevermind, I figured out the problem!
I had to bring up the loopback interface with Code:
ifconfig lo up thanks everyone :) |
All times are GMT -5. The time now is 07:38 PM. |