Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Localhost:631/admin gives 404 not found (Solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
fr3eatlast
n00b
n00b


Joined: 21 Jul 2012
Posts: 41
Location: Marquette, MI

PostPosted: Mon May 13, 2013 11:38 pm    Post subject: Localhost:631/admin gives 404 not found (Solved) Reply with quote

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
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Tue May 14, 2013 2:30 am    Post subject: Reply with quote

Did you add yourself to lpadmin group ?
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
fr3eatlast
n00b
n00b


Joined: 21 Jul 2012
Posts: 41
Location: Marquette, MI

PostPosted: Tue May 14, 2013 2:41 am    Post subject: Reply with quote

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
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Tue May 14, 2013 3:15 am    Post subject: Reply with quote

Ok is cupsd running?
Code:
sudo rc-status -a
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 :wink:
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
fr3eatlast
n00b
n00b


Joined: 21 Jul 2012
Posts: 41
Location: Marquette, MI

PostPosted: Tue May 14, 2013 3:30 am    Post subject: Reply with quote

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
View user's profile Send private message
kite14
Apprentice
Apprentice


Joined: 07 Nov 2006
Posts: 216
Location: Italy

PostPosted: Tue May 14, 2013 7:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
Yczo
Apprentice
Apprentice


Joined: 09 Jul 2011
Posts: 225

PostPosted: Tue May 14, 2013 8:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
fr3eatlast
n00b
n00b


Joined: 21 Jul 2012
Posts: 41
Location: Marquette, MI

PostPosted: Tue May 14, 2013 10:39 pm    Post subject: Reply with quote

/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
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 520

PostPosted: Wed May 15, 2013 2:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
fr3eatlast
n00b
n00b


Joined: 21 Jul 2012
Posts: 41
Location: Marquette, MI

PostPosted: Thu May 16, 2013 4:17 am    Post subject: Reply with quote

thanks roarinelk. upgrading to 1.6.2-r5 fixed this problem.
Back to top
View user's profile Send private message
kite14
Apprentice
Apprentice


Joined: 07 Nov 2006
Posts: 216
Location: Italy

PostPosted: Thu May 16, 2013 5:23 am    Post subject: Reply with quote

Yes, works for me too.
Thanks roarinelk.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum