Menu

#11 Unable to create auth user file

v1.0 (example)
closed
None
1
2018-03-26
2015-08-20
asha
No

Hello,

In the "Administration" menu, when I click on "Create access files" and I validate by "Yes", I got the message error for auth user file as below:

Create Access Files
Result of auth user file: Create of auth user file not configured!
Result of access file: Access file successfully created!

The access file is creating properly, but not auth user file.
The auth user file declared during the installation is "/etc/svn/svn-passwd"

My SVN Access Manager version is 0.5.6.2,
It's installed on CentOS Linux release 7.1.1503 (Core)
PHP version: 5.4.16
MySQL version: 5.5.41-MariaDB

Can you help me please ?

Best regards,

Asha.

Discussion

  • Maik N.

    Maik N. - 2015-08-20

    Hi Asha,

    please check if you enabled the file creation.

    $CONF['createAccessFile'] = 'YES';
    $CONF['createUserFile'] = 'YES';

    Best
    Maik

     
  • asha

    asha - 2015-08-20

    Yes, I have enabled the file creation.
    My /etc/svn-access-manager/config.inc.php shows:
    $CONF['createAccessFile'] = 'YES';
    $CONF['createUserFile'] = 'YES';

     
  • asha

    asha - 2015-08-20

    Installed once again.

    My /etc/svn-access-manager/config.inc.php shows:
    $CONF['createAccessFile'] = 'YES';
    $CONF['createUserFile'] = 'YES';

    Still the same problem exists.

     
  • Thomas Krieger

    Thomas Krieger - 2015-08-21

    Please post the whole config.inc.php file with removed passwords. Please look into the logs of your webserver if there are any errors logged.

     

    Last edit: Thomas Krieger 2015-08-21
  • asha

    asha - 2015-08-21

    PFA the config.inc.php file from /etc/svn-access-manager/
    No errors in webserver.

    Thanks,
    Asha.

     
  • asha

    asha - 2015-08-21

    Tried the below steps and it worked!
    1. Copied /etc/svn-access-manager/config.inc.php to /var/www/html/sam/config/
    2. Renamed config.inc.php file to config.inc.php_old in /etc/svn-access-manager/ directory
    3. Restarted Apache

    Is this a proper solution or do you suggest any other configuration change in config.inc.php ?

    Thanks,
    Asha.

     
  • Thomas Krieger

    Thomas Krieger - 2015-08-21

    You can try if it works for you.

    Do you have selinux enabled in enforcing mode?

    Vou can try to add a command to $CONF['ViewvcApacheReload'] . Maybe you want to allow the apache user to restart with
    sudo systemctl restart httpd

    Don't forget to gefinde the sudo command for the apacher user.

    Best

    Thomas

     
  • Anurag Verma

    Anurag Verma - 2016-05-05

    Hi Thomas, I am also facing this. On clicking Create Access files on left, I am getting this -

    Create Access Files
    Result of auth user file: Create of auth user file not configured!
    Result of access file: Create of access file not configured!

    my deployment location is /var/www/svnmanager (just using this location, without apache2 server) I am using nginx with fast cgi. inside /var/www/svnmanager/config.inc.php i have this -
    $CONF['createAccessFile'] = 'YES';
    $CONF['createUserFile'] = 'YES';

    I also tried the steps mentioned by Asha above -
    1. Copied /etc/svn-access-manager/config.inc.php to /var/www/html/sam/config/
    2. Renamed config.inc.php file to config.inc.php_old in /etc/svn-access-manager/ directory
    3. Restarted Apache

    Even this is not helping. Please suggest.

     
  • Anurag Verma

    Anurag Verma - 2016-05-05

    My Bad, I had configured config file to be at different location. modified configurations at correct location & it started functioning well. Sorry to bother.

    PS - A cup of coffee always works :)

     
  • Thomas Krieger

    Thomas Krieger - 2018-03-26
    • status: open --> closed
     

Log in to post a comment.