[viewvc-users] Rancid / CVS / ViewVC
Marcus Mansfield <[email protected]> Thu, 13 Sep 2012 03:54:11 -0700 (PDT)
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <130476028.11878.1347533651779.JavaMail.httpd@localhost> |
Ok, I'm new to ViewVC and even the Linux OS.
Trying to set up Rancid, got most of it working except the website ( http://localhost/viewvc ).
I get the following error...
Traceback (most recent call last):
File "/usr/local/viewvc-1.1.15/lib/viewvc.py", line 4638, in main
request.run_viewvc()
File "/usr/local/viewvc-1.1.15/lib/viewvc.py", line 394, in run_viewvc
self.view_func(self)
File "/usr/local/viewvc-1.1.15/lib/viewvc.py", line 2140, in view_directory
file_data, options)
File "/usr/local/viewvc-1.1.15/lib/vclib/ccvs/bincvs.py", line 261, in dirlogs
alltags = _get_logs(self, path_parts, entries_to_fetch, rev, subdirs)
File "/usr/local/viewvc-1.1.15/lib/vclib/ccvs/bincvs.py", line 1020, in _get_logs
% file.path)
Error: Rlog output ended early. Expected RCS file "/usr/local/rancid/var/CVS/xxxxxx/router.db,v"
This appears to be a pretty common issue, but I've not found anyone posting an actual solution.
Info that might be needed...
ViewVC.conf
#cvs_roots = cvs:
root_parents = /usr/local/rancid/var/CVS: cvs
rcs_dir = /usr/local/bin/
address = <a href=mailto:[email protected]>Me</a>
use_enscript = 1
enscript_path = /usr/bin/
use_highlight = 1
highlight_path = /usr/bin/
*Everything else is default*
rcs_dir is correct.
root parents contains a CVSROOT folder & the created folder for the group.
[rancid@localhost CVS]$ ls -al
total 20
drwxrwxr-x. 4 rancid netadm 4096 Sep 11 13:07 .
drwxr-xr-x. 5 rancid netadm 4096 Sep 11 13:07 ..
drwxrwxr-x. 3 rancid netadm 4096 Sep 12 18:37 CVSROOT
-rw-r-----. 1 rancid netadm 15 Sep 11 13:07 Entries.Log
drwxrwxr-x. 3 rancid netadm 4096 Sep 12 18:37 xxxxxx
group folder contain and and the config folder and the router.db,v file.
total 124
drwxrwxr-x. 3 rancid netadm 4096 Sep 12 18:37 .
drwxrwxr-x. 4 rancid netadm 4096 Sep 11 13:07 ..
drwxrwxr-x. 3 rancid netadm 53248 Sep 12 18:37 configs
-rw-r--r--. 1 rancid netadm 60086 Sep 12 18:37 router.db,v
configs folder has about 1000 files in it ( ending in ,v )
examples...
-r--r--r--. 1 rancid netadm 14335 Sep 12 18:37 172.16.96.84,v
-r--r--r--. 1 rancid netadm 14360 Sep 12 18:37 172.16.96.85,v
-r--r--r--. 1 rancid netadm 25792 Sep 12 18:37 172.16.96.95,v
-r--r--r--. 1 rancid netadm 185 Sep 12 09:38 172.16.96.97,v
-r--r--r--. 1 rancid netadm 27601 Sep 12 18:37 172.16.96.98,v
drwxrwxr-x. 2 rancid netadm 4096 Sep 12 07:20 Attic
apache is also part of the netadm group..
I've seem a random note that apache might need execute rights on the ",v" files.
Is that correct ?
Anyway, sorry for long chain. I've seen people post questions and not provide any data to help diagnose it.
Thanks for looking,
Marcus
------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3005619
To unsubscribe from this discussion, e-mail: [[email protected]].