View previous topic :: View next topic |
Author |
Message |
fr3eatlast n00b
Joined: 21 Jul 2012 Posts: 41 Location: Marquette, MI
|
Posted: Mon May 13, 2013 11:38 pm Post subject: Localhost:631/admin gives 404 not found (Solved) |
|
|
I recently purchased an HP-3510, so I installed cups following the instructions here.
When I open my browser and go to localhost:631 I am taken to the cups configuration page, but I can not click on any of the links on the page because they all give me o 404 not found error message. This is my first attempt at getting a printer to work in gentoo, so I don't know where to go from here.
Any help would be greatly appreciated.
Edit:
If there is any information that would help, please let me know and I will post it. I didn't want to post a bunch of info if it isn't needed.
Last edited by fr3eatlast on Thu May 16, 2013 4:17 am; edited 1 time in total |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
|
Back to top |
|
|
fr3eatlast n00b
Joined: 21 Jul 2012 Posts: 41 Location: Marquette, MI
|
Posted: Tue May 14, 2013 2:41 am Post subject: |
|
|
Yes i did. Here is the output of groups Code: | ih8u@gentoo ~ $ groups
lp wheel audio cdrom video games usb users lpadmin plugdev portage ih8u network |
|
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Tue May 14, 2013 3:15 am Post subject: |
|
|
Ok is cupsd running? Thisl will give you a list of all your running init scrips and cupsd should be listed. If not Code: | sudo rc-update add cupsd default
sudo /etc/init.d/cupsd start |
Then try your browser. If it is on try my favorite punt and thats to re-emerge it. If nothing else mybe someone will have a better idea _________________ An A-Z Index of the Linux BASH command line |
|
Back to top |
|
|
fr3eatlast n00b
Joined: 21 Jul 2012 Posts: 41 Location: Marquette, MI
|
Posted: Tue May 14, 2013 3:30 am Post subject: |
|
|
I appreciate you trying to help. Code: | gentoo ih8u # ps -e
7772 ? 00:00:00 cupsd | shows that cupsd is running, and I re-emerged it, but the problem still persists. |
|
Back to top |
|
|
kite14 Apprentice
Joined: 07 Nov 2006 Posts: 216 Location: Italy
|
Posted: Tue May 14, 2013 7:28 pm Post subject: |
|
|
This thing is driving me nuts too...
I had a problem printing some PDF files (as per this bug: https://bugs.kde.org/show_bug.cgi?id=319426) then, following the suggestion of an old post in this forum, a couple of days ago I emerged "-e world": as a result, I can access only the main page of CUPS web interface and all other links (i.e admin, printers, jobs, etc.) lead to 404-land.
CUPS error_log file shows a lot of "not found" resources: http://pastebin.com/6smdwsxH.
Any suggestion is welcome. |
|
Back to top |
|
|
Yczo Apprentice
Joined: 09 Jul 2011 Posts: 225
|
Posted: Tue May 14, 2013 8:03 pm Post subject: |
|
|
have you got a line with "127.0.0.1 localhost " on /etc/hosts? or other compatible number
did you review that exist "loopback 127.0.0.0" /etc/networks ?
regards |
|
Back to top |
|
|
fr3eatlast n00b
Joined: 21 Jul 2012 Posts: 41 Location: Marquette, MI
|
Posted: Tue May 14, 2013 10:39 pm Post subject: |
|
|
/etc/hosts (only the relevant line) Code: | 127.0.0.1 localhost |
/etc/networks Code: | loopback 127.0.0.0
link-local 169.254.0.0 |
|
|
Back to top |
|
|
roarinelk Guru
Joined: 04 Mar 2004 Posts: 520
|
Posted: Wed May 15, 2013 2:32 pm Post subject: |
|
|
Which cups version do you have installed? cups-1.6.2-r4 has a bug which causes this 404, among other things
Downgrade to -r3 or upgrade to -r5 |
|
Back to top |
|
|
fr3eatlast n00b
Joined: 21 Jul 2012 Posts: 41 Location: Marquette, MI
|
Posted: Thu May 16, 2013 4:17 am Post subject: |
|
|
thanks roarinelk. upgrading to 1.6.2-r5 fixed this problem. |
|
Back to top |
|
|
kite14 Apprentice
Joined: 07 Nov 2006 Posts: 216 Location: Italy
|
Posted: Thu May 16, 2013 5:23 am Post subject: |
|
|
Yes, works for me too.
Thanks roarinelk. |
|
Back to top |
|
|
|