Control panels

After Installed DirectAdmin, the admin user cannot login

DirectAdmin control panel If you cannot log in to the control panel immediately after installing DirectAdmin, admin may be missing from /usr/local/directadmin/data/admin/admin.list, or /usr/local/directadmin/data/users/admin may not exist. Run the following commands to fix this, then try logging in to the control panel again.

[root@server1 ~]# cd /usr/local/directadmin
[root@server1 ~]# ./directadmin i 

Example


[root@server1 ~]# cd /usr/local/directadmin
[root@server1 directadmin]# ./directadmin i
## REPORT_START
Welcome to DirectAdmin verion 1.39.2!
You are now about to run the install program. If DirectAdmin is already
installed, it may destroy previous data.

Here is the information given:

Admin user: admin
Admin email: [email protected]
Server IP: www.xxx.yyy.zzz
Server IP Netmask: 255.255.255.0
Server Hostname: server1.ezylinux.com
Name Servers:
ns1.ezylinux.com
ns2.ezylinux.com
options.conf exists, not installing the httpd.conf. Relying on custombuild.
Backup of /etc/proftpd.conf to /etc/proftpd.conf.back successfull
Install of /usr/local/directadmin/data/templates/proftpd.conf to /etc/proftpd.conf successfull
Install of /usr/local/directadmin/data/templates/directadmin.conf to /usr/local/directadmin/conf/directadmin.conf successfull
directory /usr/local/directadmin/data created
directory ./data/admin created
directory /usr/local/directadmin/data/tickets created
directory ./data/users created
directory /home/tmp created
directory /usr/local/directadmin/data/sessions created
directory /etc/virtual created
directory /var/spool/virtual created
directory ./data/admin/ips created
directory ./data/admin/packages created
file ./data/admin/packages.list created
ip.list written successfully
./data/admin/login.hist written successfully
./data/admin/next_ticket.number already exists
./data/admin/services.status written successfully
tickets.list written successfully
Admin user created
## INSTALL_COMPLETE
## ACCOUNT_INFO

The following information has been set:

Admin username: admin
Admin password: MyP4ss30rd
Admin email: [email protected]

Server IP: www.xxx.yyy.zzz
Server Hostname: server1.ezylinux.com

To login now, follow this link:

http://www.xxx.yyy.zzz:2222

and enter your Admin username and password when prompted.

You should now visit http://admin.site-helper.com and http://www.directadmin.com/newinstall.html to learn how to get started.

Thank you for using DirectAdmin. Should you have any questions, don't hesitate to contact us at [email protected]

## REPORT_END
EOF.← Back to articles