DirectAdmin: Unable to determine Usertype user.conf needs to be repaired


I jut have installed DirectAdmin, but could not log in to DirectAdmin, I got the following error message:

Unable to determine Usertype
user.conf needs to be repaired

I quickly solved this by running:

# cd /usr/local/directadmin
# ./directadmin i

If this doesn’t solve the problem, let me know and I will assist you.