From owner-freebsd-cvsweb@FreeBSD.ORG Wed Jul 23 14:25:28 2003 Return-Path: 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 DFF9137B448 for ; Wed, 23 Jul 2003 14:25:26 -0700 (PDT) Received: from smtp3.pp.htv.fi (smtp3.pp.htv.fi [213.243.153.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3588543FA3 for ; Wed, 23 Jul 2003 14:25:26 -0700 (PDT) (envelope-from scop@FreeBSD.org) Received: from posti.pp.htv.fi (posti.pp.htv.fi [212.90.64.50]) by smtp3.pp.htv.fi (Postfix) with ESMTP id 24BDF27B25C for ; Thu, 24 Jul 2003 00:25:22 +0300 (EEST) Received: from cs78130147.pp.htv.fi (cs78130147.pp.htv.fi [62.78.130.147]) by posti.pp.htv.fi (8.11.1/8.11.1) with ESMTP id h6NLPM508027 for ; Thu, 24 Jul 2003 00:25:22 +0300 (EETDST) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: freebsd-cvsweb@FreeBSD.org In-Reply-To: <62967.208.60.199.145.1057957440.squirrel@www.bubel.com> References: <62967.208.60.199.145.1057957440.squirrel@www.bubel.com> Content-Type: text/plain Organization: FreeBSD Message-Id: <1058995521.8025.97.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 (1.4.0-0.vs.1) Date: 24 Jul 2003 00:25:21 +0300 Content-Transfer-Encoding: 7bit Subject: Re: cvsweb error in conf - help requested X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list [restricted posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 21:25:29 -0000 On Sat, 2003-07-12 at 00:04, jml@bubel.com wrote: > Hello all, > > I am trying to get cvsweb running on FreeBSD and getting this error: > > Error: $cvstreedefault points to a repository (local) not defined in > %CVSROOT (edit your configuration file /etc/cvsweb.conf) > > And I am certain my conf file is correct (attached below), I have used > cvsweb on Debian linux and never had this issue. I can't find anything > that should be preventing this from working, any help would be greatly > appreciated. The path to the cvsroot is correct as listed, I am > completely confounded, as this has never been an issue, after two days of > banging my head I am groveling for help. ;) I don't see anything obviously wrong with you setup. The only logical explanation I can come up offhand with is that /home/developer/cvsroot might not be a directory (is it a symlink?). What does the following command print when run it as the user that runs cvsweb.cgi (ie. your web server): perl -e 'print -d "/home/developer/cvsroot" ? "yep" : "no", "\n"' > # 'symbolic_name' => ['name_to_display', 'path_to_the_actual_repository'] > # Listed in the order specified: > @CVSrepositories = ( > 'local' => ['Local Repository', '/home/developer/cvsroot'], > # 'freebsd' => ['FreeBSD', '/home/ncvs'], > # 'openbsd' => ['OpenBSD', '/home/ncvs'], > # 'netbsd' => ['NetBSD', '/home/ncvs'], > # 'ruby' => ['Ruby', '/var/anoncvs/ruby'], > ); -- \/