Date: Tue, 23 Aug 2005 22:44:31 -0400 From: "Pierce, Steven T \(Steve\), CMO" <stpierce@att.com> To: <freebsd-cvsweb@freebsd.org> Subject: CVSRepositories Message-ID: <703B56AF3EFA6D488043B41602FB32170AFDE0A0@ACCLUST03EVS1.ugd.att.com>
next in thread | raw e-mail | index | archive | help
I saw the following posting. I'm experiencing the same thing. Were you = able to find the fix for the error? CVSRepositories Joe McCarty jmccarty at scoe.org = <mailto:freebsd-cvsweb%40freebsd.org?Subject=3DCVSRepositories&In-Reply-T= o=3D>=20 Fri Dec 17 10:08:18 PST 2004=20 * Previous message: Ports with duplicate LATEST_LINKS = <http://lists.freebsd.org/pipermail/freebsd-cvsweb/2004-December/000338.h= tml>=20 * Next message: CVSRepositories = <http://lists.freebsd.org/pipermail/freebsd-cvsweb/2004-December/000340.h= tml>=20 * Messages sorted by: [ date ] = <http://lists.freebsd.org/pipermail/freebsd-cvsweb/2004-December/date.htm= l#339> [ thread ] = <http://lists.freebsd.org/pipermail/freebsd-cvsweb/2004-December/thread.h= tml#339> [ subject ] = <http://lists.freebsd.org/pipermail/freebsd-cvsweb/2004-December/subject.= html#339> [ author ] = <http://lists.freebsd.org/pipermail/freebsd-cvsweb/2004-December/author.h= tml#339> =20 _____ =20 I have installed RANCID and CVSWeb on a Fedora Core 2 box. RANCID is =20 fully funcitonal--it can log into my devices, get the configs, increment = =20 versions, and email diffs. I have the following lines in cvsweb.conf pointing to my RANCID CVS =20 repository: @CVSrepositories =3D ( # 'local' =3D> ['Local Repository', '/var/cvs'], # 'freebsd' =3D> ['FreeBSD', '/var/ncvs'], # 'openbsd' =3D> ['OpenBSD', '/var/ncvs'], # 'netbsd' =3D> ['NetBSD', '/var/ncvs'], # 'ruby' =3D> ['Ruby', '/var/anoncvs/ruby'], 'rancid' =3D> ['Rancid', = '/home/rancid/var/rancid/CVS'], ); # The default CVS root. Note that @CVSrepositories is list, not a hash, # so you'll want to use 2 * 0-based-index-number here; or set this = directly # to the default's symbolic name. Unless specified, the first valid one = in # @CVSrepositories is used as the default. # # For example: # #$cvstreedefault =3D $CVSrepositories[2 * 0]; $cvstreedefault =3D 'rancid'; Pointing my browser at http:/foo.org/cgi-bin/cvsweb.cgi, I draw an error = =20 message, "Error: No valid CVS roots found! See @CVSrepositories in the =20 configuration file (/etc/cvsweb/cvsweb.conf)." log/httpd/error_log states, "Root '/home/rancid/var/rancid/CVS' defined = in =20 @CVSrepositories is not a directory, entry ignored at =20 /var/www/cgi-bin/cvsweb.cgi line 491." The referenced line in cvsweb.cgi is in the following block: 483 # CVS roots 484 # 485 my $rootfound =3D 0; 486 for (my $i =3D 0; $i < scalar(@CVSrepositories); $i +=3D 2) { 487 my $key =3D $CVSrepositories[$i]; 488 my ($descr, $root) =3D @{$CVSrepositories[$i+1]}; 489 $root =3D canonpath($root); 490 unless (-d $root) { 491 warn("Root '$root' defined in \@CVSrepositories is not a =20 directory, " . 492 'entry ignored'); 493 next; 494 } /home/rancid/var/rancid/CVS is indeed a directory, and is the root of = the =20 RANCID CVS tree. An evironmental variable "CVSROOT" is define for root, = =20 pointing at this folder. What is my error, and what is the fix? Thanks! Notice to Recipient: Information contained in this message may be privileged, confidential = and protected from disclosure. If you are not an intended recipient, it is strictly prohibited to use, disseminate or copy this communication. If = you have received this in error, please reply to the sender and then = delete the message. Thank you. _____ =20 * Previous message: Ports with duplicate LATEST_LINKS = <http://lists.freebsd.org/pipermail/freebsd-cvsweb/2004-December/000338.h= tml>=20 * Next message: CVSRepositories = <http://lists.freebsd.org/pipermail/freebsd-cvsweb/2004-December/000340.h= tml>=20 * Messages sorted by: [ date ] = <http://lists.freebsd.org/pipermail/freebsd-cvsweb/2004-December/date.htm= l#339> [ thread ] = <http://lists.freebsd.org/pipermail/freebsd-cvsweb/2004-December/thread.h= tml#339> [ subject ] = <http://lists.freebsd.org/pipermail/freebsd-cvsweb/2004-December/subject.= html#339> [ author ] = <http://lists.freebsd.org/pipermail/freebsd-cvsweb/2004-December/author.h= tml#339> =20 _____ =20 More information about the freebsd-cvsweb mailing list = <http://lists.freebsd.org/mailman/listinfo/freebsd-cvsweb> =20 Steve Pierce Principal Consultant Network Design & Consulting Division = <http://tmmedia.bns.att.com/ndcd/index.htm>=20 AT&T Solution Center 312-230-4005
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?703B56AF3EFA6D488043B41602FB32170AFDE0A0>