Discussion:
[rancid] RANCID and CVSWEB
Chris Bell
2009-09-10 13:16:42 UTC
Permalink
I spent the better part of yesterday, last night, and this morning trying to figure out how to get cvsweb to work with RANCID. I'm running Redhat 5.x and have Rancid installed to the default directory path /usr/local/rancid. For cvsweb, I am using 3.0.6-4. In my cvsweb.conf (/etc/cvsweb/cvsweb.conf) I have this config:

@CVSrepositories = (
'local' => ['Local Repository', '/var/cvs'],
'rancid' => ['rancid', '/usr/local/rancid/var/CVS/']
# 'freebsd' => ['FreeBSD', '/var/ncvs'],
# 'openbsd' => ['OpenBSD', '/var/ncvs'],
# 'netbsd' => ['NetBSD', '/var/ncvs'],
# 'ruby' => ['Ruby', '/var/anoncvs/ruby'],

That path, points to the CVSROOT for Rancid. When I browse to ...http://server/cgi-bin/cvsweb.cgi/, the local repo is available, but there is no drop down box to go to the 'rancid' repo. If I comment out the local repo in the cvsweb.conf, I get this error when trying to browse to the same url:

Error: No valid CVS roots found! See @CVSrepositories in the configuration file (/etc/cvsweb/cvsweb.conf)

This leads me to believe that there is not a permission issue on the .conf file, because if there was - changing by commenting out a repo would not make a difference.

Any idea on what I'm doing wrong? Sorry if this has been covered, but I honestly couldn't find it anyplace that offered a solution. Several discussions about it on the cvsweb list, but nothing that offered a solution. This worked like a charm and out of the box with Ubuntu when I did it a couple of years ago -- but unfortunately I'm not able to build this box on Ubuntu, has to be Redhat.


Christopher Bell, CCNA
Network Operations Manager
Tower Hill Insurance Group, Inc.
352-332-8800, ext 1734


CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
Ryan West
2009-09-10 13:24:32 UTC
Permalink
Chris,

Looks like you're missing a trailing comma.

This is a working cvsweb install with RANCID:

@CVSrepositories = (
# 'local' => ['Local Repository', '/var/lib/cvs'],
'neteng' => ['NetEng Devices', '/usr/local/rancid/var/CVS'],
);
$cvstreedefault = 'neteng';

Also, I'm sure you don't want to hear this right now, but I would recommend WebSVN whenever you're ready to make the change from CVS. It's a little unnerving when you convert, but I'm quite happy with the WebSVN interface and the development team there is more active.

-ryan

-----Original Message-----
From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Chris Bell
Sent: Thursday, September 10, 2009 9:17 AM
To: 'rancid-***@shrubbery.net'
Subject: [rancid] RANCID and CVSWEB

I spent the better part of yesterday, last night, and this morning trying to figure out how to get cvsweb to work with RANCID. I'm running Redhat 5.x and have Rancid installed to the default directory path /usr/local/rancid. For cvsweb, I am using 3.0.6-4. In my cvsweb.conf (/etc/cvsweb/cvsweb.conf) I have this config:

@CVSrepositories = (
'local' => ['Local Repository', '/var/cvs'],
'rancid' => ['rancid', '/usr/local/rancid/var/CVS/']
# 'freebsd' => ['FreeBSD', '/var/ncvs'],
# 'openbsd' => ['OpenBSD', '/var/ncvs'],
# 'netbsd' => ['NetBSD', '/var/ncvs'],
# 'ruby' => ['Ruby', '/var/anoncvs/ruby'],

That path, points to the CVSROOT for Rancid. When I browse to ...http://server/cgi-bin/cvsweb.cgi/, the local repo is available, but there is no drop down box to go to the 'rancid' repo. If I comment out the local repo in the cvsweb.conf, I get this error when trying to browse to the same url:

Error: No valid CVS roots found! See @CVSrepositories in the configuration file (/etc/cvsweb/cvsweb.conf)

This leads me to believe that there is not a permission issue on the .conf file, because if there was - changing by commenting out a repo would not make a difference.

Any idea on what I'm doing wrong? Sorry if this has been covered, but I honestly couldn't find it anyplace that offered a solution. Several discussions about it on the cvsweb list, but nothing that offered a solution. This worked like a charm and out of the box with Ubuntu when I did it a couple of years ago -- but unfortunately I'm not able to build this box on Ubuntu, has to be Redhat.


Christopher Bell, CCNA
Network Operations Manager
Tower Hill Insurance Group, Inc.
352-332-8800, ext 1734


CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
Chris Bell
2009-09-10 13:30:23 UTC
Permalink
Hi.. thanks, I added the comma, but it made no difference. I've actually tried it both ways. I've also tried changing the cvstreedefault variable to 'rancid' from 'local' and it makes no difference.

To be honest, I know little to nothing about CVS other than how it works with Rancid - which is the only thing I use it for. I've heard before that using SVN is better however.

-----Original Message-----
From: Ryan West [mailto:***@zyedge.com]
Sent: Thursday, September 10, 2009 9:25 AM
To: Chris Bell; 'rancid-***@shrubbery.net'
Subject: RE: RANCID and CVSWEB

Chris,

Looks like you're missing a trailing comma.

This is a working cvsweb install with RANCID:

@CVSrepositories = (
# 'local' => ['Local Repository', '/var/lib/cvs'],
'neteng' => ['NetEng Devices', '/usr/local/rancid/var/CVS'],
);
$cvstreedefault = 'neteng';

Also, I'm sure you don't want to hear this right now, but I would recommend WebSVN whenever you're ready to make the change from CVS. It's a little unnerving when you convert, but I'm quite happy with the WebSVN interface and the development team there is more active.

-ryan

-----Original Message-----
From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Chris Bell
Sent: Thursday, September 10, 2009 9:17 AM
To: 'rancid-***@shrubbery.net'
Subject: [rancid] RANCID and CVSWEB

I spent the better part of yesterday, last night, and this morning trying to figure out how to get cvsweb to work with RANCID. I'm running Redhat 5.x and have Rancid installed to the default directory path /usr/local/rancid. For cvsweb, I am using 3.0.6-4. In my cvsweb.conf (/etc/cvsweb/cvsweb.conf) I have this config:

@CVSrepositories = (
'local' => ['Local Repository', '/var/cvs'],
'rancid' => ['rancid', '/usr/local/rancid/var/CVS/']
# 'freebsd' => ['FreeBSD', '/var/ncvs'],
# 'openbsd' => ['OpenBSD', '/var/ncvs'],
# 'netbsd' => ['NetBSD', '/var/ncvs'],
# 'ruby' => ['Ruby', '/var/anoncvs/ruby'],

That path, points to the CVSROOT for Rancid. When I browse to ...http://server/cgi-bin/cvsweb.cgi/, the local repo is available, but there is no drop down box to go to the 'rancid' repo. If I comment out the local repo in the cvsweb.conf, I get this error when trying to browse to the same url:

Error: No valid CVS roots found! See @CVSrepositories in the configuration file (/etc/cvsweb/cvsweb.conf)

This leads me to believe that there is not a permission issue on the .conf file, because if there was - changing by commenting out a repo would not make a difference.

Any idea on what I'm doing wrong? Sorry if this has been covered, but I honestly couldn't find it anyplace that offered a solution. Several discussions about it on the cvsweb list, but nothing that offered a solution. This worked like a charm and out of the box with Ubuntu when I did it a couple of years ago -- but unfortunately I'm not able to build this box on Ubuntu, has to be Redhat.


Christopher Bell, CCNA
Network Operations Manager
Tower Hill Insurance Group, Inc.
352-332-8800, ext 1734


CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
Chris Bell
2009-09-10 13:45:10 UTC
Permalink
Actually that happens either way .... with the local repo commented out or not.

-----Original Message-----
From: Chris Bell
Sent: Thursday, September 10, 2009 9:39 AM
To: 'Ryan West'
Subject: RE: RANCID and CVSWEB

Only when I remove the 'local' variable.


[Thu Sep 10 13:30:23 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:24 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:25 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:25 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:26 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:28 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481

-----Original Message-----
From: Ryan West [mailto:***@zyedge.com]
Sent: Thursday, September 10, 2009 9:33 AM
To: Chris Bell
Subject: RE: RANCID and CVSWEB

I don't use either for anything but RANCID as well. Do your apache logs have anything of value?

-----Original Message-----
From: Chris Bell [mailto:***@thig.com]
Sent: Thursday, September 10, 2009 9:30 AM
To: Ryan West; 'rancid-***@shrubbery.net'
Subject: RE: RANCID and CVSWEB

Hi.. thanks, I added the comma, but it made no difference. I've actually tried it both ways. I've also tried changing the cvstreedefault variable to 'rancid' from 'local' and it makes no difference.

To be honest, I know little to nothing about CVS other than how it works with Rancid - which is the only thing I use it for. I've heard before that using SVN is better however.

-----Original Message-----
From: Ryan West [mailto:***@zyedge.com]
Sent: Thursday, September 10, 2009 9:25 AM
To: Chris Bell; 'rancid-***@shrubbery.net'
Subject: RE: RANCID and CVSWEB

Chris,

Looks like you're missing a trailing comma.

This is a working cvsweb install with RANCID:

@CVSrepositories = (
# 'local' => ['Local Repository', '/var/lib/cvs'],
'neteng' => ['NetEng Devices', '/usr/local/rancid/var/CVS'],
);
$cvstreedefault = 'neteng';

Also, I'm sure you don't want to hear this right now, but I would recommend WebSVN whenever you're ready to make the change from CVS. It's a little unnerving when you convert, but I'm quite happy with the WebSVN interface and the development team there is more active.

-ryan

-----Original Message-----
From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Chris Bell
Sent: Thursday, September 10, 2009 9:17 AM
To: 'rancid-***@shrubbery.net'
Subject: [rancid] RANCID and CVSWEB

I spent the better part of yesterday, last night, and this morning trying to figure out how to get cvsweb to work with RANCID. I'm running Redhat 5.x and have Rancid installed to the default directory path /usr/local/rancid. For cvsweb, I am using 3.0.6-4. In my cvsweb.conf (/etc/cvsweb/cvsweb.conf) I have this config:

@CVSrepositories = (
'local' => ['Local Repository', '/var/cvs'],
'rancid' => ['rancid', '/usr/local/rancid/var/CVS/']
# 'freebsd' => ['FreeBSD', '/var/ncvs'],
# 'openbsd' => ['OpenBSD', '/var/ncvs'],
# 'netbsd' => ['NetBSD', '/var/ncvs'],
# 'ruby' => ['Ruby', '/var/anoncvs/ruby'],

That path, points to the CVSROOT for Rancid. When I browse to ...http://server/cgi-bin/cvsweb.cgi/, the local repo is available, but there is no drop down box to go to the 'rancid' repo. If I comment out the local repo in the cvsweb.conf, I get this error when trying to browse to the same url:

Error: No valid CVS roots found! See @CVSrepositories in the configuration file (/etc/cvsweb/cvsweb.conf)

This leads me to believe that there is not a permission issue on the .conf file, because if there was - changing by commenting out a repo would not make a difference.

Any idea on what I'm doing wrong? Sorry if this has been covered, but I honestly couldn't find it anyplace that offered a solution. Several discussions about it on the cvsweb list, but nothing that offered a solution. This worked like a charm and out of the box with Ubuntu when I did it a couple of years ago -- but unfortunately I'm not able to build this box on Ubuntu, has to be Redhat.


Christopher Bell, CCNA
Network Operations Manager
Tower Hill Insurance Group, Inc.
352-332-8800, ext 1734


CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
Ryan West
2009-09-10 13:54:10 UTC
Permalink
Chris,

Can you show the contents of your CVS directory?

***@netman:~/var/CVS$ ls
CVSROOT noc


-ryan


-----Original Message-----
From: Chris Bell [mailto:***@thig.com]
Sent: Thursday, September 10, 2009 9:45 AM
To: Chris Bell; Ryan West
Cc: rancid-***@shrubbery.net
Subject: RE: RANCID and CVSWEB

Actually that happens either way .... with the local repo commented out or not.

-----Original Message-----
From: Chris Bell
Sent: Thursday, September 10, 2009 9:39 AM
To: 'Ryan West'
Subject: RE: RANCID and CVSWEB

Only when I remove the 'local' variable.


[Thu Sep 10 13:30:23 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:24 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:25 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:25 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:26 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:28 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481

-----Original Message-----
From: Ryan West [mailto:***@zyedge.com]
Sent: Thursday, September 10, 2009 9:33 AM
To: Chris Bell
Subject: RE: RANCID and CVSWEB

I don't use either for anything but RANCID as well. Do your apache logs have anything of value?

-----Original Message-----
From: Chris Bell [mailto:***@thig.com]
Sent: Thursday, September 10, 2009 9:30 AM
To: Ryan West; 'rancid-***@shrubbery.net'
Subject: RE: RANCID and CVSWEB

Hi.. thanks, I added the comma, but it made no difference. I've actually tried it both ways. I've also tried changing the cvstreedefault variable to 'rancid' from 'local' and it makes no difference.

To be honest, I know little to nothing about CVS other than how it works with Rancid - which is the only thing I use it for. I've heard before that using SVN is better however.

-----Original Message-----
From: Ryan West [mailto:***@zyedge.com]
Sent: Thursday, September 10, 2009 9:25 AM
To: Chris Bell; 'rancid-***@shrubbery.net'
Subject: RE: RANCID and CVSWEB

Chris,

Looks like you're missing a trailing comma.

This is a working cvsweb install with RANCID:

@CVSrepositories = (
# 'local' => ['Local Repository', '/var/lib/cvs'],
'neteng' => ['NetEng Devices', '/usr/local/rancid/var/CVS'],
);
$cvstreedefault = 'neteng';

Also, I'm sure you don't want to hear this right now, but I would recommend WebSVN whenever you're ready to make the change from CVS. It's a little unnerving when you convert, but I'm quite happy with the WebSVN interface and the development team there is more active.

-ryan

-----Original Message-----
From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Chris Bell
Sent: Thursday, September 10, 2009 9:17 AM
To: 'rancid-***@shrubbery.net'
Subject: [rancid] RANCID and CVSWEB

I spent the better part of yesterday, last night, and this morning trying to figure out how to get cvsweb to work with RANCID. I'm running Redhat 5.x and have Rancid installed to the default directory path /usr/local/rancid. For cvsweb, I am using 3.0.6-4. In my cvsweb.conf (/etc/cvsweb/cvsweb.conf) I have this config:

@CVSrepositories = (
'local' => ['Local Repository', '/var/cvs'],
'rancid' => ['rancid', '/usr/local/rancid/var/CVS/']
# 'freebsd' => ['FreeBSD', '/var/ncvs'],
# 'openbsd' => ['OpenBSD', '/var/ncvs'],
# 'netbsd' => ['NetBSD', '/var/ncvs'],
# 'ruby' => ['Ruby', '/var/anoncvs/ruby'],

That path, points to the CVSROOT for Rancid. When I browse to ...http://server/cgi-bin/cvsweb.cgi/, the local repo is available, but there is no drop down box to go to the 'rancid' repo. If I comment out the local repo in the cvsweb.conf, I get this error when trying to browse to the same url:

Error: No valid CVS roots found! See @CVSrepositories in the configuration file (/etc/cvsweb/cvsweb.conf)

This leads me to believe that there is not a permission issue on the .conf file, because if there was - changing by commenting out a repo would not make a difference.

Any idea on what I'm doing wrong? Sorry if this has been covered, but I honestly couldn't find it anyplace that offered a solution. Several discussions about it on the cvsweb list, but nothing that offered a solution. This worked like a charm and out of the box with Ubuntu when I did it a couple of years ago -- but unfortunately I'm not able to build this box on Ubuntu, has to be Redhat.


Christopher Bell, CCNA
Network Operations Manager
Tower Hill Insurance Group, Inc.
352-332-8800, ext 1734


CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
Chris Bell
2009-09-10 13:57:12 UTC
Permalink
Hmmm ..

[***@blah ~]# ls /var/cvs/
[***@blah ~]#

Am I missing a symbolic link or something?


-----Original Message-----
From: Ryan West [mailto:***@zyedge.com]
Sent: Thursday, September 10, 2009 9:54 AM
To: Chris Bell
Cc: rancid-***@shrubbery.net
Subject: RE: RANCID and CVSWEB

Chris,

Can you show the contents of your CVS directory?

***@netman:~/var/CVS$ ls
CVSROOT noc


-ryan


-----Original Message-----
From: Chris Bell [mailto:***@thig.com]
Sent: Thursday, September 10, 2009 9:45 AM
To: Chris Bell; Ryan West
Cc: rancid-***@shrubbery.net
Subject: RE: RANCID and CVSWEB

Actually that happens either way .... with the local repo commented out or not.

-----Original Message-----
From: Chris Bell
Sent: Thursday, September 10, 2009 9:39 AM
To: 'Ryan West'
Subject: RE: RANCID and CVSWEB

Only when I remove the 'local' variable.


[Thu Sep 10 13:30:23 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:24 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:25 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:25 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:26 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:28 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481

-----Original Message-----
From: Ryan West [mailto:***@zyedge.com]
Sent: Thursday, September 10, 2009 9:33 AM
To: Chris Bell
Subject: RE: RANCID and CVSWEB

I don't use either for anything but RANCID as well. Do your apache logs have anything of value?

-----Original Message-----
From: Chris Bell [mailto:***@thig.com]
Sent: Thursday, September 10, 2009 9:30 AM
To: Ryan West; 'rancid-***@shrubbery.net'
Subject: RE: RANCID and CVSWEB

Hi.. thanks, I added the comma, but it made no difference. I've actually tried it both ways. I've also tried changing the cvstreedefault variable to 'rancid' from 'local' and it makes no difference.

To be honest, I know little to nothing about CVS other than how it works with Rancid - which is the only thing I use it for. I've heard before that using SVN is better however.

-----Original Message-----
From: Ryan West [mailto:***@zyedge.com]
Sent: Thursday, September 10, 2009 9:25 AM
To: Chris Bell; 'rancid-***@shrubbery.net'
Subject: RE: RANCID and CVSWEB

Chris,

Looks like you're missing a trailing comma.

This is a working cvsweb install with RANCID:

@CVSrepositories = (
# 'local' => ['Local Repository', '/var/lib/cvs'],
'neteng' => ['NetEng Devices', '/usr/local/rancid/var/CVS'],
);
$cvstreedefault = 'neteng';

Also, I'm sure you don't want to hear this right now, but I would recommend WebSVN whenever you're ready to make the change from CVS. It's a little unnerving when you convert, but I'm quite happy with the WebSVN interface and the development team there is more active.

-ryan

-----Original Message-----
From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Chris Bell
Sent: Thursday, September 10, 2009 9:17 AM
To: 'rancid-***@shrubbery.net'
Subject: [rancid] RANCID and CVSWEB

I spent the better part of yesterday, last night, and this morning trying to figure out how to get cvsweb to work with RANCID. I'm running Redhat 5.x and have Rancid installed to the default directory path /usr/local/rancid. For cvsweb, I am using 3.0.6-4. In my cvsweb.conf (/etc/cvsweb/cvsweb.conf) I have this config:

@CVSrepositories = (
'local' => ['Local Repository', '/var/cvs'],
'rancid' => ['rancid', '/usr/local/rancid/var/CVS/']
# 'freebsd' => ['FreeBSD', '/var/ncvs'],
# 'openbsd' => ['OpenBSD', '/var/ncvs'],
# 'netbsd' => ['NetBSD', '/var/ncvs'],
# 'ruby' => ['Ruby', '/var/anoncvs/ruby'],

That path, points to the CVSROOT for Rancid. When I browse to ...http://server/cgi-bin/cvsweb.cgi/, the local repo is available, but there is no drop down box to go to the 'rancid' repo. If I comment out the local repo in the cvsweb.conf, I get this error when trying to browse to the same url:

Error: No valid CVS roots found! See @CVSrepositories in the configuration file (/etc/cvsweb/cvsweb.conf)

This leads me to believe that there is not a permission issue on the .conf file, because if there was - changing by commenting out a repo would not make a difference.

Any idea on what I'm doing wrong? Sorry if this has been covered, but I honestly couldn't find it anyplace that offered a solution. Several discussions about it on the cvsweb list, but nothing that offered a solution. This worked like a charm and out of the box with Ubuntu when I did it a couple of years ago -- but unfortunately I'm not able to build this box on Ubuntu, has to be Redhat.


Christopher Bell, CCNA
Network Operations Manager
Tower Hill Insurance Group, Inc.
352-332-8800, ext 1734


CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
Ryan West
2009-09-10 13:58:27 UTC
Permalink
That's a full path from root. Try 'ls /usr/local/rancid/var/CVS' instead.

-ryan

-----Original Message-----
From: Chris Bell [mailto:***@thig.com]
Sent: Thursday, September 10, 2009 9:57 AM
To: Ryan West
Cc: rancid-***@shrubbery.net
Subject: RE: RANCID and CVSWEB

Hmmm ..

[***@blah ~]# ls /var/cvs/
[***@blah ~]#

Am I missing a symbolic link or something?


-----Original Message-----
From: Ryan West [mailto:***@zyedge.com]
Sent: Thursday, September 10, 2009 9:54 AM
To: Chris Bell
Cc: rancid-***@shrubbery.net
Subject: RE: RANCID and CVSWEB

Chris,

Can you show the contents of your CVS directory?

***@netman:~/var/CVS$ ls
CVSROOT noc


-ryan


-----Original Message-----
From: Chris Bell [mailto:***@thig.com]
Sent: Thursday, September 10, 2009 9:45 AM
To: Chris Bell; Ryan West
Cc: rancid-***@shrubbery.net
Subject: RE: RANCID and CVSWEB

Actually that happens either way .... with the local repo commented out or not.

-----Original Message-----
From: Chris Bell
Sent: Thursday, September 10, 2009 9:39 AM
To: 'Ryan West'
Subject: RE: RANCID and CVSWEB

Only when I remove the 'local' variable.


[Thu Sep 10 13:30:23 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:24 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:25 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:25 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:26 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:28 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481

-----Original Message-----
From: Ryan West [mailto:***@zyedge.com]
Sent: Thursday, September 10, 2009 9:33 AM
To: Chris Bell
Subject: RE: RANCID and CVSWEB

I don't use either for anything but RANCID as well. Do your apache logs have anything of value?

-----Original Message-----
From: Chris Bell [mailto:***@thig.com]
Sent: Thursday, September 10, 2009 9:30 AM
To: Ryan West; 'rancid-***@shrubbery.net'
Subject: RE: RANCID and CVSWEB

Hi.. thanks, I added the comma, but it made no difference. I've actually tried it both ways. I've also tried changing the cvstreedefault variable to 'rancid' from 'local' and it makes no difference.

To be honest, I know little to nothing about CVS other than how it works with Rancid - which is the only thing I use it for. I've heard before that using SVN is better however.

-----Original Message-----
From: Ryan West [mailto:***@zyedge.com]
Sent: Thursday, September 10, 2009 9:25 AM
To: Chris Bell; 'rancid-***@shrubbery.net'
Subject: RE: RANCID and CVSWEB

Chris,

Looks like you're missing a trailing comma.

This is a working cvsweb install with RANCID:

@CVSrepositories = (
# 'local' => ['Local Repository', '/var/lib/cvs'],
'neteng' => ['NetEng Devices', '/usr/local/rancid/var/CVS'],
);
$cvstreedefault = 'neteng';

Also, I'm sure you don't want to hear this right now, but I would recommend WebSVN whenever you're ready to make the change from CVS. It's a little unnerving when you convert, but I'm quite happy with the WebSVN interface and the development team there is more active.

-ryan

-----Original Message-----
From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Chris Bell
Sent: Thursday, September 10, 2009 9:17 AM
To: 'rancid-***@shrubbery.net'
Subject: [rancid] RANCID and CVSWEB

I spent the better part of yesterday, last night, and this morning trying to figure out how to get cvsweb to work with RANCID. I'm running Redhat 5.x and have Rancid installed to the default directory path /usr/local/rancid. For cvsweb, I am using 3.0.6-4. In my cvsweb.conf (/etc/cvsweb/cvsweb.conf) I have this config:

@CVSrepositories = (
'local' => ['Local Repository', '/var/cvs'],
'rancid' => ['rancid', '/usr/local/rancid/var/CVS/']
# 'freebsd' => ['FreeBSD', '/var/ncvs'],
# 'openbsd' => ['OpenBSD', '/var/ncvs'],
# 'netbsd' => ['NetBSD', '/var/ncvs'],
# 'ruby' => ['Ruby', '/var/anoncvs/ruby'],

That path, points to the CVSROOT for Rancid. When I browse to ...http://server/cgi-bin/cvsweb.cgi/, the local repo is available, but there is no drop down box to go to the 'rancid' repo. If I comment out the local repo in the cvsweb.conf, I get this error when trying to browse to the same url:

Error: No valid CVS roots found! See @CVSrepositories in the configuration file (/etc/cvsweb/cvsweb.conf)

This leads me to believe that there is not a permission issue on the .conf file, because if there was - changing by commenting out a repo would not make a difference.

Any idea on what I'm doing wrong? Sorry if this has been covered, but I honestly couldn't find it anyplace that offered a solution. Several discussions about it on the cvsweb list, but nothing that offered a solution. This worked like a charm and out of the box with Ubuntu when I did it a couple of years ago -- but unfortunately I'm not able to build this box on Ubuntu, has to be Redhat.


Christopher Bell, CCNA
Network Operations Manager
Tower Hill Insurance Group, Inc.
352-332-8800, ext 1734


CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
Chris Bell
2009-09-10 14:00:17 UTC
Permalink
Sorry -- I just caught that and was getting it for you..

[***@blah ~]# ls /usr/local/rancid/var/CVS/
CVSROOT Entries.Log config1 config2 config3 config4
[***@blah ~]#

-----Original Message-----
From: Ryan West [mailto:***@zyedge.com]
Sent: Thursday, September 10, 2009 9:58 AM
To: Chris Bell
Cc: rancid-***@shrubbery.net
Subject: RE: RANCID and CVSWEB

That's a full path from root. Try 'ls /usr/local/rancid/var/CVS' instead.

-ryan

-----Original Message-----
From: Chris Bell [mailto:***@thig.com]
Sent: Thursday, September 10, 2009 9:57 AM
To: Ryan West
Cc: rancid-***@shrubbery.net
Subject: RE: RANCID and CVSWEB

Hmmm ..

[***@blah ~]# ls /var/cvs/
[***@blah ~]#

Am I missing a symbolic link or something?


-----Original Message-----
From: Ryan West [mailto:***@zyedge.com]
Sent: Thursday, September 10, 2009 9:54 AM
To: Chris Bell
Cc: rancid-***@shrubbery.net
Subject: RE: RANCID and CVSWEB

Chris,

Can you show the contents of your CVS directory?

***@netman:~/var/CVS$ ls
CVSROOT noc


-ryan


-----Original Message-----
From: Chris Bell [mailto:***@thig.com]
Sent: Thursday, September 10, 2009 9:45 AM
To: Chris Bell; Ryan West
Cc: rancid-***@shrubbery.net
Subject: RE: RANCID and CVSWEB

Actually that happens either way .... with the local repo commented out or not.

-----Original Message-----
From: Chris Bell
Sent: Thursday, September 10, 2009 9:39 AM
To: 'Ryan West'
Subject: RE: RANCID and CVSWEB

Only when I remove the 'local' variable.


[Thu Sep 10 13:30:23 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:24 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:25 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:25 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:26 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481.
[Thu Sep 10 13:30:28 2009] [error] [client x.x.x.x] Root '/usr/local/rancid/var/CVS' defined in @CVSrepositories is not a directory, entry ignored at /var/www/cgi-bin/cvsweb.cgi line 481

-----Original Message-----
From: Ryan West [mailto:***@zyedge.com]
Sent: Thursday, September 10, 2009 9:33 AM
To: Chris Bell
Subject: RE: RANCID and CVSWEB

I don't use either for anything but RANCID as well. Do your apache logs have anything of value?

-----Original Message-----
From: Chris Bell [mailto:***@thig.com]
Sent: Thursday, September 10, 2009 9:30 AM
To: Ryan West; 'rancid-***@shrubbery.net'
Subject: RE: RANCID and CVSWEB

Hi.. thanks, I added the comma, but it made no difference. I've actually tried it both ways. I've also tried changing the cvstreedefault variable to 'rancid' from 'local' and it makes no difference.

To be honest, I know little to nothing about CVS other than how it works with Rancid - which is the only thing I use it for. I've heard before that using SVN is better however.

-----Original Message-----
From: Ryan West [mailto:***@zyedge.com]
Sent: Thursday, September 10, 2009 9:25 AM
To: Chris Bell; 'rancid-***@shrubbery.net'
Subject: RE: RANCID and CVSWEB

Chris,

Looks like you're missing a trailing comma.

This is a working cvsweb install with RANCID:

@CVSrepositories = (
# 'local' => ['Local Repository', '/var/lib/cvs'],
'neteng' => ['NetEng Devices', '/usr/local/rancid/var/CVS'],
);
$cvstreedefault = 'neteng';

Also, I'm sure you don't want to hear this right now, but I would recommend WebSVN whenever you're ready to make the change from CVS. It's a little unnerving when you convert, but I'm quite happy with the WebSVN interface and the development team there is more active.

-ryan

-----Original Message-----
From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Chris Bell
Sent: Thursday, September 10, 2009 9:17 AM
To: 'rancid-***@shrubbery.net'
Subject: [rancid] RANCID and CVSWEB

I spent the better part of yesterday, last night, and this morning trying to figure out how to get cvsweb to work with RANCID. I'm running Redhat 5.x and have Rancid installed to the default directory path /usr/local/rancid. For cvsweb, I am using 3.0.6-4. In my cvsweb.conf (/etc/cvsweb/cvsweb.conf) I have this config:

@CVSrepositories = (
'local' => ['Local Repository', '/var/cvs'],
'rancid' => ['rancid', '/usr/local/rancid/var/CVS/']
# 'freebsd' => ['FreeBSD', '/var/ncvs'],
# 'openbsd' => ['OpenBSD', '/var/ncvs'],
# 'netbsd' => ['NetBSD', '/var/ncvs'],
# 'ruby' => ['Ruby', '/var/anoncvs/ruby'],

That path, points to the CVSROOT for Rancid. When I browse to ...http://server/cgi-bin/cvsweb.cgi/, the local repo is available, but there is no drop down box to go to the 'rancid' repo. If I comment out the local repo in the cvsweb.conf, I get this error when trying to browse to the same url:

Error: No valid CVS roots found! See @CVSrepositories in the configuration file (/etc/cvsweb/cvsweb.conf)

This leads me to believe that there is not a permission issue on the .conf file, because if there was - changing by commenting out a repo would not make a difference.

Any idea on what I'm doing wrong? Sorry if this has been covered, but I honestly couldn't find it anyplace that offered a solution. Several discussions about it on the cvsweb list, but nothing that offered a solution. This worked like a charm and out of the box with Ubuntu when I did it a couple of years ago -- but unfortunately I'm not able to build this box on Ubuntu, has to be Redhat.


Christopher Bell, CCNA
Network Operations Manager
Tower Hill Insurance Group, Inc.
352-332-8800, ext 1734


CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
Todd Heide
2009-09-10 13:23:43 UTC
Permalink
I have run into this same problem with Fedora Core. It turned out to be
the permissions in the directories where the CVS files are stored. They
need to be readable by Apache.

drwxrwxr-x 3 Rancid Rancid 4096 Sep 10 08:04 configs
drwxrwxr-x 10 Rancid netadm 4096 Jul 16 15:43 rancid

This was the only way I was able to get CVSweb to work with Rancid. I
think the default setting was

drwxrwx--- 10 Rancid netadm 4096 Jul 16 15:43 rancid


Thanks
Todd
Nothing ever goes as planned, Its a hell of a notion,
Even pharaohs turn to sand, Like a drop in the ocean

-----Original Message-----
From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Chris Bell
Sent: Thursday, September 10, 2009 8:17 AM
To: 'rancid-***@shrubbery.net'
Subject: [rancid] RANCID and CVSWEB

I spent the better part of yesterday, last night, and this morning
trying to figure out how to get cvsweb to work with RANCID. I'm running
Redhat 5.x and have Rancid installed to the default directory path
/usr/local/rancid. For cvsweb, I am using 3.0.6-4. In my cvsweb.conf
(/etc/cvsweb/cvsweb.conf) I have this config:

@CVSrepositories = (
'local' => ['Local Repository', '/var/cvs'],
'rancid' => ['rancid', '/usr/local/rancid/var/CVS/']
# 'freebsd' => ['FreeBSD', '/var/ncvs'],
# 'openbsd' => ['OpenBSD', '/var/ncvs'],
# 'netbsd' => ['NetBSD', '/var/ncvs'],
# 'ruby' => ['Ruby', '/var/anoncvs/ruby'],

That path, points to the CVSROOT for Rancid. When I browse to
...http://server/cgi-bin/cvsweb.cgi/, the local repo is available, but
there is no drop down box to go to the 'rancid' repo. If I comment out
the local repo in the cvsweb.conf, I get this error when trying to
browse to the same url:

Error: No valid CVS roots found! See @CVSrepositories in the
configuration file (/etc/cvsweb/cvsweb.conf)

This leads me to believe that there is not a permission issue on the
.conf file, because if there was - changing by commenting out a repo
would not make a difference.

Any idea on what I'm doing wrong? Sorry if this has been covered, but I
honestly couldn't find it anyplace that offered a solution. Several
discussions about it on the cvsweb list, but nothing that offered a
solution. This worked like a charm and out of the box with Ubuntu when
I did it a couple of years ago -- but unfortunately I'm not able to
build this box on Ubuntu, has to be Redhat.


Christopher Bell, CCNA
Network Operations Manager
Tower Hill Insurance Group, Inc.
352-332-8800, ext 1734


CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
Chris Bell
2009-09-10 13:37:19 UTC
Permalink
I keep thinking it's permissions too, but I don't see a problem with the permissions:

/usr/local/rancid/
drwxr-xr-x 9 rancid rancid 4096 Sep 9 15:46 var



/usr/local/rancid/var/
drwxrwxr-x 7 rancid rancid 4096 Sep 9 15:46 CVS
drwxr-x--- 4 rancid rancid 4096 Sep 9 15:57 configs1
drwxr-x--- 4 rancid rancid 4096 Sep 9 16:05 configs2
drwxr-x--- 4 rancid rancid 4096 Sep 9 16:06 configs3
drwxr-x--- 4 rancid rancid 4096 Sep 9 16:07 configs4



[***@blah ~]# ls -l /usr/local/rancid/var/CVS/
total 24
drwxrwxr-x 3 rancid rancid 4096 Sep 9 16:07 CVSROOT
-rw-r----- 1 rancid rancid 58 Sep 9 15:46 Entries.Log
drwxrwxr-x 3 rancid rancid 4096 Sep 9 15:57 configs1
drwxrwxr-x 3 rancid rancid 4096 Sep 9 16:05 configs2
drwxrwxr-x 3 rancid rancid 4096 Sep 9 16:06 configs3
drwxrwxr-x 3 rancid rancid 4096 Sep 9 16:07 configs4


and on the /etc/cvsweb/cvsweb.conf

-rw-r--r-- 1 root root 22997 Sep 10 13:32 cvsweb.conf



-----Original Message-----
From: Todd Heide [mailto:***@equivoice.com]
Sent: Thursday, September 10, 2009 9:24 AM
To: Chris Bell; rancid-***@shrubbery.net
Subject: RE: [rancid] RANCID and CVSWEB

I have run into this same problem with Fedora Core. It turned out to be
the permissions in the directories where the CVS files are stored. They
need to be readable by Apache.

drwxrwxr-x 3 Rancid Rancid 4096 Sep 10 08:04 configs
drwxrwxr-x 10 Rancid netadm 4096 Jul 16 15:43 rancid

This was the only way I was able to get CVSweb to work with Rancid. I
think the default setting was

drwxrwx--- 10 Rancid netadm 4096 Jul 16 15:43 rancid


Thanks
Todd
Nothing ever goes as planned, Its a hell of a notion,
Even pharaohs turn to sand, Like a drop in the ocean

-----Original Message-----
From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Chris Bell
Sent: Thursday, September 10, 2009 8:17 AM
To: 'rancid-***@shrubbery.net'
Subject: [rancid] RANCID and CVSWEB

I spent the better part of yesterday, last night, and this morning
trying to figure out how to get cvsweb to work with RANCID. I'm running
Redhat 5.x and have Rancid installed to the default directory path
/usr/local/rancid. For cvsweb, I am using 3.0.6-4. In my cvsweb.conf
(/etc/cvsweb/cvsweb.conf) I have this config:

@CVSrepositories = (
'local' => ['Local Repository', '/var/cvs'],
'rancid' => ['rancid', '/usr/local/rancid/var/CVS/']
# 'freebsd' => ['FreeBSD', '/var/ncvs'],
# 'openbsd' => ['OpenBSD', '/var/ncvs'],
# 'netbsd' => ['NetBSD', '/var/ncvs'],
# 'ruby' => ['Ruby', '/var/anoncvs/ruby'],

That path, points to the CVSROOT for Rancid. When I browse to
...http://server/cgi-bin/cvsweb.cgi/, the local repo is available, but
there is no drop down box to go to the 'rancid' repo. If I comment out
the local repo in the cvsweb.conf, I get this error when trying to
browse to the same url:

Error: No valid CVS roots found! See @CVSrepositories in the
configuration file (/etc/cvsweb/cvsweb.conf)

This leads me to believe that there is not a permission issue on the
.conf file, because if there was - changing by commenting out a repo
would not make a difference.

Any idea on what I'm doing wrong? Sorry if this has been covered, but I
honestly couldn't find it anyplace that offered a solution. Several
discussions about it on the cvsweb list, but nothing that offered a
solution. This worked like a charm and out of the box with Ubuntu when
I did it a couple of years ago -- but unfortunately I'm not able to
build this box on Ubuntu, has to be Redhat.


Christopher Bell, CCNA
Network Operations Manager
Tower Hill Insurance Group, Inc.
352-332-8800, ext 1734


CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
Todd Heide
2009-09-10 14:01:44 UTC
Permalink
Notice on mine the permissions are drwxrwxr-x, I had to add write
permissions for it to work.
Try adding write to it and see what happens.

Yours
usr/local/rancid/
drwxr-xr-x 9 rancid rancid 4096 Sep 9 15:46 var

Mine
drwxrwxr-x 10 Rancid netadm 4096 Jul 16 15:43 rancid

Thanks
Todd
Nothing ever goes as planned, Its a hell of a notion,
Even pharaohs turn to sand, Like a drop in the ocean

-----Original Message-----
From: Chris Bell [mailto:***@thig.com]
Sent: Thursday, September 10, 2009 8:37 AM
To: Todd Heide; rancid-***@shrubbery.net
Subject: RE: [rancid] RANCID and CVSWEB

I keep thinking it's permissions too, but I don't see a problem with the
permissions:

/usr/local/rancid/
drwxr-xr-x 9 rancid rancid 4096 Sep 9 15:46 var



/usr/local/rancid/var/
drwxrwxr-x 7 rancid rancid 4096 Sep 9 15:46 CVS
drwxr-x--- 4 rancid rancid 4096 Sep 9 15:57 configs1
drwxr-x--- 4 rancid rancid 4096 Sep 9 16:05 configs2
drwxr-x--- 4 rancid rancid 4096 Sep 9 16:06 configs3
drwxr-x--- 4 rancid rancid 4096 Sep 9 16:07 configs4



[***@blah ~]# ls -l /usr/local/rancid/var/CVS/
total 24
drwxrwxr-x 3 rancid rancid 4096 Sep 9 16:07 CVSROOT
-rw-r----- 1 rancid rancid 58 Sep 9 15:46 Entries.Log
drwxrwxr-x 3 rancid rancid 4096 Sep 9 15:57 configs1
drwxrwxr-x 3 rancid rancid 4096 Sep 9 16:05 configs2
drwxrwxr-x 3 rancid rancid 4096 Sep 9 16:06 configs3
drwxrwxr-x 3 rancid rancid 4096 Sep 9 16:07 configs4


and on the /etc/cvsweb/cvsweb.conf

-rw-r--r-- 1 root root 22997 Sep 10 13:32 cvsweb.conf



-----Original Message-----
From: Todd Heide [mailto:***@equivoice.com]
Sent: Thursday, September 10, 2009 9:24 AM
To: Chris Bell; rancid-***@shrubbery.net
Subject: RE: [rancid] RANCID and CVSWEB

I have run into this same problem with Fedora Core. It turned out to be
the permissions in the directories where the CVS files are stored. They
need to be readable by Apache.

drwxrwxr-x 3 Rancid Rancid 4096 Sep 10 08:04 configs
drwxrwxr-x 10 Rancid netadm 4096 Jul 16 15:43 rancid

This was the only way I was able to get CVSweb to work with Rancid. I
think the default setting was

drwxrwx--- 10 Rancid netadm 4096 Jul 16 15:43 rancid


Thanks
Todd
Nothing ever goes as planned, Its a hell of a notion,
Even pharaohs turn to sand, Like a drop in the ocean

-----Original Message-----
From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Chris Bell
Sent: Thursday, September 10, 2009 8:17 AM
To: 'rancid-***@shrubbery.net'
Subject: [rancid] RANCID and CVSWEB

I spent the better part of yesterday, last night, and this morning
trying to figure out how to get cvsweb to work with RANCID. I'm running
Redhat 5.x and have Rancid installed to the default directory path
/usr/local/rancid. For cvsweb, I am using 3.0.6-4. In my cvsweb.conf
(/etc/cvsweb/cvsweb.conf) I have this config:

@CVSrepositories = (
'local' => ['Local Repository', '/var/cvs'],
'rancid' => ['rancid', '/usr/local/rancid/var/CVS/']
# 'freebsd' => ['FreeBSD', '/var/ncvs'],
# 'openbsd' => ['OpenBSD', '/var/ncvs'],
# 'netbsd' => ['NetBSD', '/var/ncvs'],
# 'ruby' => ['Ruby', '/var/anoncvs/ruby'],

That path, points to the CVSROOT for Rancid. When I browse to
...http://server/cgi-bin/cvsweb.cgi/, the local repo is available, but
there is no drop down box to go to the 'rancid' repo. If I comment out
the local repo in the cvsweb.conf, I get this error when trying to
browse to the same url:

Error: No valid CVS roots found! See @CVSrepositories in the
configuration file (/etc/cvsweb/cvsweb.conf)

This leads me to believe that there is not a permission issue on the
.conf file, because if there was - changing by commenting out a repo
would not make a difference.

Any idea on what I'm doing wrong? Sorry if this has been covered, but I
honestly couldn't find it anyplace that offered a solution. Several
discussions about it on the cvsweb list, but nothing that offered a
solution. This worked like a charm and out of the box with Ubuntu when
I did it a couple of years ago -- but unfortunately I'm not able to
build this box on Ubuntu, has to be Redhat.


Christopher Bell, CCNA
Network Operations Manager
Tower Hill Insurance Group, Inc.
352-332-8800, ext 1734


CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
Chris Bell
2009-09-10 14:14:05 UTC
Permalink
That did it ... curious though because the permissions on my Deb install are drwxr-xr-x 9 for /home/rancid.

Thanks for everyone's help ... as always this is a fantastic group. I hope I'll be able to add something beneficial to it one day.

-----Original Message-----
From: Todd Heide [mailto:***@equivoice.com]
Sent: Thursday, September 10, 2009 10:02 AM
To: Chris Bell; rancid-***@shrubbery.net
Subject: RE: [rancid] RANCID and CVSWEB

Notice on mine the permissions are drwxrwxr-x, I had to add write
permissions for it to work.
Try adding write to it and see what happens.

Yours
usr/local/rancid/
drwxr-xr-x 9 rancid rancid 4096 Sep 9 15:46 var

Mine
drwxrwxr-x 10 Rancid netadm 4096 Jul 16 15:43 rancid

Thanks
Todd
Nothing ever goes as planned, Its a hell of a notion,
Even pharaohs turn to sand, Like a drop in the ocean

-----Original Message-----
From: Chris Bell [mailto:***@thig.com]
Sent: Thursday, September 10, 2009 8:37 AM
To: Todd Heide; rancid-***@shrubbery.net
Subject: RE: [rancid] RANCID and CVSWEB

I keep thinking it's permissions too, but I don't see a problem with the
permissions:

/usr/local/rancid/
drwxr-xr-x 9 rancid rancid 4096 Sep 9 15:46 var



/usr/local/rancid/var/
drwxrwxr-x 7 rancid rancid 4096 Sep 9 15:46 CVS
drwxr-x--- 4 rancid rancid 4096 Sep 9 15:57 configs1
drwxr-x--- 4 rancid rancid 4096 Sep 9 16:05 configs2
drwxr-x--- 4 rancid rancid 4096 Sep 9 16:06 configs3
drwxr-x--- 4 rancid rancid 4096 Sep 9 16:07 configs4



[***@blah ~]# ls -l /usr/local/rancid/var/CVS/
total 24
drwxrwxr-x 3 rancid rancid 4096 Sep 9 16:07 CVSROOT
-rw-r----- 1 rancid rancid 58 Sep 9 15:46 Entries.Log
drwxrwxr-x 3 rancid rancid 4096 Sep 9 15:57 configs1
drwxrwxr-x 3 rancid rancid 4096 Sep 9 16:05 configs2
drwxrwxr-x 3 rancid rancid 4096 Sep 9 16:06 configs3
drwxrwxr-x 3 rancid rancid 4096 Sep 9 16:07 configs4


and on the /etc/cvsweb/cvsweb.conf

-rw-r--r-- 1 root root 22997 Sep 10 13:32 cvsweb.conf



-----Original Message-----
From: Todd Heide [mailto:***@equivoice.com]
Sent: Thursday, September 10, 2009 9:24 AM
To: Chris Bell; rancid-***@shrubbery.net
Subject: RE: [rancid] RANCID and CVSWEB

I have run into this same problem with Fedora Core. It turned out to be
the permissions in the directories where the CVS files are stored. They
need to be readable by Apache.

drwxrwxr-x 3 Rancid Rancid 4096 Sep 10 08:04 configs
drwxrwxr-x 10 Rancid netadm 4096 Jul 16 15:43 rancid

This was the only way I was able to get CVSweb to work with Rancid. I
think the default setting was

drwxrwx--- 10 Rancid netadm 4096 Jul 16 15:43 rancid


Thanks
Todd
Nothing ever goes as planned, Its a hell of a notion,
Even pharaohs turn to sand, Like a drop in the ocean

-----Original Message-----
From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Chris Bell
Sent: Thursday, September 10, 2009 8:17 AM
To: 'rancid-***@shrubbery.net'
Subject: [rancid] RANCID and CVSWEB

I spent the better part of yesterday, last night, and this morning
trying to figure out how to get cvsweb to work with RANCID. I'm running
Redhat 5.x and have Rancid installed to the default directory path
/usr/local/rancid. For cvsweb, I am using 3.0.6-4. In my cvsweb.conf
(/etc/cvsweb/cvsweb.conf) I have this config:

@CVSrepositories = (
'local' => ['Local Repository', '/var/cvs'],
'rancid' => ['rancid', '/usr/local/rancid/var/CVS/']
# 'freebsd' => ['FreeBSD', '/var/ncvs'],
# 'openbsd' => ['OpenBSD', '/var/ncvs'],
# 'netbsd' => ['NetBSD', '/var/ncvs'],
# 'ruby' => ['Ruby', '/var/anoncvs/ruby'],

That path, points to the CVSROOT for Rancid. When I browse to
...http://server/cgi-bin/cvsweb.cgi/, the local repo is available, but
there is no drop down box to go to the 'rancid' repo. If I comment out
the local repo in the cvsweb.conf, I get this error when trying to
browse to the same url:

Error: No valid CVS roots found! See @CVSrepositories in the
configuration file (/etc/cvsweb/cvsweb.conf)

This leads me to believe that there is not a permission issue on the
.conf file, because if there was - changing by commenting out a repo
would not make a difference.

Any idea on what I'm doing wrong? Sorry if this has been covered, but I
honestly couldn't find it anyplace that offered a solution. Several
discussions about it on the cvsweb list, but nothing that offered a
solution. This worked like a charm and out of the box with Ubuntu when
I did it a couple of years ago -- but unfortunately I'm not able to
build this box on Ubuntu, has to be Redhat.


Christopher Bell, CCNA
Network Operations Manager
Tower Hill Insurance Group, Inc.
352-332-8800, ext 1734


CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
Todd Heide
2009-09-10 14:15:25 UTC
Permalink
I had tried everything others have suggested but for some reason that
was the only thing that worked with Fedora. Since the server is private
on my network, I am not too worried about the permissions, if it were
public, that would be a wholly different issue.

Thanks
Todd

Nothing ever goes as planned, Its a hell of a notion,
Even pharaohs turn to sand, Like a drop in the ocean

-----Original Message-----
From: Chris Bell [mailto:***@thig.com]
Sent: Thursday, September 10, 2009 9:14 AM
To: Todd Heide; rancid-***@shrubbery.net; '***@zyedge.com'
Subject: RE: [rancid] RANCID and CVSWEB

That did it ... curious though because the permissions on my Deb install
are drwxr-xr-x 9 for /home/rancid.

Thanks for everyone's help ... as always this is a fantastic group. I
hope I'll be able to add something beneficial to it one day.

-----Original Message-----
From: Todd Heide [mailto:***@equivoice.com]
Sent: Thursday, September 10, 2009 10:02 AM
To: Chris Bell; rancid-***@shrubbery.net
Subject: RE: [rancid] RANCID and CVSWEB

Notice on mine the permissions are drwxrwxr-x, I had to add write
permissions for it to work.
Try adding write to it and see what happens.

Yours
usr/local/rancid/
drwxr-xr-x 9 rancid rancid 4096 Sep 9 15:46 var

Mine
drwxrwxr-x 10 Rancid netadm 4096 Jul 16 15:43 rancid

Thanks
Todd
Nothing ever goes as planned, Its a hell of a notion,
Even pharaohs turn to sand, Like a drop in the ocean

-----Original Message-----
From: Chris Bell [mailto:***@thig.com]
Sent: Thursday, September 10, 2009 8:37 AM
To: Todd Heide; rancid-***@shrubbery.net
Subject: RE: [rancid] RANCID and CVSWEB

I keep thinking it's permissions too, but I don't see a problem with the
permissions:

/usr/local/rancid/
drwxr-xr-x 9 rancid rancid 4096 Sep 9 15:46 var



/usr/local/rancid/var/
drwxrwxr-x 7 rancid rancid 4096 Sep 9 15:46 CVS
drwxr-x--- 4 rancid rancid 4096 Sep 9 15:57 configs1
drwxr-x--- 4 rancid rancid 4096 Sep 9 16:05 configs2
drwxr-x--- 4 rancid rancid 4096 Sep 9 16:06 configs3
drwxr-x--- 4 rancid rancid 4096 Sep 9 16:07 configs4



[***@blah ~]# ls -l /usr/local/rancid/var/CVS/
total 24
drwxrwxr-x 3 rancid rancid 4096 Sep 9 16:07 CVSROOT
-rw-r----- 1 rancid rancid 58 Sep 9 15:46 Entries.Log
drwxrwxr-x 3 rancid rancid 4096 Sep 9 15:57 configs1
drwxrwxr-x 3 rancid rancid 4096 Sep 9 16:05 configs2
drwxrwxr-x 3 rancid rancid 4096 Sep 9 16:06 configs3
drwxrwxr-x 3 rancid rancid 4096 Sep 9 16:07 configs4


and on the /etc/cvsweb/cvsweb.conf

-rw-r--r-- 1 root root 22997 Sep 10 13:32 cvsweb.conf



-----Original Message-----
From: Todd Heide [mailto:***@equivoice.com]
Sent: Thursday, September 10, 2009 9:24 AM
To: Chris Bell; rancid-***@shrubbery.net
Subject: RE: [rancid] RANCID and CVSWEB

I have run into this same problem with Fedora Core. It turned out to be
the permissions in the directories where the CVS files are stored. They
need to be readable by Apache.

drwxrwxr-x 3 Rancid Rancid 4096 Sep 10 08:04 configs
drwxrwxr-x 10 Rancid netadm 4096 Jul 16 15:43 rancid

This was the only way I was able to get CVSweb to work with Rancid. I
think the default setting was

drwxrwx--- 10 Rancid netadm 4096 Jul 16 15:43 rancid


Thanks
Todd
Nothing ever goes as planned, Its a hell of a notion,
Even pharaohs turn to sand, Like a drop in the ocean

-----Original Message-----
From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Chris Bell
Sent: Thursday, September 10, 2009 8:17 AM
To: 'rancid-***@shrubbery.net'
Subject: [rancid] RANCID and CVSWEB

I spent the better part of yesterday, last night, and this morning
trying to figure out how to get cvsweb to work with RANCID. I'm running
Redhat 5.x and have Rancid installed to the default directory path
/usr/local/rancid. For cvsweb, I am using 3.0.6-4. In my cvsweb.conf
(/etc/cvsweb/cvsweb.conf) I have this config:

@CVSrepositories = (
'local' => ['Local Repository', '/var/cvs'],
'rancid' => ['rancid', '/usr/local/rancid/var/CVS/']
# 'freebsd' => ['FreeBSD', '/var/ncvs'],
# 'openbsd' => ['OpenBSD', '/var/ncvs'],
# 'netbsd' => ['NetBSD', '/var/ncvs'],
# 'ruby' => ['Ruby', '/var/anoncvs/ruby'],

That path, points to the CVSROOT for Rancid. When I browse to
...http://server/cgi-bin/cvsweb.cgi/, the local repo is available, but
there is no drop down box to go to the 'rancid' repo. If I comment out
the local repo in the cvsweb.conf, I get this error when trying to
browse to the same url:

Error: No valid CVS roots found! See @CVSrepositories in the
configuration file (/etc/cvsweb/cvsweb.conf)

This leads me to believe that there is not a permission issue on the
.conf file, because if there was - changing by commenting out a repo
would not make a difference.

Any idea on what I'm doing wrong? Sorry if this has been covered, but I
honestly couldn't find it anyplace that offered a solution. Several
discussions about it on the cvsweb list, but nothing that offered a
solution. This worked like a charm and out of the box with Ubuntu when
I did it a couple of years ago -- but unfortunately I'm not able to
build this box on Ubuntu, has to be Redhat.


Christopher Bell, CCNA
Network Operations Manager
Tower Hill Insurance Group, Inc.
352-332-8800, ext 1734


CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
Chris Bell
2009-09-10 14:25:02 UTC
Permalink
I fixed this another way actually when I mentioned this to our Linux admin. Rather than 775 the /usr/local/rancid directory, I put it back to 755 and added the apache user to the rancid group. Worked like a charm.

-----Original Message-----
From: Todd Heide [mailto:***@equivoice.com]
Sent: Thursday, September 10, 2009 10:15 AM
To: Chris Bell; rancid-***@shrubbery.net; ***@zyedge.com
Subject: RE: [rancid] RANCID and CVSWEB

I had tried everything others have suggested but for some reason that
was the only thing that worked with Fedora. Since the server is private
on my network, I am not too worried about the permissions, if it were
public, that would be a wholly different issue.

Thanks
Todd

Nothing ever goes as planned, Its a hell of a notion,
Even pharaohs turn to sand, Like a drop in the ocean

-----Original Message-----
From: Chris Bell [mailto:***@thig.com]
Sent: Thursday, September 10, 2009 9:14 AM
To: Todd Heide; rancid-***@shrubbery.net; '***@zyedge.com'
Subject: RE: [rancid] RANCID and CVSWEB

That did it ... curious though because the permissions on my Deb install
are drwxr-xr-x 9 for /home/rancid.

Thanks for everyone's help ... as always this is a fantastic group. I
hope I'll be able to add something beneficial to it one day.

-----Original Message-----
From: Todd Heide [mailto:***@equivoice.com]
Sent: Thursday, September 10, 2009 10:02 AM
To: Chris Bell; rancid-***@shrubbery.net
Subject: RE: [rancid] RANCID and CVSWEB

Notice on mine the permissions are drwxrwxr-x, I had to add write
permissions for it to work.
Try adding write to it and see what happens.

Yours
usr/local/rancid/
drwxr-xr-x 9 rancid rancid 4096 Sep 9 15:46 var

Mine
drwxrwxr-x 10 Rancid netadm 4096 Jul 16 15:43 rancid

Thanks
Todd
Nothing ever goes as planned, Its a hell of a notion,
Even pharaohs turn to sand, Like a drop in the ocean

-----Original Message-----
From: Chris Bell [mailto:***@thig.com]
Sent: Thursday, September 10, 2009 8:37 AM
To: Todd Heide; rancid-***@shrubbery.net
Subject: RE: [rancid] RANCID and CVSWEB

I keep thinking it's permissions too, but I don't see a problem with the
permissions:

/usr/local/rancid/
drwxr-xr-x 9 rancid rancid 4096 Sep 9 15:46 var



/usr/local/rancid/var/
drwxrwxr-x 7 rancid rancid 4096 Sep 9 15:46 CVS
drwxr-x--- 4 rancid rancid 4096 Sep 9 15:57 configs1
drwxr-x--- 4 rancid rancid 4096 Sep 9 16:05 configs2
drwxr-x--- 4 rancid rancid 4096 Sep 9 16:06 configs3
drwxr-x--- 4 rancid rancid 4096 Sep 9 16:07 configs4



[***@blah ~]# ls -l /usr/local/rancid/var/CVS/
total 24
drwxrwxr-x 3 rancid rancid 4096 Sep 9 16:07 CVSROOT
-rw-r----- 1 rancid rancid 58 Sep 9 15:46 Entries.Log
drwxrwxr-x 3 rancid rancid 4096 Sep 9 15:57 configs1
drwxrwxr-x 3 rancid rancid 4096 Sep 9 16:05 configs2
drwxrwxr-x 3 rancid rancid 4096 Sep 9 16:06 configs3
drwxrwxr-x 3 rancid rancid 4096 Sep 9 16:07 configs4


and on the /etc/cvsweb/cvsweb.conf

-rw-r--r-- 1 root root 22997 Sep 10 13:32 cvsweb.conf



-----Original Message-----
From: Todd Heide [mailto:***@equivoice.com]
Sent: Thursday, September 10, 2009 9:24 AM
To: Chris Bell; rancid-***@shrubbery.net
Subject: RE: [rancid] RANCID and CVSWEB

I have run into this same problem with Fedora Core. It turned out to be
the permissions in the directories where the CVS files are stored. They
need to be readable by Apache.

drwxrwxr-x 3 Rancid Rancid 4096 Sep 10 08:04 configs
drwxrwxr-x 10 Rancid netadm 4096 Jul 16 15:43 rancid

This was the only way I was able to get CVSweb to work with Rancid. I
think the default setting was

drwxrwx--- 10 Rancid netadm 4096 Jul 16 15:43 rancid


Thanks
Todd
Nothing ever goes as planned, Its a hell of a notion,
Even pharaohs turn to sand, Like a drop in the ocean

-----Original Message-----
From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Chris Bell
Sent: Thursday, September 10, 2009 8:17 AM
To: 'rancid-***@shrubbery.net'
Subject: [rancid] RANCID and CVSWEB

I spent the better part of yesterday, last night, and this morning
trying to figure out how to get cvsweb to work with RANCID. I'm running
Redhat 5.x and have Rancid installed to the default directory path
/usr/local/rancid. For cvsweb, I am using 3.0.6-4. In my cvsweb.conf
(/etc/cvsweb/cvsweb.conf) I have this config:

@CVSrepositories = (
'local' => ['Local Repository', '/var/cvs'],
'rancid' => ['rancid', '/usr/local/rancid/var/CVS/']
# 'freebsd' => ['FreeBSD', '/var/ncvs'],
# 'openbsd' => ['OpenBSD', '/var/ncvs'],
# 'netbsd' => ['NetBSD', '/var/ncvs'],
# 'ruby' => ['Ruby', '/var/anoncvs/ruby'],

That path, points to the CVSROOT for Rancid. When I browse to
...http://server/cgi-bin/cvsweb.cgi/, the local repo is available, but
there is no drop down box to go to the 'rancid' repo. If I comment out
the local repo in the cvsweb.conf, I get this error when trying to
browse to the same url:

Error: No valid CVS roots found! See @CVSrepositories in the
configuration file (/etc/cvsweb/cvsweb.conf)

This leads me to believe that there is not a permission issue on the
.conf file, because if there was - changing by commenting out a repo
would not make a difference.

Any idea on what I'm doing wrong? Sorry if this has been covered, but I
honestly couldn't find it anyplace that offered a solution. Several
discussions about it on the cvsweb list, but nothing that offered a
solution. This worked like a charm and out of the box with Ubuntu when
I did it a couple of years ago -- but unfortunately I'm not able to
build this box on Ubuntu, has to be Redhat.


Christopher Bell, CCNA
Network Operations Manager
Tower Hill Insurance Group, Inc.
352-332-8800, ext 1734


CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.
_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.

CONFIDENTIAL NOTICE: This email including any attachments, contains
confidential information belonging to the sender. It may also be
privileged or otherwise protected by work product immunity or other
legal rules. This information is intended only for the use of the
individual or entity named above. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or the taking of any action in reliance on the contents
of this emailed information is strictly prohibited. If you have
received this email in error, please immediately notify us by
reply email of the error and then delete this email immediately.

Loading...