LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-01-2006, 11:00 AM   #1
ACDII
Member
 
Registered: Aug 2006
Posts: 87

Rep: Reputation: 16
Question Viewvc & CVS issues


Ran into a problem I dont know how to fix.

Running Fedora Core 4, ISPConfig, Rancid, Tac_plus. ALl 3 programs work OK, the problem I have is I cant get Viewvc to work properly. I think the $CVSROOT environment variable is broken. Rancid uses rancid-cvs to setup the cvs repositories for each group, viewvc when pointed to the main CVS folder should pull the directories, but doesnt. Back when I first started playing with this server I had done something with cvs and had created a /home/cvsroot directory, but dont know why or what for now. If I point viewvc to that directory, it works, I can pull up files that I copy into it, namely the networking folder that rancid created and stores the copies in, and I can view them and they all are doing what it is supposed to, but if I change the directory in rancid.conf to the /home/cvsroot folder and run rancid-cvs, the folders show up, but when I click on the link in viewvc, I get the same error I get when I point viewvc to the CVS folder rancid creates.


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.3/lib/viewvc.py", line 3629, in main
request.run_viewvc()
File "/usr/local/viewvc-1.0.3/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.


Now if I log in and try to checkout the folder that is in the /home/cvsroot directory that I can view with viewvc, I get the following error;

$ cvs checkout networking
cvs checkout: No CVSROOT specified! Please use the `-d' option
cvs [checkout aborted]: or set the CVSROOT environment variable.
[t@rancid ~]$ cvs checkout CVSROOT
cvs checkout: No CVSROOT specified! Please use the `-d' option
cvs [checkout aborted]: or set the CVSROOT environment variable.

How do I globally set $CVSROOT so viewvc works?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CVS server setup issues. Nasher Linux - Software 3 09-07-2009 04:16 AM
Issues with CVS fewynmotosuwa Linux - Software 3 02-02-2006 11:38 PM
CVS & SSH & Public/private keys guideweb Linux - Software 15 09-09-2005 01:06 PM
CVS? & Networking? lectraplayer Linux - Newbie 4 02-03-2004 08:59 PM
CVS issues def1014 Linux - General 1 01-06-2003 11:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration