Re: cvsup-mirror
On Wed, Apr 22, 2009 at 11:49 AM, Tim Judd taj...@gmail.com wrote: I am having quite the issue with a cvsup-mirror install (1.3_8) here. It seems to be keeping some meta information file somewhere and has FAILED to give me a local mirror (not one to be publicly available) yet. Being the stubborn person I am, I have multiple times cleared some and all of the following to try to resolve the problem... /usr/local/etc/cvsup the package itself /home/ncvs /home/cvsupin /usr/ports/ports/net/cvsup-mirror And each time it takes ~5 hours to download 1.5GB of data in /home/ncvs then a client connecting to itself fails to work. Latest problem is -- Quote Server warning: Cannot open /usr/local/etc/cvsup/prefixes/FreeBSD.cvs/src/gnu/lib/libgmp/mpz/get_si.c,v: No such file or directory Server warning: Cannot open /usr/local/etc/cvsup/prefixes/FreeBSD.cvs/src/gnu/lib/libgmp/mpz/get_str.c,v: No such file or directory Server warning: Cannot open /usr/local/etc/cvsup/prefixes/FreeBSD.cvs/src/gnu/lib/libgmp/mpz/get_ui.c,v: No such file or directory Server warning: Cannot open /usr/local/etc/cvsup/prefixes/FreeBSD.cvs/src/gnu/lib/libgmp/mpz/getlimbn.c,v: No such file or directory -- /Quote It's just a snippet.. It can't find ANYTHING. Other problems included the inability to even select the src-all/cvs or ports-all/cvs (trees? branches?) in the server, yet it has 1.5GB downloaded. What'd help me to learn what's wrong is the line in config.sh as below: distribs=distrib.self .. . FreeBSD.cvs /home/ncvs . FreeBSD-www.current SKIP . FreeBSD-gnats.current SKIP gnats FreeBSD-mail.current SKIP . My guess is it names a distribution and puts a directory it stores the files into in the next argument, separated by space. Next distribution is named and it's directory it stores the files into as the next one past that, with all distributions separated by a single period. Then the word 'gnats' throws me off because I . don't know what the heck it's there for.. is the '.' an alias instead to the first item in the line, meaning it's a tuple? (distrib storedir alias)... What throws me off is that the /usr/local/etc/cvsup directory was tarred up from a working mirror and copied here and let the update.sh run for 5 hours, to come to the above quoted warnings (but I'm treating them as errors). The working system has about 4GB in /home/ncvs that works for me, but this one can't get past 1.5GB. Working system has been working beautifully for several months (6?).. so maybe it's just collective. I really would like to get a bearing on cvsup-mirror, but have no clue what to google or read to find out some of the troubleshooting guides. --Tim Bump Any other mailing list I can send this question to? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: cvsup-mirror: clients never get past 'running' (server 100% idle)
Hugo Silva wrote: Hello, I've set up a local cvsup mirror for a freebsd server farm but I'm having some trouble making it work. I went with all the defaults on the install, only skipping gnats www and mail. The initial update went well, took awhile but I have all files in place now. However, when connecting to get src or ports, it'll never get past /usr/src# make update -- Running /usr/bin/csup -- Parsing supfile /root/cvsup/standard-supfile Connecting to 172.16.100.22 Connected to 172.16.100.22 Server software version: SNAP_16_1h Negotiating file attribute support Exchanging collection information Establishing multiplexed-mode data connection Running 73163 3002 1 440 7592K 3812K select 0 0:02 0.00% cvsupd It just stays idle forever... 3002 73163 0.0 0.2 7592 3812 ?? IJ7:07PM 0:01.58 /usr/local/sbin/cvsupd -e -C 10 -l @daemon -b /usr/local/etc/cvsup -s sup.client FreeBSD 7.0-BETA4/amd64, cvsupd is running inside a jail, on ZFS. What am I missing ? Regards, Hugo Proto Recv-Q Send-Q Local Address Foreign Address(state) tcp4 0 16479 172.16.100.22.5999 172.16.100.92.61642 ESTABLISHED Send-Q is 16479 on the server as soon as the client gets to the Running phase (and stalls), the client sees: tcp4 0 0 172.16.100.92.61642172.16.100.22.5999 ESTABLISHED I'm baffled and don't have much free time to chase this down right now, does this ring a bell to anyone at all ? No firewalls are running on either host, and they're in the same subnet.. Best regards, Hugo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup-mirror several questions
On Tue, 2007-10-16 at 10:39 +, Aryeh M. Friedman wrote: I have setup cvsup-mirror with default settings and I have some questions: 1. What cvsup host should I use as my upstream (cvsup.master.freebsd.org [if I got the name wrong sorry but see next sentence] is an invalid name according to named).Currently I pointed it to cvsup10.us.freebsd.org and successfully ran update.sh (i.e. completely populated /home/ncvs). 2. When I run cvsupd with default settings it says it can't find any collections (cvsup -h localhost /usr/share/example/cvsup/ports-supfile) 3. For doing cvsup updates for the local host is cvsup or straight cvs better and if the later what is the correct config to use? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hi Aryeh, two things: 1) is your clock set correctly? I received your mail *very * out of order on the mailing list. 2) A thread that just happened started addressing some of these questions. It's available here: http://lists.freebsd.org/pipermail/freebsd-questions/2007-October/160307.html You might find that a nice place to start. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup-mirror several questions
Hi Aryeh, two things: 1) is your clock set correctly? I received your mail *very * out of order on the mailing list. The time is right but the TZ is wrong everytime I attempt to correct the TZ the time gets readjusted... specifically my clock says: Tue Oct 16 11:10:33 UTC 2007 right now but if I set it to EDT will say: Tue Oct 16 07:10:33 EDT 2007 btw I use tzsetup any help would be nice but since I do nothing that is TZ sensitive I just live with it. 2) A thread that just happened started addressing some of these questions. It's available here: http://lists.freebsd.org/pipermail/freebsd-questions/2007-October/160307.html I don't have a browser setup right now but if I remember right that is a thread I started when deciding how to install cvsup and if I remember right the advice was to do what I just did and go with defaults only. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: cvsup-mirror supfile configuration for specific source
Thanks for the response. However, I'm trying to avoid having to download the entire cvs tree considering I only need the source 5.5 Release or 6.2 Release. The ports tree would be great as well. The CVS Repository is 3.1 GB which is a rather large amount for us to download. http://www.freebsd.org/doc/en_US.ISO8859-1/articles/hubs/mirror-requirem ents.html -Original Message- From: Lowell Gilbert [mailto:[EMAIL PROTECTED] Sent: 25 April 2007 17:55 To: Anthony Human Cc: freebsd-questions@freebsd.org Subject: Re: cvsup-mirror supfile configuration for specific source Anthony Human [EMAIL PROTECTED] writes: Currently we have quite a number of servers running either 5.5 Release or 6.2 Release. I would like to configure a BSD box as a cvsup-mirror to serve our internal servers. I am doing this to hopefully save both time and bandwidth when updating. Please could someone assist me with configuring the supfile to only download the source for the above versions? Any other advice/tips would be much appreciated. If you're running a local cvsup mirror, just grab the whole cvs tree for the sources (and the ports). You can leave out the bug database, and a few other distributions, but it's probably not worth your while to get the checked-out sources instead of the cvs files. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup-mirror supfile configuration for specific source
Don't top-post, please. Anthony Human [EMAIL PROTECTED] writes: Thanks for the response. However, I'm trying to avoid having to download the entire cvs tree considering I only need the source 5.5 Release or 6.2 Release. The ports tree would be great as well. Well, you can certainly do that. Just set the prefix and tag variables differently for the different branches. Ports aren't branched. The CVS Repository is 3.1 GB which is a rather large amount for us to download. http://www.freebsd.org/doc/en_US.ISO8859-1/articles/hubs/mirror-requirements.html Right now I seem to have about 1.6G for src and 1.2G for ports. Still, it's a one-time expense; your ongoing download requirements may even be a little *smaller* for keeping the whole cvs tree. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup-mirror supfile configuration for specific source
Anthony Human [EMAIL PROTECTED] writes: Currently we have quite a number of servers running either 5.5 Release or 6.2 Release. I would like to configure a BSD box as a cvsup-mirror to serve our internal servers. I am doing this to hopefully save both time and bandwidth when updating. Please could someone assist me with configuring the supfile to only download the source for the above versions? Any other advice/tips would be much appreciated. If you're running a local cvsup mirror, just grab the whole cvs tree for the sources (and the ports). You can leave out the bug database, and a few other distributions, but it's probably not worth your while to get the checked-out sources instead of the cvs files. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup mirror is failing
On Thursday 03 November 2005 12:10 pm, stan wrote: I went to update one of my machines today, and as a precaution, i checked the local cvsup mirro log. here's what I found: CVSup update begins at 2005-11-03 05:33:00 Updating from cvsup-master.freebsd.org Connected to cvsup-master.freebsd.org No record for server freefall.freebsd.org in /home/cvsupin/.cvsup/auth CVSup update ends at 2005-11-03 05:33:00 I have no idea how long this has been failing, as I;ve been busy on other things. Has something chnaged about mirroring? How can I fix this problem? You aren't supposed to use master unless you are an official mirror. Check for one of the second level names such as cvsup1.freebsd.org and use one of them. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup-mirror and my other local servers
On Friday 22 April 2005 04:40 pm, Derrick MacPherson wrote: On Fri, 2005-04-22 at 16:14 -0700, Kent Stewart wrote: CUT There is a lot of stuff that comes along but here is what I do. I have a script file called upstable. It looks like # m upstable #! /bin/sh cd /root/cvsup #cvsup -g -L 2 4.x-stable-supfile 21 | tee cvsup.log cvsup -g -L 2 stable-supfile 21 | tee /var/log/build/cvsup.log cd /var/log/build/ # Now convert the log to html` cvsuplog cvsup.log cvsup-`date +%Y%m%d-%H%M`.html Now /root/cvsup/stable-supfile looks like # cat stable* # $FreeBSD: src/share/examples/cvsup/stable-supfile # IMPORTANT: Change the next line to use one of the CVSup mirror sites # listed at http://www.freebsd.org/handbook/mirrors.html. #*default host=cvsup16.freebsd.org *default host=crystal *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_4 *default delete use-rel-suffix # If your network link is a T1 or faster, comment out the following line. #*default compress ## Main Source Tree. # src-all K. I'm mirroring the freebsd cvs to an internal machine by using the ports cvsup-mirror, so as far as I can tell thats the only difference. How does that change what the cvs server is telling the client is available? and is using cvsup-mirror not a good idea for this? That is what I am running on crystal. You are adding cvs characteristics to a cvsup mirror. Somewhere in there, I think you are confused but I don't know where. The cvsup mirror works perfectly. It cuts down on your use of a slow internet and lets you use a 100Mbs internal network. The whole purpose is to cut down on traffic to your favorite mirror and cvsup-mirror does an excellant job of doing that. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup-mirror and my other local servers
On Friday 22 April 2005 04:02 pm, Derrick MacPherson wrote: On Fri, 2005-04-22 at 15:50 -0700, Kent Stewart wrote: On Friday 22 April 2005 03:08 pm, Derrick MacPherson wrote: On Fri, 2005-04-22 at 09:27 -0700, Derrick MacPherson wrote: I have about 8 freebsd boxes, I am using one with the ports cvsup-mirror as the central cvs source for my other boxes, but when I point them at the master cvs server I get this error: cvsup -h cvs stable-supfile Connected to cvs Server message: Unknown collection src-all Skipping collection src-all/cvs Finished successfully and in the server logs: Apr 22 09:22:15 cvs cvsupd[24459]: +8 [EMAIL PROTECTED] [SNAP_16_1h/17.0] Apr 22 09:22:15 cvs cvsupd[24459]: =8 Unknown collection src-all Apr 22 09:22:16 cvs cvsupd[24459]: -8 [0Kin+0Kout] Finished successfully I think i'm missing something quite small, but can't google what looks like a correct answer. I've not changed configuration much beyond the initial default installation config. Can someone point me in the right direction? cvs# uname -a FreeBSD cvs.mainframe.ca 5.3-RELEASE FreeBSD 5.3-RELEASE #5 Also, if I'm to set up a cvs server for my 4.1X boxes, can i use the same server? if so how do I differentiate the 2 distros? And what about ports, are they the same for 4.x and 5.x? Any suggestions on this one? I'm heading off in a couple hours for vacation for a week, and was hoping to have this working by the end of the day. I have a mirror but all I had to do is replace the host in the cvsup file with my local computer running cvsupd. Thats what I did as well, using the /usr/share/examples/cvsup/ cvsup files that i've always used. Is that wrong? There is a lot of stuff that comes along but here is what I do. I have a script file called upstable. It looks like # m upstable #! /bin/sh cd /root/cvsup #cvsup -g -L 2 4.x-stable-supfile 21 | tee cvsup.log cvsup -g -L 2 stable-supfile 21 | tee /var/log/build/cvsup.log cd /var/log/build/ # Now convert the log to html` cvsuplog cvsup.log cvsup-`date +%Y%m%d-%H%M`.html Now /root/cvsup/stable-supfile looks like # cat stable* # $FreeBSD: src/share/examples/cvsup/stable-supfile # IMPORTANT: Change the next line to use one of the CVSup mirror sites # listed at http://www.freebsd.org/handbook/mirrors.html. #*default host=cvsup16.freebsd.org *default host=crystal *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_4 *default delete use-rel-suffix # If your network link is a T1 or faster, comment out the following line. #*default compress ## Main Source Tree. # src-all Crystal is the host name of my local computer running cvsupd. If I am concerned about what is on it. I change the host and get my update from cvsup16. If I want to cvsup RELENG_5, I just change the tag and the scripts work on both versions. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup-mirror and my other local servers
On Fri, 2005-04-22 at 16:14 -0700, Kent Stewart wrote: CUT There is a lot of stuff that comes along but here is what I do. I have a script file called upstable. It looks like # m upstable #! /bin/sh cd /root/cvsup #cvsup -g -L 2 4.x-stable-supfile 21 | tee cvsup.log cvsup -g -L 2 stable-supfile 21 | tee /var/log/build/cvsup.log cd /var/log/build/ # Now convert the log to html` cvsuplog cvsup.log cvsup-`date +%Y%m%d-%H%M`.html Now /root/cvsup/stable-supfile looks like # cat stable* # $FreeBSD: src/share/examples/cvsup/stable-supfile # IMPORTANT: Change the next line to use one of the CVSup mirror sites # listed at http://www.freebsd.org/handbook/mirrors.html. #*default host=cvsup16.freebsd.org *default host=crystal *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_4 *default delete use-rel-suffix # If your network link is a T1 or faster, comment out the following line. #*default compress ## Main Source Tree. # src-all K. I'm mirroring the freebsd cvs to an internal machine by using the ports cvsup-mirror, so as far as I can tell thats the only difference. How does that change what the cvs server is telling the client is available? and is using cvsup-mirror not a good idea for this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup-mirror and my other local servers
On Friday 22 April 2005 03:08 pm, Derrick MacPherson wrote: On Fri, 2005-04-22 at 09:27 -0700, Derrick MacPherson wrote: I have about 8 freebsd boxes, I am using one with the ports cvsup-mirror as the central cvs source for my other boxes, but when I point them at the master cvs server I get this error: cvsup -h cvs stable-supfile Connected to cvs Server message: Unknown collection src-all Skipping collection src-all/cvs Finished successfully and in the server logs: Apr 22 09:22:15 cvs cvsupd[24459]: +8 [EMAIL PROTECTED] [SNAP_16_1h/17.0] Apr 22 09:22:15 cvs cvsupd[24459]: =8 Unknown collection src-all Apr 22 09:22:16 cvs cvsupd[24459]: -8 [0Kin+0Kout] Finished successfully I think i'm missing something quite small, but can't google what looks like a correct answer. I've not changed configuration much beyond the initial default installation config. Can someone point me in the right direction? cvs# uname -a FreeBSD cvs.mainframe.ca 5.3-RELEASE FreeBSD 5.3-RELEASE #5 Also, if I'm to set up a cvs server for my 4.1X boxes, can i use the same server? if so how do I differentiate the 2 distros? And what about ports, are they the same for 4.x and 5.x? Any suggestions on this one? I'm heading off in a couple hours for vacation for a week, and was hoping to have this working by the end of the day. I have a mirror but all I had to do is replace the host in the cvsup file with my local computer running cvsupd. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup-mirror and my other local servers
On Fri, 2005-04-22 at 09:27 -0700, Derrick MacPherson wrote: I have about 8 freebsd boxes, I am using one with the ports cvsup-mirror as the central cvs source for my other boxes, but when I point them at the master cvs server I get this error: cvsup -h cvs stable-supfile Connected to cvs Server message: Unknown collection src-all Skipping collection src-all/cvs Finished successfully and in the server logs: Apr 22 09:22:15 cvs cvsupd[24459]: +8 [EMAIL PROTECTED] [SNAP_16_1h/17.0] Apr 22 09:22:15 cvs cvsupd[24459]: =8 Unknown collection src-all Apr 22 09:22:16 cvs cvsupd[24459]: -8 [0Kin+0Kout] Finished successfully I think i'm missing something quite small, but can't google what looks like a correct answer. I've not changed configuration much beyond the initial default installation config. Can someone point me in the right direction? cvs# uname -a FreeBSD cvs.mainframe.ca 5.3-RELEASE FreeBSD 5.3-RELEASE #5 Also, if I'm to set up a cvs server for my 4.1X boxes, can i use the same server? if so how do I differentiate the 2 distros? And what about ports, are they the same for 4.x and 5.x? Any suggestions on this one? I'm heading off in a couple hours for vacation for a week, and was hoping to have this working by the end of the day. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup-mirror and my other local servers
On Fri, 2005-04-22 at 15:50 -0700, Kent Stewart wrote: On Friday 22 April 2005 03:08 pm, Derrick MacPherson wrote: On Fri, 2005-04-22 at 09:27 -0700, Derrick MacPherson wrote: I have about 8 freebsd boxes, I am using one with the ports cvsup-mirror as the central cvs source for my other boxes, but when I point them at the master cvs server I get this error: cvsup -h cvs stable-supfile Connected to cvs Server message: Unknown collection src-all Skipping collection src-all/cvs Finished successfully and in the server logs: Apr 22 09:22:15 cvs cvsupd[24459]: +8 [EMAIL PROTECTED] [SNAP_16_1h/17.0] Apr 22 09:22:15 cvs cvsupd[24459]: =8 Unknown collection src-all Apr 22 09:22:16 cvs cvsupd[24459]: -8 [0Kin+0Kout] Finished successfully I think i'm missing something quite small, but can't google what looks like a correct answer. I've not changed configuration much beyond the initial default installation config. Can someone point me in the right direction? cvs# uname -a FreeBSD cvs.mainframe.ca 5.3-RELEASE FreeBSD 5.3-RELEASE #5 Also, if I'm to set up a cvs server for my 4.1X boxes, can i use the same server? if so how do I differentiate the 2 distros? And what about ports, are they the same for 4.x and 5.x? Any suggestions on this one? I'm heading off in a couple hours for vacation for a week, and was hoping to have this working by the end of the day. I have a mirror but all I had to do is replace the host in the cvsup file with my local computer running cvsupd. Thats what I did as well, using the /usr/share/examples/cvsup/ cvsup files that i've always used. Is that wrong? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup-mirror
On Tue, Apr 19, 2005 at 04:38:10PM +0400, Vyacheslav Druzhinin wrote: Hello all, I have installed ports/cvsup-mirror at defaults settings and it downloads over 3GB files on my hard drive (I guess it dowloads all releases and all ports collections). Does anyone knows how to reduce traffic if I need only fresh ports and RELENG_5_3 cvs tag available for cvsup ??? Hi, cvsup-mirror is for running your own cvsup server to distribute FreeBSD files to others. You probably just want to use cvsup with an appropriate supfile - usually based on one of the samples in /usr/share/examples/cvsup. Also see Ch 19 of the handbook for lots of details on setting this up: http://www.uk.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html Cheers, Scott -- === Scott Mitchell | PGP Key ID | Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines scott at fishballoon.org | 0xAA775B8B | -- Anon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CVSUP Mirror
Lonnie Santella wrote: This all checks out correctly. I'm basically using almost entirely defaults here. My supfile on my mirror server looks identical to yours. This is driving me crazy. The one thing I wonder is, how does my cvsup mirror server know how to share it's full ports tree? None of the config files I see mention anything about ports. During the initial make of the cvsup-mirror, I chose NOT to mirror the src, www, gnats - and nothing was mentioned about ports. I'm confused. Why is it, if this was built from ports, and I ran the full make and make install with no errors, that this thing won't work? I thought that was why we install from ports... Did you have to configure something else specifically to allow your ports collection to be shared via the cvsupd daemon? OK, I'm trying to recreate what you have as I'm typing this reply. This is the results of make in /usr/ports/net/cvsup-mirror: Stargate# make === Configuring for cvsup-mirror-1.3_2 I am going to ask you a few questions so that I can set up your FreeBSD mirror configuration. Every question has a [default] answer. To accept the default, just press ENTER. At this point, I am just gathering information. I will not touch your system until you type make install. Master site for your updates [cvsup-master.freebsd.org]? 192.168.0.20 How many hours between updates of your files [1]? Now you must decide which sets of files you wish to make available from your mirror site. You can choose any combination, and you can put each set anywhere you want to on your disks. Although each set is optional, we strongly encourage every mirror site to carry at least the main source repository. Do you wish to mirror the main source repository [y]? n Do you wish to mirror the installed World Wide Web data [y]? n Do you wish to mirror the GNATS bug tracking database [y]? n Do you wish to mirror the mailing list archive [y]? n Now, a few questions so that I can set up your CVSup server properly. For security reasons, both the CVSup client and server should run under their own unique user and group IDs. These IDs should have no special access privileges. Normally, the user:group cvsupin:cvsupin is used for the client and cvsup:cvsup is used for the server, but you can choose other names if you wish. At make install time, I will create the users and groups, if they don't already exist. Use unique user and group IDs for these. Do not use nobody, nonroot, or nogroup. Unique unprivileged user ID for running the client [cvsupin]? Unique unprivileged group ID for running the client [cvsupin]? Unique unprivileged user ID for running the server [cvsup]? Unique unprivileged group ID for running the server [cvsup]? The CVSup server does its logging via syslog. At make install time, I will set up the logging for you, if necessary. I will use the !program feature of syslog to keep your CVSup log messages separate from the messages of your other daemons. Syslog facility for the server log [daemon]? You can control the load on your machine by limiting the number of clients that the CVSup server will serve at once. CVSup won't load your network especially heavily, but it is more CPU and disk intensive than most other file server software. Maximum simultaneous client connections [8]? Building the config.sh file ... Done. Building the cvsupd.access file ... Done. Stargate# I doubt this is a problem but we are being thurogo: Stargate# more /usr/ports/net/cvsup-mirror/work/cvsupd.access -0.0.0.0/0 8 # Limit total connections -0.0.0.0/0/32 1 # Allow only 1 connection from each host +0.0.0.0/0 # If we reach this rule, we let the client in Stargate# I'm a little more suspicious of the distribs= value here (because I do not completely understand how it works): Stargate# more /usr/ports/net/cvsup-mirror/work/config.sh user=cvsup group=cvsup cuser=cvsupin cgroup=cvsupin host=192.168.0.20 interval=1 maxclients=8 facility=daemon distribs=distrib.self .. . FreeBSD.cvs SKIP . FreeBSD-www.current SKIP . FreeBSD-gnats.current SKIP gnats FreeBSD-mail.current SKIP . Stargate# Here's my make install: Stargate# make install === Installing for cvsup-mirror-1.3_2 === cvsup-mirror-1.3_2 depends on file: /usr/local/sbin/cvsupd - found === Generating temporary packing list === Checking if net/cvsup-mirror already installed Installing files You need a group cvsup. Would you like me to create it [y]? y Done. You need a user cvsup. Would you like me to create it [y]? y Done. You need a group cvsupin. Would you like me to create it [y]? y Done. You need a user cvsupin. Would you like me to create it [y]? y Done. Fixing ownerships and modes in /usr/local/etc/cvsup. Setting up links and directories for distributions. Linking distrib.self - .. Linking FreeBSD.cvs - SKIP Linking FreeBSD-www.current - SKIP Linking FreeBSD-gnats.current - SKIP Linking FreeBSD-mail.current - SKIP Would you like me to set up the syslog logging [y]? y
Re: CVSUP Mirror
Lonnie Santella wrote: FreBSD 4.10 Release CVSUP-MIRROR v. 1.3_2 freshly installed. I got the cvsup-mirror port installed without any errors. The CVSUPD daemon is running. I can connect to my mirror from another server. When I try to update a ports collection (i.e. ports-editors) is will spit out the error: Collection ports-editors release cvs is not available here I did not specifiy any of the default collections during the install (i.e. src, www, gnats) because all I want to make available via cvsupd is the ports collections. However, since the install never asked me anything about ports, I'm hesitant that I have not properly made them available via cvsup. I've been throught the FreeBSD Handbook, and the cvsup.org website - absolutely no help at all. I've also searched through the /usr/ports/net/cvsup-mirror directory just to find absolutely no documentation whatsoever. All I want to do is run a mirror so I can keep the ports trees on my other BSD servers up-to-date. Can you please help me? -just a little frustrated ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Lonnie, I didn't see any cvsup files so let me see what I can do by working backwards with you... I have cvsup-mirror running on one of my machines mirroring the entire cvsup collection. Normally I update the entire ports tree but I tried to update just ports-editors. It appeared to work. This is the cvsupfile I ran: *default host=192.168.0.20 *default base=/usr *default prefix=/usr *default release=cvs *default tag=. *default delete use-rel-suffix ports-editors I did not get the error message you mentioned until I changed the collection name to something bogus. e.g. I changed ports-editors to ports-editors-junk. This makes me think you are not mirroring, or not mirroring correctly, the ports tree. The supfile that goes with my cvsup-mirror looks like this: $ more /usr/local/etc/cvsup/supfile # # Standard supfile for CVSup FreeBSD mirrors. # *default delete use-rel-suffix umask=002 cvs-all release=cvs prefix=prefixes/FreeBSD.cvs gnatsrelease=current prefix=prefixes/FreeBSD-gnats.current www release=current prefix=prefixes/FreeBSD-www.current mail-archive release=current prefix=prefixes/FreeBSD-mail.current distrib release=selfprefix=prefixes/distrib.self $ I weould check to see what you have in the spot where I have cvs-all. There is a discussion in section A.5.5 of the FBSD Handbook that talks about the various file collections. It is at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html You should note the warning about the need to ALWAYS update ports-base. Even if you are not updating the whole ports tree. Cheers... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup-mirror issue.
On Tuesday 16 March 2004 07:10 pm, Chris wrote: When running cvsup-mirror from the ports, the logs produce this - yet I am getting nothing and the auth file is empty. Please advise. CVSup update begins at 2004-03-16 21:00:00 Updating from cvsup-master.freebsd.org Connected to cvsup-master.freebsd.org No record for server freefall.freebsd.org in /home/cvsupin/.cvsup/auth CVSup update ends at 2004-03-16 21:00:00 It is my understanding that if you aren't a real mirror, you have to use something like cvsup12 or etc. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup mirror updates failing
On Monday 08 March 2004 06:31 am, stan wrote: ONe of my cvsup mirros is suddenly getting errors like this: SetAttrs ports/sysutils/lire/Makefile,v TreeList failed: Error in /usr/local/etc/cvsup/sup.client/cvs-all/checkouts.cvs : 124218: Invalid file type. Delete it and try again. CVSup update ends at 2004-03-08 07:41:16 What is this trying to tell me? And how do I fix this? It looks like cvsup doesn't like a line in your cvs-mirror's checkouts.cvs;. file. It is a text file. You can edit it and remove the line and try to update your mirror. There have been times when people have deleted their checkouts file. The next mirror update goes pretty slow but works. I was trying to update my mirror with a -s option on cvsup but it didn't save anytime, so I removed the option. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]