DirectAdmin Wont Start - Status failed

SaeedTJ

Verified User
Joined
Aug 20, 2017
Messages
34
hello
directadmin wont starts and when I enter the command: service directadmin start, I will get this:

Code:
● directadmin.service - DirectAdmin Web Control Panel
   Loaded: loaded (/etc/systemd/system/directadmin.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2020-03-29 14:45:35 +0430; 5s ago
     Docs: http://www.directadmin.com
  Process: 17531 ExecStart=/usr/local/directadmin/directadmin d (code=exited, status=0/SUCCESS)
 Main PID: 17532 (code=exited, status=1/FAILURE)

Mar 29 14:45:35 srv.chapar.site systemd[1]: Starting DirectAdmin Web Control Panel...
Mar 29 14:45:35 srv.chapar.site directadmin[17531]: restore_database_as_admin is disabled, but is mysqldump_routines is enabled.  Disabling mysqldump_routines.
Mar 29 14:45:35 srv.chapar.site systemd[1]: directadmin.service: Can't open PID file /run/directadmin.pid (yet?) after start: No such file or directory
Mar 29 14:45:35 srv.chapar.site systemd[1]: Started DirectAdmin Web Control Panel.
Mar 29 14:45:35 srv.chapar.site systemd[1]: directadmin.service: Main process exited, code=exited, status=1/FAILURE
Mar 29 14:45:35 srv.chapar.site systemd[1]: directadmin.service: Failed with result 'exit-code'.

what's the problem?
 
Can you check if the /run/ directory and the /run/directadmin.pid file exists? Is anything reported in the DirectAdmin error log when you attempt to restart (/var/log/directadmin/error.log)? Have you tried starting it in debug mode to see if any information is given that way (https://help.directadmin.com/item.php?id=293)?
 
Seeing this exact same issue on a fresh CentOS 8.1 install. Lots of errors (can't find repo) during install but displays 'Installed Successfully'.

All 6 error lines reported by @SaeedTJ match. Did the preinstall as well before install.

We're installing a new server and would love to install DA on CentOS 8. Any suggestions would be great.
 
Have a look at this thread, it's talked about there too.
 
Back
Top