CUPS url showing "Not Found"
When I open the CUPS url http://localhost:631, a message showing "Not Found" is displayed. But when I open http://localhost:631/admin or http://localhost:631/printers, I can modify the configuration although the pages are opened in basic html and not showing some images. The CUPS version is 1.5.4 and my OS is Slackware64 14.1.
|
Do you have an entry for localhost in you /etc/hosts file?
Code:
# For loopbacking. |
Yes I have. I have a machine with Slackware x86 and the error doesn't happen, only on x86_64.
|
So, you're getting the error when you simply connect to http://localhost:631, is that correct? You don't see the CUPS Home page, but you can administer the printer(s)?
Maybe a little bit more information might help; how are you connecting to CUPS, on the box itself or a virtual machine? Can you ping localhost: Code:
ping -c 5 localhost Code:
groups |
I'm connecting from my physical machine, not virtual and my user is member of the lp group. I also can ping localhost with no problem exactly like you showed. Do you know where is the document root of CUPS?
|
Have you applied all the patches (including the kernel patches)? There isn't one directly connected with CUPS but some ills have been corrected. The kernel patches are only for 64-bit, and all the others do bring the machine up to current stable. Depending upon which browser you're using (Firefox being the recommended one), that may explain or help. There is absolutely no reason that you can't open CUPS with Firefox unless you've fiddled with settings or added additional software.
If you haven't done the patches, you can find them at http://ftp.osuosl.org/pub/slackware/...ches/packages/ and it would be a good idea to download and apply them all. I use wget to get the patches and apply them manually because I have more than one machine and it's just easier for me to do that, you can use whatever tool you like. Have you done a full install of Slackware? Have you added or removed packages (if so, what)? Do you have IPTABLES that may be blocking localhost? Do you have a router that may not be passing localhost? You might try removing and reinstalling CUPS just to see if that helps (it shouldn't but who knows). It's normal that CUPS works out-of-the-box. Unless something was changed to interfere with that, it ought to just go. CUPS doesn't have a document root as such (it's not in /var/www/htdocs). All the CUPS software is ower-group root.root. Has that by any chance been altered? For example, look at Code:
ls -al /usr/bin/*cups* |
All times are GMT -5. The time now is 06:32 PM. |