Failed to load direct admin

jdn1976

Verified User
Joined
Mar 30, 2020
Messages
107
Hello, I have installed the direct admin in a new server but the service do not start (and do not have access to port 2222 of course):

service directadmin status
Redirecting to /bin/systemctl status directadmin.service
● directadmin.service - DirectAdmin Web Control Panel
Loaded: loaded (/etc/systemd/system/directadmin.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2020-06-03 16:26:07 EDT; 5s ago
Docs: http://www.directadmin.com

Process: 2445 ExecStart=/usr/local/directadmin/directadmin d (code=exited, status=0/SUCCESS)

Main PID: 2446 (code=exited, status=9)

Jun 03 16:26:06 servidor.exampledomain.com systemd[1]: Starting DirectA...
Jun 03 16:26:06 servidor.exampledomain.com systemd[1]: Can't open PID f...
Jun 03 16:26:07 servidor.exampledomain.com systemd[1]: Started DirectAd...
Jun 03 16:26:07 servidor.exampledomain.com systemd[1]: directadmin.serv...
Jun 03 16:26:07 servidor.exampledomain.com systemd[1]: Unit directadmin...
Jun 03 16:26:07 servidor.exampledomain.com systemd[1]: directadmin.serv...
Hint: Some lines were ellipsized, use -l to show in full.


Any ideas? I have disable the firewall on the centos 7.x.
 
Never mind I see 7 now
See if the admin user was created?
Code:
cat /etc/passwd

you might add -l
or look in
Code:
journalctl -xe
as well.
 

did you set ssl maybe?
 
Check for errors in

/var/log/directadmin/error.log
/var/log/directadmin/system.log
/var/log/messages

To see if it is indeed running type:

ps xua | grep -e 'directadmin d' | grep -v grep
netstat -na | grep 2222
lsof -i | grep 2222
 
You can start the firewall again, because Directadmin runs locally, has nothing to do with the firewall.

Have a look at the logs bdacus01 stated.

Next to that:
Jun 03 16:26:06 servidor.exampledomain.com systemd[1]: Can't open PID f...
Can you give the full line for this error? Pid file for what can't be opened?

Also, log in to SSH and run this command as root:
/usr/local/directadmin/directadmin
does it show any errors?
 
Check for errors in

/var/log/directadmin/error.log
/var/log/directadmin/system.log
/var/log/messages

To see if it is indeed running type:

ps xua | grep -e 'directadmin d' | grep -v grep
netstat -na | grep 2222
lsof -i | grep 2222

Well somehow it was fixed, I reinstalled the DirectAdmin and solve the problem, now is loading.
 
Back
Top