Unable to read the User data files for username


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » DirectAdmin

Unable to read the User data files for usernameLast Modified: Oct 21, 2012, 10:36 pm
When restoring a backup, if you get the error:

Unable to read the User data files for username

this would mean that the account likely already exists on the system in /etc/passwd, and the the data in /usr/local/directadmin/data/users/username does not exist.

1) If there is not yet any data for the User on the system (eg: named.conf, /home/username/*, databases, /etc/virtual/domain.com, etc..), then remove the account from the system, and try the restore again.

userdel -r username


2) If there is data setup everywhere that you do not want to delete, then try repairing the DA account with:

cd /usr/local/directadmin/scripts
./fix_da_user.sh username user domain.com


 
Related Helpfiles
Domain Already Exists

2003 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST