[rancid] Re: Install Rancid for Gentoo

Chris Moody cmoody at qualcomm.com
Wed Jun 20 21:02:57 UTC 2007


You will also need to make sure you tell apache where the web-interface is.

Here's my example, using name-based virtual hosts in Apache.

ex>

########## VIRTUAL HOST CONFIG FOR ViewCVS ##########
#####################################################
#####################################################
################# cmoody 11.21.05 ###################
<VirtualHost *:443>
         ServerAdmin <insert your e-mail here>
         DocumentRoot /var/www/localhost/viewcvs/
         ServerName <dns-name for vhost goes here>
         UseCanonicalName Off
         ScriptAlias /config /var/www/localhost/cgi-bin/viewcvs/viewcvs.cgi
         <Directory "/var/www/localhost/cgi-bin/viewcvs/">
             AllowOverride AuthConfig
             Options ExecCGI FollowSymLinks
             Order allow,deny
             Allow from all
         </Directory>
         <Directory "/var/www/localhost/viewcvs/">
             AllowOverride AuthConfig
             Options Indexes MultiViews ExecCGI FollowSymLinks
             Options MultiViews ExecCGI FollowSymLinks
             Order allow,deny
             Allow from all
         </Directory>
</VirtualHost>


Alexandra Bakhto wrote:
> Thanks, here are the errors;
>  
> NMMRancid / # tail var/log/apache2/error_log
> [Wed Jun 20 12:03:05 2007] [error] [client 10.128.2.93] File does not 
> exist: /var/www/localhost/htdocs/manual, referer: http://10.128.2.3
> [Wed Jun 20 12:05:17 2007] [error] [client 10.128.2.93] File does not 
> exist: /var/www/localhost/htdocs/var
> [Wed Jun 20 12:05:20 2007] [error] [client 10.128.2.93] File does not 
> exist: /var/www/localhost/htdocs/var
> [Wed Jun 20 12:05:22 2007] [error] [client 10.128.2.93] File does not 
> exist: /var/www/localhost/htdocs/var
> [Wed Jun 20 12:13:01 2007] [notice] suEXEC mechanism enabled (wrapper: 
> /usr/sbin/suexec2)
> [Wed Jun 20 12:13:01 2007] [notice] Digest: generating secret for digest 
> authentication ...
> [Wed Jun 20 12:13:01 2007] [notice] Digest: done
> [Wed Jun 20 12:13:01 2007] [notice] mod_python: Creating 8 session 
> mutexes based on 150 max processes and 0 max threads.
> [Wed Jun 20 12:13:01 2007] [notice] mod_python: using mutex_directory /tmp
> [Wed Jun 20 12:13:02 2007] [notice] Apache configured -- resuming normal 
> operations
> 
> ------------------------------------------------------------------------
> *From:* Dylan Vanderhoof [mailto:DylanV at semaphore.com]
> *Sent:* Wednesday, June 20, 2007 1:39 PM
> *To:* Alexandra Bakhto
> *Subject:* RE: [rancid] Install Rancid for Gentoo
> 
> /var/log/apache2/error_log most likely.  Or somewhere in that general area.
>  
> -D
> 
>     -----Original Message-----
>     *From:* Alexandra Bakhto [mailto:Alexandra.Bakhto at MoneyMart.ca]
>     *Sent:* Wednesday, June 20, 2007 1:36 PM
>     *To:* Dylan Vanderhoof
>     *Subject:* RE: [rancid] Install Rancid for Gentoo
> 
>     Please forgive my  ignorance... where do find the apache error log?
> 
>     ------------------------------------------------------------------------
>     *From:* Dylan Vanderhoof [mailto:DylanV at semaphore.com]
>     *Sent:* Wednesday, June 20, 2007 1:31 PM
>     *To:* Alexandra Bakhto
>     *Cc:* rancid-discuss at shrubbery.net
>     *Subject:* RE: [rancid] Install Rancid for Gentoo
> 
>     Ahhh, I don't use viewcvs or the apache portion, so I suppose that's
>     why it seemed easier to me.  I honestly don't know where that is
>     concerned.  I think most people are using external/custom
>     applications to handle the CVS repository, or just monitoring the
>     config change emails.
>      
>     What do you get in the apache error log when you try to access those
>     links? 
>      
>     (CC'ing the list again, since somebody might have experience with
>     the web portion)
>      
>     -D
> 
>         -----Original Message-----
>         *From:* Alexandra Bakhto [mailto:Alexandra.Bakhto at MoneyMart.ca]
>         *Sent:* Wednesday, June 20, 2007 1:25 PM
>         *To:* Dylan Vanderhoof
>         *Subject:* RE: [rancid] Install Rancid for Gentoo
> 
>         Hi Dylan:
> 
>         Thank you very much for you response!
> 
>         I chose gentoo because supposedly applications are easier to
>         integrate there using the emerge command.
> 
>         Installation instruction at per
>         _http://gentoo-wiki.com/HOWTO_Rancid_ do not even include
>         starting apache! Well I figured that out and I can now connect
>         to HTTP:\\SERVER-IP\ but HTTP:\\SERVER-IP\configs or
>         HTTP:\\SERVER-IP\viewcvs still result in broken links. What am I
>         doing wrong? I followed all the instructions step by step...
> 
>         Alexandra Bakhto.
> 
>         . 
> 
> 
>     This message is intended only for the named recipient(s) above and
>     may contain information that is privileged, confidential and/or
>     exempt from disclosure under applicable law. If you have received
>     this message in error, or are not the named recipient(s), please
>     immediately notify the sender and destroy this message. 
> 
> 
> This message is intended only for the named recipient(s) above and may 
> contain information that is privileged, confidential and/or exempt from 
> disclosure under applicable law. If you have received this message in 
> error, or are not the named recipient(s), please immediately notify the 
> sender and destroy this message.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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