LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-28-2006, 12:37 PM   #1
imanassypov
LQ Newbie
 
Registered: Sep 2005
Location: Toronto, Canada
Distribution: FreeBSD, Gentoo, NetBSD
Posts: 28

Rep: Reputation: 15
Question gentoo http-replicator exception


Hello,

I am having difficulties setting up an http-replicator on a gentoo box for binary portage caching purposes. The setup seems trivial, however when accessed from a client I get the following exception:

xen ~ # emerge -pg vim

These are the packages that would be merged, in order:

Fetching binary packages info...
date: Mon, 28 Aug 2006 12:33:40 GMT
connection: close

<html><body><pre><h1>Not found</h1></pre></body></html>

address: /ALL
Traceback (most recent call last):
File "/usr/bin/emerge", line 3435, in ?
mydepgraph=depgraph(myaction,myopts)
File "/usr/bin/emerge", line 922, in __init__
portage.db["/"]["bintree"].populate(("--getbinpkg" in myopts), ("--getbinpkgonly" in myopts))
File "/usr/lib/portage/pym/portage.py", line 5724, in populate
self.remotepkgs = getbinpkg.dir_get_metadata(settings["PORTAGE_BINHOST"], chunk_size=chunk_size)
File "/usr/lib/portage/pym/getbinpkg.py", line 448, in dir_get_metadata
filelist = dir_get_list(baseurl, conn)
File "/usr/lib/portage/pym/getbinpkg.py", line 293, in dir_get_list
raise Exception, "Unable to get listing: %s %s" % (rc,msg)
Exception: Unable to get listing: 404 Server did not respond successfully (404: Not Found)

I am having suspicions about the server config, where you setup the alias to the precompiled portage such as:

## Local dir to serve clients. Great for serving binary packages
## See PKDIR and PORTAGE_BINHOST settings in 'man make.conf'
## --alias /path/to/serve:location will make /path/to/serve
## browsable at http://http-replicator.comort/location
DAEMON_OPTS="$DAEMON_OPTS --alias /usr/portage/packages/All:All"

Does anyone have any clues about this? What do they mean in the config of the replicator - 'browsable at http://.... ?


Thanks!


-igor
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dell D/Port Replicator ramon Linux - Laptop and Netbook 3 06-25-2006 06:34 PM
help createing exception class from base STL exception qwijibow Programming 4 04-20-2005 05:23 AM
slack and port replicator uranologist Linux - Hardware 0 04-13-2004 03:02 PM
port replicator with mandrake 9.2 Steph00 Linux - Laptop and Netbook 1 12-19-2003 02:00 PM
Runtime Exception vs. Exception mikeshn Programming 1 09-22-2002 05:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration