DirectAdmin control panelสำหรับคนที่ install directadmin เสร็จใหม่ๆแล้ว login ไปที่หน้า control panel แต่ไม่สามารถเข้าไปใช้งานได้ ซึ่งสามาเหตุน่าจะเกิดจากไม่มี admin อยู่ในไฟล์ /usr/local/directadmin/data/admin/admin.list หรือ ไม่มี /usr/local/directadmin/data/users/admin ดังนั้น เราจะต้องรันคำสั่งด้านล่างเพื่อแก้ไขปัญหาดังกล่าว แล้วลอง login ที่หน้า control panel ใหม่อีกครั้ง

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

ตัวอย่าง
[shell]
[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
[/shell]