[rancid] Re: Viewvc problem, Might just be me playing dumb

Manuel Noriega mnoriega at amnetcorp.com
Mon Jul 9 16:56:59 UTC 2007


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: AmnetDatos-Little.jpg
Type: image/jpeg
Size: 12703 bytes
Desc: not available
Url : http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070709/df97b2ac/attachment.jpg 
-------------- next part --------------



13 CALLE 3-40, ZONA 10
15 NIVEL, OFICINA 15-01
GUATEMALA CITY, C.A.


www.amnetdatos.com


On Jul 9, 2007, at 10:33 AM, Todd Heide wrote:

> 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.
>
> <image001.jpg>
>
> <image002.jpg>
>
> <image003.jpg>
>
> 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-bounces at shrubbery.net [mailto:rancid-discuss- 
> bounces at shrubbery.net] On Behalf Of Todd Heide
> Sent: Monday, July 09, 2007 8:37 AM
> To: rancid-discuss at 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
>
> <image004.jpg>
>
> <image005.jpg>
>
> <image006.jpg>
>
> 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-bounces at shrubbery.net [mailto:rancid-discuss- 
> bounces at shrubbery.net] On Behalf Of Todd Heide
> Sent: Thursday, July 05, 2007 3:24 PM
> To: rancid-discuss at 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
>
> <image004.jpg>
>
> <image005.jpg>
>
> <image006.jpg>
>
> 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
>
>
>
> <image001.jpg>
> <image002.jpg>
> <image003.jpg>
> <image004.jpg>
> <image005.jpg>
> <image006.jpg>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss



More information about the Rancid-discuss mailing list