Installs fine, admin cannot login

nbn

Verified User
Joined
Feb 1, 2005
Messages
11
Hi,

After a fresh install (CentOS 5.4), I cannot login to direct admin panel.

The firewall is open on :2222, so started "./directadmin b200"

The only worrying thing on the output was this line:

not on the list: admin

So, it seems that it login fine, starts the session and is redirected to /
but without admin it shows the login again.

Anybody have any idea where to start looking?
 
Two things, why are you starting DirectAdmin via ./directadmin b200? Just run service directadmin start or /etc/init.d directadmin start

Also, if you do not know the admin password, you can check /var/log/directadmin/install.log

Hope this helps.
 
It means the admin does not exist in /usr/local/directadmin/data/admin/admin.list (and probably there is no /usr/local/directadmin/data/users/admin at all). The following code should fix the problem:
Code:
cd /usr/local/directadmin
./directadmin i
 
Back
Top