Menu

unable to start up svnmanager

Help
mar77
2006-01-13
2013-05-01
  • mar77

    mar77 - 2006-01-13

    Hi there!

    My gentoo system configuration is as follows:
    - kernel version 2.6.13-r3
    - subversion 1.2.3 -r2
    - apache 2.0.55
    - php 5.0.5 -r5
    - pear 1.3.6 -r2
    - svnmanager-0.36

    I configured config.php as follows:
    //------------------------------------------------

    //Shell command's
    $htpassword_cmd                         =       "/usr/sbin/htpasswd2";
    $svn_cmd                                =       "/usr/bin/svn";
    $svnadmin_cmd                           =       "/usr/bin/svnadmin";

    //Subversion locations
    $svn_repos_loc                          =       "/cifs/svn/repos";
    $svn_passwd_file                        =       "/cifs/svn/repos/passwdfile";
    $svn_access_file                        =       "/cifs/svn/repos/accessfile";
    //$svn_repos_loc                        ="/var/www/repos";
    //$svn_passwd_file                      =       "/var/www/repos/passwdfile";
    //$svn_access_file                      =       "/var/www/repos/accessfile";

    //SMTP Server for outgoing mail
    $smtp_server                            =       "localhot";

    //Data Source Name (only tested with mysql and sqlite!!)
    //
    // Use the createtables.sql script to build the tables in a mysql database
    //
    // An empty SQLite database will automatically be generated with the first
    // startup!
    //

    //$dsn                                  =       "mysql://username:password@localhost/svnmanager";
    $dsn                                    =       "sqlite:/var/www/localhost/htdocs/svnmanager/svnmanager.db";

    //Administrator account
    $admin_name                             =       "admin";
    $admin_temp_password                    =       "admin";

    //------------------------------------------------

    In apache2 httpd.conf file I entered what follows:

    <Location /svnmanager>
                    DAV svn
                    SVNParentPath /var/www/localhost/htdocs/svnmanager
                    #SVNParentPath /cifs/svn/repos
                    #AuthzSVNAccessFile  /cifs/svn/repos/accessfile
                    #AuthType Basic
                    #AuthName "Subversion repository"
                    #AuthUserFile /var/svn/conf/svnusers
                    #Require valid-user
            </Location>
    //------------------------------------------------

    I set /var/www/localhost/htdocs/svnmanager ownership to user/group apache/apache and read/write/execute permission to user apache plus read/write permissions to group apache.

    Finally I started http:://localhost/svnmanager
    but the php scripts stopped reporting the following error:

    This XML file does not appear to have any style information associated with it. The document tree is shown below.
         

    <D:error>
    <C:error/>
    <m:human-readable errcode="20">
    Could not open the requested SVN filesystem
    </m:human-readable>
    </D:error>

    Can anybody help me, please ?
    Thank you in advance

    Mar77

     
    • Marijn Verkerk

      Marijn Verkerk - 2006-02-20

      Hi there,

      Please check your php pear installation. This error message is probably from the VersionControl_SVN pear package. This package has a requirement as well, XML_Parser, which might not be installed properly in your case!

      Kind regards,
      Marijn

       

Log in to post a comment.