Discussion:
[rancid] Viewvc problem, Might just be me playing dumb
Todd Heide
2007-07-05 20:23:47 UTC
Permalink
I bought a new server to do my network management on as the current one
tends to stop working and has to be power cycled. The problem is I have
no easy way of just moving everything as I am using a newer version of
Fedora than what I am running now due to the server requirements. I am
loading FC6 x64, first, is this an issue? I did get Rancid to work, that
is not a problem, it pulls the configs and is working flawlessly, the
problem I have is when I moved the website over, which has other issues
with ISPConfig, may or may not be related, I get the first page for
viewvc showing the repository Rancid, but when I click Rancid I get
errors stating the database isn't there or something, I blew it away, so
I don't have the exact error now. I used to have the CVS stuff someone
sent me a while back, but the link is page not found now. Does someone
have a viewvc howto for Rancid? It might be CVS related, in fact I am
quite certain it is. I don't think Viewvc can find the CVSROOT in
/usr/local/rancid/var/CVS.



I am currently rebuilding the server as I did mess something up with
ISPConfig as none of the PHP files are working.







Thanks

Todd Heide



CCNA CCDA CS-CAWLANFS CQS-CWLSS CS-CISecS



Nothing ever goes as planned, Its a hell of a notion,

Even pharaohs turn to sand, Like a drop in the ocean
Todd Heide
2007-07-09 13:36:55 UTC
Permalink
OK I fixed the PHP issues, now I need some guidance on viewvc.




An Exception Has Occurred

Rancid not found!
The wrong path for this repository was configured, or the server on
which the CVS tree lives may be down. Please try again in a few minutes.

Python Traceback

