From owner-freebsd-cvsweb@FreeBSD.ORG Mon Jul 24 12:51:37 2006 Return-Path: X-Original-To: freebsd-cvsweb@freebsd.org Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07BBB16A4DF for ; Mon, 24 Jul 2006 12:51:37 +0000 (UTC) (envelope-from jadu.saikia@in.ness.com) Received: from mssbgw4.in.ness.com (mssbgw4.in.ness.com [164.164.106.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6CA143D4C for ; Mon, 24 Jul 2006 12:51:33 +0000 (GMT) (envelope-from jadu.saikia@in.ness.com) Received: from mailsrv ([192.168.105.27]) by mssbgw4.in.ness.com with InterScan Messaging Security Suite; Mon, 24 Jul 2006 18:11:03 +0530 Received: from HSRP ([172.22.23.124]) by mailsrv with Microsoft SMTPSVC(6.0.3790.1830); Mon, 24 Jul 2006 18:11:13 +0530 From: "Jadu Kumar Saikia" To: Date: Mon, 24 Jul 2006 18:17:55 +0530 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: AcavH2H5jk7JViejR6uli6wfuJPZdg== Message-ID: X-OriginalArrivalTime: 24 Jul 2006 12:41:13.0371 (UTC) FILETIME=[72A196B0:01C6AF1E] Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Error: No valid CVS roots found! See @CVSrepositories in the configuration file (/etc/cvsweb/cvsweb.conf)... please help X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jul 2006 12:51:37 -0000 Hi All, I am very new to CVSWEb, also (probably) the newest member of this list. Describing one duplicate issue (that came into discussion in Aug'2005). I have RANCID and CVSWeb installed on a Fedora Core 3 box. RANCID is working file as per expactation. I have the following lines in cvsweb.conf pointing to my RANCID CVS repository: @CVSrepositories = ( 'configs' => ['Lab configs','/var/www/rancid/CVS'] # 'local' => ['Local Repository', '/var/cvs'], # 'freebsd' => ['FreeBSD', '/var/ncvs'], # 'openbsd' => ['OpenBSD', '/var/ncvs'], # 'netbsd' => ['NetBSD', '/var/ncvs'], # 'ruby' => ['Ruby', '/var/anoncvs/ruby'], ); Pointing my browser at http:/dummy.org/cgi-bin/cvsweb.cgi, faced the following error Error Error: No valid CVS roots found! See @CVSrepositories in the configuration file (/etc/cvsweb/cvsweb.conf). ---------------------------------------------------------------------------- ---- In cvsweb.cgi: # # CVS roots # my $rootfound = 0; for (my $i = 0; $i < scalar(@CVSrepositories); $i += 2) { my $key = $CVSrepositories[$i]; my ($descr, $root) = @{$CVSrepositories[$i+1]}; $root = canonpath($root); unless (-d $root) { warn("Root '$root' defined in \@CVSrepositories is not a directory, " . 'entry ignored'); next; } $rootfound ||= 1; $cvstreedefault = $key unless defined($cvstreedefault); $CVSROOTdescr{$key} = $descr; $CVSROOT{$key} = $root; push(@CVSROOT, $key); } unless ($rootfound) { fatal('500 Internal Error', 'No valid CVS roots found! See @CVSrepositories in ' . 'the configuration file (%s).', $config); } undef $rootfound; Please help me to sort this problem. I will be grateful to all of you. Also suggest how to configure RANCID with CVSWEb, Am I missing something very fundamental? Many Thanks, JKS Disclaimer This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom it is addressed. If you have received this communication in error, please immediately notify the MailAdmin@in.ness.com and destroy the original message. The recipient should check this email and any attachments for the presence of viruses. Ness has taken every reasonable precaution to minimize this risk, and accepts no liability for any damage caused by any virus transmitted in this email. Ness reserves the rights to monitor and review the content of all messages sent to or from this E-mail address, and store them on the Ness E-mail system.