Gentoo Archives: gentoo-user

From: Dan Sheffner <dsheffner@×××××.com>
To: gentoo-user@l.g.o, Bill Roberts <billbalt@×××××××××××××.com>
Subject: Re: [gentoo-user] http-replicator: error: invalid directory '/var/cache/http-replicator' [ ok ]
Date: Mon, 30 Jan 2006 06:09:29
Message-Id: bfe179c00601292203u616d8784h55d7ce098221f602@mail.gmail.com
In Reply to: Re: [gentoo-user] http-replicator: error: invalid directory '/var/cache/http-replicator' [ ok ] by Bill Roberts
1 Can you please post your make.conf. Also I don't understand this?
2 Don't the "[1]" and "[2]" in the lines below invalidate them as URL's? They
3 don't work in a browser, maybe wget can use them?.
4
5 The error is happening when I execute /etc/init.d/http-replicator start. Why
6 would you use wget that is to just download files?? What do you mean also
7 by invalidate?
8
9
10 On 1/27/06, Bill Roberts <billbalt@×××××××××××××.com> wrote:
11 >
12 > On 12:09 Fri 27 Jan , Dan Sheffner wrote:
13 > > I'm trying to get the http replicator working. I'm not sure what I'm
14 > doing
15 > > wrong.
16 >
17 > I assume you were using the howto:
18 >
19 > http://gentoo-wiki.com/HOWTO_Download_Cache_for_LAN-Http-Replicator
20 >
21 > I noticed a couple of minor differences from my settings:
22 >
23 > > Below is what my make.conf looks like on the server
24 > >
25 > > # These settings were set by the catalyst build scrDon't the "[1]"
26 > and "[2]" in the lines below invalidate them as URL's? They
27 > don't work in a browser, maybe wget can use them?ipt that automatically
28 > > built this stage
29 > > # Please consult /etc/make.conf.example for a more detailed example
30 > > CFLAGS="-O2 -march=pentium4"
31 > > CHOST="i686-pc-linux-gnu"
32 > > CXXFLAGS="${CFLAGS}"
33 > > SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
34 >
35 > Don't the "[1]" and "[2]" in the lines below invalidate them as URL's?
36 > They
37 > don't work in a browser, maybe wget can use them?
38 >
39 > > GENTOO_MIRRORS="[1]http://gentoo.osuosl.org/"
40 > > http_proxy="[2]http://10.1.10.37.com:8080"
41 > > RESUMECOMMAND=" /usr/bin/wget -t 5 --passive-ftp \${URI} -O
42 > > \${DISTDIR}/\${FILE}"
43 > >
44 > > Below is what my client make.conf
45 > >
46 > > # These settings were set by the catalyst build script that
47 > automatically
48 > > built this stage
49 > > # Please consult /etc/make.conf.example for a more detailed example
50 > > CFLAGS="-O2 -march=pentium3"
51 > > CHOST="i686-pc-linux-gnu"
52 > > CXXFLAGS="${CFLAGS}"
53 > > USE="mdadm"
54 > > SYNC="rsync://10.1.10.37/gentoo-portage"
55 >
56 > Same URL issue here:
57 >
58 > > http_proxy="[3]http://10.1.10.37.com:8080"
59 > > RESUMECOMMAND=" /usr/bin/wget -t 5 --passive-ftp \${URI} -O
60 > > \${DISTDIR}/\${FILE}"
61 > >
62 > > Here is the proof that the rights are correct
63 > > localhost ~ # ls -ld /var/cache/http-replicator/
64 > > drwxrwxrwx 2 portage portage 8192 Jan 25 21:53
65 > /var/cache/http-replicator/
66 > >
67 > My permissions were a bit different:
68 >
69 > drwxr-xr-x 2 portage portage 36568 Jan 25 10:15
70 > /var/cache/http-replicator/
71 >
72 > > I run the command repcacheman and it works fine with the below output
73 > >
74 > > Found 22746 ebuilds.
75 > >
76 > > Extracting the checksums....
77 > > Done!
78 > >
79 > > SUMMARY:
80 > > Found 0 duplicate file(s).
81 > > Deleted 0 dupe(s).
82 > > Found 19 new file(s).
83 > > Added 0 of those file(s) to the cache.
84 > > Rejected 0 corrupt or incomplete file(s).
85 > > 19 Unknown file(s) that are not listed in portage
86 > > You may want to delete them yourself....
87 > >
88 > > Done!
89 > >
90 > > When I go to start the server it says. And this is where I believe it
91 > > fails.
92 > > I have also tried repcacheman --user portage --dir
93 > > /var/cache/http-replicator
94 > >
95 > > localhost / # /etc/init.d/http-replicator restart
96 > > * Stopping Http-Replicator ...
97 > > No http-replicator found running; none killed. [ ok ]
98 > > * Starting Http-Replicator ...
99 > > usage: http-replicator [options]
100 > >
101 > > http-replicator: error: invalid directory
102 > '/var/cache/http-replicator' [
103 > > ok ]
104 >
105 > My /etc/conf.d/http-replicator looks identical
106 > >
107 > > Below is my /etc/conf.d/http-replicator
108 > >
109 > Hope these notes help. It works great once in place.
110 >
111 > Good luck
112 >
113 > Bill Roberts
114 >
115 >
116 >