Unable to create auth user file
Administer Subversion repository access rights easily
Brought to you by:
tom_krieger
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.
Hi Asha,
please check if you enabled the file creation.
$CONF['createAccessFile'] = 'YES';
$CONF['createUserFile'] = 'YES';
Best
Maik
Yes, I have enabled the file creation.
My /etc/svn-access-manager/config.inc.php shows:
$CONF['createAccessFile'] = 'YES';
$CONF['createUserFile'] = 'YES';
Installed once again.
My /etc/svn-access-manager/config.inc.php shows:
$CONF['createAccessFile'] = 'YES';
$CONF['createUserFile'] = 'YES';
Still the same problem exists.
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
PFA the config.inc.php file from /etc/svn-access-manager/
No errors in webserver.
Thanks,
Asha.
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.
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
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.
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 :)