stoopid cups question
I've probably stared myself blind on this one - but help would be greatly appreciated!
Whenever I try to open a tab in a browser (chromium or firefox) with http://localhost:631 I get told "Not found'! And yes, I _have_ restarted the daemon (/etc/rc.d/rc.cups restart) _and_ making sure it is running (ps auxw | grep cups) Darn thing is - I _have_ used it in the past - was just gonna make some subtle changes to one of my printers, but this a long time ago ... I'm use the 32-bit version of 14.1, kernel 3.10.17 I have other machines with exactly the same, and they work ok :-( I am using dhcp, and my current address is 192.168.1.122 and I have even tried with 192.168.1.122:631, but same thing - 'Not found'! [edit] Oooops - I was wrong - all my other machines give 'Not found' as well - other than one running 14.0!! There is no patch for cups, 14.1 uses version 1.5.4-3 and 14.0 uses version 1.5.4-2 - shouldn't be a lot of differences there, so it must be one of the patches that have caused it - and I only use the standard patches *sigh* |
Do you have these lines in /etc/hosts?
Code:
# For loopbacking. Code:
ifconfig | grep -A2 lo: |
Yup - both are up.
This is ever so strange, but there must be one of the patches that has done it ... I'm running a very clean 14.1-system, only have chromium and libreoffice and vlc from alien, and then jre and googleearth - otherwise plain vanilla. However, I do apply patches as they come. Darned thing is - cups is still working fine, I can print without problems - I just can't bring up the web-interface :-( Some of my other machines that didn't work either - they are wired and use a fixed ip-address, don't even use network-manager (or wicd) - same sad story ... |
And that?
Code:
route | grep lo$ |
Code:
# route | grep lo I can do Code:
localhost:631/admin If I try the 'Home'- button from any of these others, I get 'Not Found'. So - it would seem that the 'home-page' has disappeared into the proverbial ether ... When I get back home I'll reinstall cups - that will probably do it ... I'll report back later today and possibly mark it as solved. |
This is just getting more and more strange!!
I removed cups and then installed it again - no difference!! ie 'localhost:631' does not work ('Not Found') However, all the others are ok, ie: localhost:631/printers, localhost:631/admin, localhost:631/jobs etc etc Clicking on the 'Home'-button from any one of the others, just gives 'Not Found' If it had been only one machine, I would not have been too bothered (probably done something wrong again!), but every one of my 32-bit 14.1-rigs have the same symptoms ... :-( |
The plot thickens - I found a disk with slackware32-14.1, almost vanilla. ie it had very few, if any, patches applied - and 'localhost:631' _works_!!
When comparing my 'faulty' machines that I actually could get to, just not the 'homepage', the layout is somewhat different - maybe there is a stylesheet or two missing? Anyways - what I will now do is to apply the missing patches, one at a time until I can find the culprit (x-ing my fingers here) Wish me luck! |
Tried another tack first - comparing the filenames under /etc/cups, /usr/lib/cups and /usr/share/cups (incase one or more files had gone missing)- and they are the same other than a couple of printers/drivers that were defined in the non-working computers (I didn't check the content - will do that next).
However, far as I can remember, the last time I used the cups interface was some months back when we got a new hp-printer and I used hplip to set it up ... could that be the culprit? |
Quote:
You should be able to ping localhost: Code:
ping -c 5 localhost Check /etc/hosts, it should look much like Code:
cat /etc/hosts There is the nuclear option -- remove CUPS (with removepkg), remove HPLIP (ditto) and reinstall both of them (with maybe a reboot in the middle). You'd want to set your printer up with hp-setup (as an ordinary user, not as root). This may be overkill and it may just be something weird in your /etc/rc.d/rc.inet1.conf so you'd want to look at that first. If you can't ping localhost, you'll have to fix that first. Hope this helps some. |
Just to re-iterate - my network is _not_ the problem, nor is 'localhost' (all my rigs but laptops have fixed ip-addy's).
As stated previously - I can access cups' inface by doing, eg Code:
http://localhost:631/printers Whenever I do any of the localhost:631/printers, localhost:631/admin, localhost:631/jobs, etc etc it just does not look right, like there is a missing stylesheet somewhere ... however, I _can_ access all the 'localhost:631/{whatever}' so I do not actually have a problem anymore. That being said - it just bugs the hell outtame that its not working 'properly' ... summat is not right! As stated previously - vanilla 32bit-14.1 w/no patches applied - no problems! Whenever _all_ the current patches are applied (or hp-setup has been used) - I have the 'Not Found'-problem I do appreciate your input though, and yes, I shall remove hplip and see if that changes anything - and then reinstall it. It's a bit harder removing cups cuz I do have one bizarre printer with absolutely non-standard drivers - which is why I'm using slackware32 even on friggin' rigs with 12 gigs o'memory and more than capable o'runnin' 64-bit (yes, I do realize I can run multilib - just don't care all that much for it - 32bits will do me just fine atm) |
Hello,
Your issue looks like the one in this thread (maybe a bit old: slackware 9.1, cups 1.1.20) -- SeB |
Wow!! Yup - that sounds like _exactly_ the same problem!!
Ohhhh - please don't make me having to recompile ... not that I mind (as such), but it should not be necessary (and yes, with age I do get more lazy! - which is why I try to run as much vanilla as possible) Thank you for diggin' that li'l pearl up ... |
A configuration update problem? (cupsd.conf.new in /etc/cups ?)
Something logged in /var/log/cups/*? |
Code:
# cat /var/log/cups/error_log Makes no difference though - still 'Not Found' !! FYI - I am a member of the following groups: lp wheel mail audio video cdrom games scanner But - good thinking! And - no such file: /etc/cups/cups.conf.new ... |
@tronayne:
*chuckles* I've got a rig called 'pita' as well ... great minds think alike! |
All times are GMT -5. The time now is 09:39 PM. |