View previous topic :: View next topic |
Author |
Message |
skorefish Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 21 Jun 2015 Posts: 285
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
krinn Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_howl.gif)
Joined: 02 May 2003 Posts: 7470
|
Posted: Thu Mar 22, 2018 11:57 am Post subject: |
|
|
Quote: | PORTAGE_BINHOST="http://192.168.2.14/packages" |
![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
skorefish Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 21 Jun 2015 Posts: 285
|
Posted: Thu Mar 22, 2018 12:13 pm Post subject: |
|
|
ok , I changed it , but there must be something else
when i type lynx http://192.168.2.14/ i get the default page (ok)
lynx http://192.168.2.14/packages -> 403 forbidden
emerge -Kav xeyes doesn't work
I tested the package by moving it by hand in client /usr/portage/packages
but no connection to remote packages
emerge xeyes -gKav
!!! Error fetching binhost package info from 'http://192.168.2.14/packages'
!!! HTTP Error 403: Forbidde
Last edited by skorefish on Thu Mar 22, 2018 12:25 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
krinn Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_howl.gif)
Joined: 02 May 2003 Posts: 7470
|
Posted: Thu Mar 22, 2018 12:25 pm Post subject: |
|
|
and your server log is saying what?
at least, make sure /usr/portage/packages and the symlink are readable by other, or the group or user the http server use. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
skorefish Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 21 Jun 2015 Posts: 285
|
Posted: Thu Mar 22, 2018 12:28 pm Post subject: |
|
|
cat /var/log/lighttpd/access.log | wgetpaste
Your paste can be seen here: https://paste.pound-python.org/show/pizQdU7uZG1OfXIWi0Oa/
Quote: | at least, make sure /usr/portage/packages and the symlink are readable by other, or the group or user the http server use. |
should i use chmod on /usr/portrage/packages and it 's content? What symlink? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
krinn Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_howl.gif)
Joined: 02 May 2003 Posts: 7470
|
Posted: Thu Mar 22, 2018 12:36 pm Post subject: |
|
|
yeah chmod /usr/portage/packages and its content, or at least check its current permissions.
sorry, no symlink, that's something the server create for you (the alias). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
skorefish Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 21 Jun 2015 Posts: 285
|
Posted: Thu Mar 22, 2018 12:44 pm Post subject: |
|
|
ok chmod 755 /usr/portage/packages/ -R did the job thx |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|