Traceback (most recent call last):
File "/usr/local/viewvc-1.0.4/lib/viewvc.py", line 3665, in main
request.run_viewvc()
File "/usr/local/viewvc-1.0.4/lib/viewvc.py", line 234, in run_viewvc
raise debug.ViewVCException(
ViewVCException: ViewVC Unrecoverable Error: Rancid not found!
The wrong path for this repository was configured, or the server on
which the CVS tree lives may be down. Please try again in a few minutes.


This is after I click on the Rancid link.



Here is what I have in viewvc conf.



cvs_roots = Rancid: /usr/local/rancid/var/CVS



Nothing has changed between the servers, the layout is the same. I think
I have something in CVS not setup right, but for the life of me cant
remember what I did to get it working the first time.



Thanks



CCNA CCDA CS-CAWLANFS CQS-CWLSS CS-CISecS



Nothing ever goes as planned, Its a hell of a notion,

Even pharaohs turn to sand, Like a drop in the ocean

________________________________

From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Todd Heide
Sent: Thursday, July 05, 2007 3:24 PM
To: rancid-***@shrubbery.net
Subject: [rancid] Viewvc problem, Might just be me playing dumb



I bought a new server to do my network management on as the current one
tends to stop working and has to be power cycled. The problem is I have
no easy way of just moving everything as I am using a newer version of
Fedora than what I am running now due to the server requirements. I am
loading FC6 x64, first, is this an issue? I did get Rancid to work, that
is not a problem, it pulls the configs and is working flawlessly, the
problem I have is when I moved the website over, which has other issues
with ISPConfig, may or may not be related, I get the first page for
viewvc showing the repository Rancid, but when I click Rancid I get
errors stating the database isn't there or something, I blew it away, so
I don't have the exact error now. I used to have the CVS stuff someone
sent me a while back, but the link is page not found now. Does someone
have a viewvc howto for Rancid? It might be CVS related, in fact I am
quite certain it is. I don't think Viewvc can find the CVSROOT in
/usr/local/rancid/var/CVS.



I am currently rebuilding the server as I did mess something up with
ISPConfig as none of the PHP files are working.







Thanks

Todd Heide



CCNA CCDA CS-CAWLANFS CQS-CWLSS CS-CISecS



Nothing ever goes as planned, Its a hell of a notion,

Even pharaohs turn to sand, Like a drop in the ocean
Todd Heide
2007-07-09 16:33:10 UTC
Permalink
Figured it out, DOH, Need to make sure the rancid directory has the
proper access, otherwise, it cant see it.



Thanks

Todd Heide

Equivoice Inc.



CCNA CCDA CS-CAWLANFS CQS-CWLSS CS-CISecS

847-235-3308



Nothing ever goes as planned, Its a hell of a notion,

Even pharaohs turn to sand, Like a drop in the ocean

________________________________

From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Todd Heide
Sent: Monday, July 09, 2007 8:37 AM
To: rancid-***@shrubbery.net
Subject: [rancid] Re: Viewvc problem, Might just be me playing dumb



OK I fixed the PHP issues, now I need some guidance on viewvc.




An Exception Has Occurred

Rancid not found!
The wrong path for this repository was configured, or the server on
which the CVS tree lives may be down. Please try again in a few minutes.

Python Traceback

Traceback (most recent call last):
File "/usr/local/viewvc-1.0.4/lib/viewvc.py", line 3665, in main
request.run_viewvc()
File "/usr/local/viewvc-1.0.4/lib/viewvc.py", line 234, in run_viewvc
raise debug.ViewVCException(
ViewVCException: ViewVC Unrecoverable Error: Rancid not found!
The wrong path for this repository was configured, or the server on
which the CVS tree lives may be down. Please try again in a few minutes.


This is after I click on the Rancid link.



Here is what I have in viewvc conf.



cvs_roots = Rancid: /usr/local/rancid/var/CVS



Nothing has changed between the servers, the layout is the same. I think
I have something in CVS not setup right, but for the life of me cant
remember what I did to get it working the first time.



Thanks



CCNA CCDA CS-CAWLANFS CQS-CWLSS CS-CISecS



Nothing ever goes as planned, Its a hell of a notion,

Even pharaohs turn to sand, Like a drop in the ocean

________________________________

From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Todd Heide
Sent: Thursday, July 05, 2007 3:24 PM
To: rancid-***@shrubbery.net
Subject: [rancid] Viewvc problem, Might just be me playing dumb



I bought a new server to do my network management on as the current one
tends to stop working and has to be power cycled. The problem is I have
no easy way of just moving everything as I am using a newer version of
Fedora than what I am running now due to the server requirements. I am
loading FC6 x64, first, is this an issue? I did get Rancid to work, that
is not a problem, it pulls the configs and is working flawlessly, the
problem I have is when I moved the website over, which has other issues
with ISPConfig, may or may not be related, I get the first page for
viewvc showing the repository Rancid, but when I click Rancid I get
errors stating the database isn't there or something, I blew it away, so
I don't have the exact error now. I used to have the CVS stuff someone
sent me a while back, but the link is page not found now. Does someone
have a viewvc howto for Rancid? It might be CVS related, in fact I am
quite certain it is. I don't think Viewvc can find the CVSROOT in
/usr/local/rancid/var/CVS.



I am currently rebuilding the server as I did mess something up with
ISPConfig as none of the PHP files are working.







Thanks

Todd Heide



CCNA CCDA CS-CAWLANFS CQS-CWLSS CS-CISecS



Nothing ever goes as planned, Its a hell of a notion,

Even pharaohs turn to sand, Like a drop in the ocean
Manuel Noriega
2007-07-09 16:56:59 UTC
Permalink
Todd:

I'm having a similar issue. I'm moving rancid from a Mandrake server
to a Fedora Core 7 server. I've got rancid working fine, but before I
was using cvsweb. Now I want to use viewvc on the new server but I
guess I have the same permission problem. What permissions should I
check and on what directory?

When I open on the browser vewvc.cgi I don't get any page and only
see the following in apache's log:

[Mon Jul 09 10:51:16 2007] [error] [client 192.168.60.101] Traceback
(most recent call last):
[Mon Jul 09 10:51:16 2007] [error] [client 192.168.60.101] File "/
var/www/cgi-bin/viewvc.cgi", line 60, in <module>
[Mon Jul 09 10:51:16 2007] [error] [client 192.168.60.101] cfg =
viewvc.load_config(CONF_PATHNAME, server)
[Mon Jul 09 10:51:16 2007] [error] [client 192.168.60.101] File "/
usr/local/viewvc-1.0.4/lib/viewvc.py", line 3615, in load_config
[Mon Jul 09 10:51:16 2007] [error] [client 192.168.60.101] "a
valid directory." % pp)
[Mon Jul 09 10:51:16 2007] [error] [client 192.168.60.101]
debug.ViewVCException: ViewVC Unrecoverable Error: The path '/usr/
local/rancid/var/CVS' in 'root_parents' does not refer to a valid
directory.
[Mon Jul 09 10:51:16 2007] [error] [client 192.168.60.101] Premature
end of script headers: viewvc.cgi


I've got the following in viewvc.conf

cvs_roots = cvs: /usr/local/rancid/var/CVS
root_parents = /usr/local/rancid/var/CVS : cvs

But It's the first time I use viewvc.


Thanks,

Manuel Noriega
ISP Engineer

Loading...