Date: Thu, 26 Jul 2007 19:27:57 -0500 From: "Salazar Aleman Pablo Cesar" <PCSALALE@oxxo.femsa.com.mx> To: <freebsd-cvsweb@FreeBSD.org> Subject: Error in cvsweb - CentOS Linux 4.1 Message-ID: <2CED9D9403330B45B0C199B928A2AC520915CF08@fcexmty02.comercio.fne>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------_=_NextPart_001_01C7CFE4.FFDA6D2F Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =20 HI admins, =20 I have a throuble with a CGI CVS. =20 I install and configure the cvsweb but I have next error: =20 Error Error: No valid CVS roots found! See @CVSrepositories in the configuration = file (/var/www/cgi-bin/cvsweb/cvsweb.conf). ________________________________ FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org> =20 =20 In the configuration file /var/www/cgi-bin/cvsweb/cvsweb.conf I have this: =20 @CVSrepositories =3D ( 'POS' =3D> ['POS', '/u01/POS'], # 'freebsd' =3D> ['FreeBSD', '/var/ncvs'], # 'openbsd' =3D> ['OpenBSD', '/var/ncvs'], # 'netbsd' =3D> ['NetBSD', '/var/ncvs'], # 'ruby' =3D> ['Ruby', '/var/anoncvs/ruby'], ); =20 =20 On the /etc/httpd/logs/error_log file: =20 Root '/u01/POS' defined in @CVSrepositories is not a directory, entry ignor= ed at /var/www/cgi-bin/cvsweb/cvsweb.cgi line 493. [Thu Jul 26 15:57:38 2007] [error] [client 10.84.12.68] File does not exist= : /var/www/html/etc, referer: http://fclnxcvs.femcom.net/cgi-bin/cvsweb/cvs= web.cgi/ Root '/u01/POS' defined in @CVSrepositories is not a directory, entry ignor= ed at /var/www/cgi-bin/cvsweb/cvsweb.cgi line 493. [Thu Jul 26 15:57:39 2007] [error] [client 10.84.12.68] File does not exist= : /var/www/html/etc, referer: http://fclnxcvs.femcom.net/cgi-bin/cvsweb/cvs= web.cgi/ =20 =20 On the /etc/httpd/conf/httpd.conf =20 =20 # Note: this affects all mod_perl scripts in the server, not just cvsweb.cg= i=2E # mod_perl >=3D 1.99: <IfModule mod_perl.c> PerlSwitches -T </IfModule> =20 <Location /cgi-bin/cvsweb/cvsweb.cgi> =20 # See also $charset in cvsweb.conf. #AddDefaultCharset UTF-8 =20 # mod_perl >=3D 1.99: <IfModule mod_perl.c> SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders Options ExecCGI </IfModule> =20 #mod_perl < 1.99: # TODO =20 </Location> =20 If I change the line about repository on the / var/www/cgi-bin/cvsweb/cvswe= b=2Econf as follow: =20 @CVSrepositories =3D ( 'POS' =3D> ['POS', '/var/www'], # 'freebsd' =3D> ['FreeBSD', '/var/ncvs'], # 'openbsd' =3D> ['OpenBSD', '/var/ncvs'], # 'netbsd' =3D> ['NetBSD', '/var/ncvs'], # 'ruby' =3D> ['Ruby', '/var/anoncvs/ruby'], ); =20 I not have error: =20 CVS Repository This is a WWW interface for CVS repositories. You can browse the file hiera= rchy by following directory links (which have slashes after them, e.g. src/= )=2E If you follow a link to a file, you will see its revision history. Fol= lowing a link labeled with a revision number will display that revision of = the file. In the revision history view, there is a link near each revision = to display diffs between that revision and the previous one, and a form at = the bottom of the page that allows you to display diffs between arbitrary r= evisions.=20 This script has been written by Bill Fenner and improved by Henner Zeller, = Henrik Nordstr=F6m, and Ken Coar, then Akinori MUSHA brought it back to Fre= eBSD community and made further improvements; it is covered by The BSD Lice= nce <http://www.opensource.org/licenses/bsd-license.html> .=20 If you would like to use this CGI script on your own web server and CVS tre= e, download the latest version from <http://www.FreeBSD.org/projects/cvsweb= .html>.=20 Feel free to send any patches, suggestions and comments to the FreeBSD-CVSw= eb mailing list at <freebsd-cvsweb@FreeBSD.org>.=20 CVS Root: [POS] Module path or alias:=20 ________________________________ File <http://fclnxcvs.femcom.net/cgi-bin/cvsweb/cvsweb.cgi/cgi-bin/> cgi-bin/= <http://fclnxcvs.femcom.net/cgi-bin/cvsweb/cvsweb.cgi/cgi-bin/>=20 <http://fclnxcvs.femcom.net/cgi-bin/cvsweb/cvsweb.cgi/error/> error/ <htt= p://fclnxcvs.femcom.net/cgi-bin/cvsweb/cvsweb.cgi/error/>=20 <http://fclnxcvs.femcom.net/cgi-bin/cvsweb/cvsweb.cgi/html/> html/ <http:= //fclnxcvs.femcom.net/cgi-bin/cvsweb/cvsweb.cgi/html/>=20 <http://fclnxcvs.femcom.net/cgi-bin/cvsweb/cvsweb.cgi/icons/> icons/ <htt= p://fclnxcvs.femcom.net/cgi-bin/cvsweb/cvsweb.cgi/icons/>=20 <http://fclnxcvs.femcom.net/cgi-bin/cvsweb/cvsweb.cgi/manual/> manual/ <h= ttp://fclnxcvs.femcom.net/cgi-bin/cvsweb/cvsweb.cgi/manual/>=20 <http://fclnxcvs.femcom.net/cgi-bin/cvsweb/cvsweb.cgi/mrtg/> mrtg/ <http:= //fclnxcvs.femcom.net/cgi-bin/cvsweb/cvsweb.cgi/mrtg/>=20 <http://fclnxcvs.femcom.net/cgi-bin/cvsweb/cvsweb.cgi/usage/> usage/ <htt= p://fclnxcvs.femcom.net/cgi-bin/cvsweb/cvsweb.cgi/usage/>=20 ________________________________ General options=20 Sort files by:=20 , case-insensitive:=20 Hide files in Attic:=20 Sort log by:=20 Show line numbers:=20 Diff format:=20 ________________________________ FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org> =20 =20 The permission files are: =20 [root@fclnxcvs cvsweb]# ls -ld /u01 drwxrwxr-x 15 root cvsroot 4096 Jun 14 17:58 /u01 [root@fclnxcvs cvsweb]# ls -ld /u01/POS drwxrwxr-x 19 root cvsroot 4096 Jul 26 16:49 /u01/POS [root@fclnxcvs cvsweb]# =20 =20 The user apache is into on cvsroot group: =20 [root@fclnxcvs cvsweb]# id apache uid=3D48(apache) gid=3D48(apache) groups=3D48(apache),501(cvsroot) [root@fclnxcvs cvsweb]# [root@fclnxcvs cvsweb]# id cvsroot uid=3D502(cvsroot) gid=3D501(cvsroot) groups=3D501(cvsroot) [root@fclnxcvs cvsweb]# =20 =20 Any idea about this???? =20 REgards =20 =20 Pablo Cesar Salazar Alem=E1n ***************************************************************************= ** La presente informacion se envia unicamente para el destinatari= o, y contiene Informacion de caracter CONFIDENCIAL o PRIVILEGIADA. La modifica= cion, retransmision, difusion, copia u otro uso de esta informacion por cualq= uier medio, por personas distintas al destinatario esta estrictamente prohib= ido. Si usted no es el destinatario, por favor notifique al remitente respondi= endo a este mensaje, y borre el mismo y sus anexos sin retener copia alguna. Gracias. The information contained in this message is being sent to the intended recipient, and contains PRIVILEGED / CONFIDENTIAL Information. The modifica= tion, retransmission, disclosure, copy or other use of such information by per= sons other than the intended recipient is strictly prohibited. If you are not = the intended recipient, please advise the sender immediately by reply e-mail= and delete this message and any attachments without retaining a copy. Thank you. ***************************************************************************= ** ------_=_NextPart_001_01C7CFE4.FFDA6D2F--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2CED9D9403330B45B0C199B928A2AC520915CF08>