Hi<br>I used the RhysEvans guide to install rancid and everything seems to be working except viewvc. <br>I used tortois to verify that the cvs is working, but I really want the viewvc web interface to work too.<br><br>This is what I see in the apache error log:<br>
<br>[Wed Aug 04 13:30:56 2010] [error] [client 192.168.101.3] Traceback (most recent call last):<br>[Wed Aug 04 13:30:56 2010] [error] [client 192.168.101.3] File "/var/www/cgi-bin/viewvc.cgi", line 60, in ?<br>
[Wed Aug 04 13:30:56 2010] [error] [client 192.168.101.3] cfg = viewvc.load_config(CONF_<div>PATHNAME, server)<br>[Wed Aug 04 13:30:56 2010] [error] [client 192.168.101.3] File "/usr/local/viewvc-1.0.12/lib/viewvc.py", line 3679, in load_config<br>
[Wed Aug 04 13:30:56 2010] [error] [client 192.168.101.3] cfg.load_config(pathname, server and server.getenv("HTTP_HOST"))<br>[Wed Aug 04 13:30:56 2010] [error] [client 192.168.101.3] File "/usr/local/viewvc-1.0.12/lib/config.py", line 57, in load_config<br>
[Wed Aug 04 13:30:56 2010] [error] [client 192.168.101.3] parser.read(pathname)<br>[Wed Aug 04 13:30:56 2010] [error] [client 192.168.101.3] File "/usr/lib64/python2.4/ConfigParser.py", line 267, in read<br>
[Wed Aug 04 13:30:56 2010] [error] [client 192.168.101.3] self._read(fp, filename)<br>[Wed Aug 04 13:30:56 2010] [error] [client 192.168.101.3] File "/usr/lib64/python2.4/ConfigParser.py", line 462, in _read<br>
[Wed Aug 04 13:30:56 2010] [error] [client 192.168.101.3] raise MissingSectionHeaderError(fpname, lineno, line)<br>[Wed Aug 04 13:30:56 2010] [error] [client 192.168.101.3] ConfigParser.MissingSectionHeaderError: File contains no section headers.<br>
[Wed Aug 04 13:30:56 2010] [error] [client 192.168.101.3] file: /usr/local/viewvc-1.0.12/viewvc.conf, line: 15<br>[Wed Aug 04 13:30:56 2010] [error] [client 192.168.101.3] ' \\t#cvs_roots = cvs: /usr/local/rancid/var/CVS\\n'<br>
[Wed Aug 04 13:30:56 2010] [error] [client 192.168.101.3] Premature end of script headers: viewvc.cgi<br><br>I also get almost the same error message when I runcvsdbadmin rebuild (point 29 in the guide) :<br>
<br>[root@rancid viewvc-1.1.6]# /usr/local/viewvc-1.1.6/bin/./cvsdbadmin rebuild /usr/local/rancid/var/CVS/CVSROOT<br><br>Using repository root `/usr/local/rancid/var/CVS'<br>Traceback (most recent call last):<br> File "/usr/local/viewvc-1.1.6/bin/./cvsdbadmin", line 174, in ?<br>
cfg = viewvc.load_config(CONF_PATHNAME)<br> File "/usr/local/viewvc-1.1.6/lib/viewvc.py", line 4277, in load_config<br> cfg.load_config(pathname, server and server.getenv("HTTP_HOST"))<br> File "/usr/local/viewvc-1.1.6/lib/config.py", line 148, in load_config<br>
self.parser.read(self.conf_path or [])<br> File "/usr/lib64/python2.4/ConfigParser.py", line 267, in read<br> self._read(fp, filename)<br> File "/usr/lib64/python2.4/ConfigParser.py", line 462, in _read<br>
raise MissingSectionHeaderError(fpname, lineno, line)<br>ConfigParser.MissingSectionHeaderError: File contains no section headers.<br>file: /usr/local/viewvc-1.1.6/viewvc.conf, line: 70<br>'cvs_roots = cvs:\n'<br>
<br>Can anyone tell me what I'm doing wrong ?<br><br>Thanks!<br><font color="#888888"><br>-Martin</font></div>