After reboot DirectAdmin not running

toktokcity

Verified User
Joined
Apr 29, 2016
Messages
91
Location
The Netherlands
Yesterday I did a reboot of a long running system and updating DA and AlmaLinux 8.1.

Afterwards the Dashboard of DA is not running. The database and webserver is running, the customers are online.

I received the following error:

● directadmin.service - DirectAdmin Web Control Panel
Loaded: loaded (/etc/systemd/system/directadmin.service; enabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2024-11-21 10:01:21 CET; 10s ago
Docs: https://docs.directadmin.com
Process: 27763 ExecStart=/usr/local/directadmin/directadmin server --syslog (code=exited, status=>
Main PID: 27763 (code=exited, status=203/EXEC)

-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit directadmin.service has finished shutting down.
Nov 21 10:03:53 xxx.xx.xx systemd[1]: Starting DirectAdmin Web Control Panel...
-- Subject: Unit directadmin.service has begun start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit directadmin.service has begun starting up.
Nov 21 10:03:53 xxx.xx.xx systemd[27852]: directadmin.service: Failed to execute command: Ex>
Nov 21 10:03:53 xxx.xx.xx systemd[27852]: directadmin.service: Failed at step EXEC spawning >
-- Subject: Process /usr/local/directadmin/directadmin could not be executed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- The process /usr/local/directadmin/directadmin could not be executed and failed.
--
-- The error number returned by this process is 8.
Nov 21 10:03:53 xxx.xx.xx systemd[1]: directadmin.service: Main process exited, code=exited,>
Nov 21 10:03:53 xxx.xx.xx systemd[1]: directadmin.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- The unit directadmin.service has entered the 'failed' state with result 'exit-code'.
Nov 21 10:03:53 xxx.xx.xx systemd[1]: Failed to start DirectAdmin Web Control Panel.
-- Subject: Unit directadmin.service has failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit directadmin.service has failed.
--
-- The result is failed.

What can I doto get this DA running again?
 
Last edited:
Did you updated your Almalinux box lately?

What you get when you run
Code:
journalctl -xe

Check for errors

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

You could update or rebuild all if needed

Code:
da build update_full

Code:
da build all
 
Did you updated your Almalinux box lately?

What you get when you run
Code:
journalctl -xe

Yes, I did. The second quote is from journalctl -xe

/var/log/messages:
Nov 21 10:19:22 s26 systemd[1]: directadmin.service: Service RestartSec=15s expired, scheduling restart.
Nov 21 10:19:22 s26 systemd[1]: directadmin.service: Scheduled restart job, restart counter is at 2258.
Nov 21 10:19:22 s26 systemd[1]: Stopped DirectAdmin Web Control Panel.
Nov 21 10:19:22 s26 systemd[1]: Starting DirectAdmin Web Control Panel...
Nov 21 10:19:22 s26 systemd[28520]: directadmin.service: Failed to execute command: Exec format error
Nov 21 10:19:22 s26 systemd[28520]: directadmin.service: Failed at step EXEC spawning /usr/local/directadmin/directadmin: Exec format error
Nov 21 10:19:22 s26 systemd[1]: directadmin.service: Main process exited, code=exited, status=203/EXEC
Nov 21 10:19:22 s26 systemd[1]: directadmin.service: Failed with result 'exit-code'.
Nov 21 10:19:22 s26 systemd[1]: Failed to start DirectAdmin Web Control Panel.
/var/log/directadmin/system.log
nothing relevant

/var/log/directadmin/error.log
empty
 
Try the update command mentioned above. and or update the box as well.

Code:
dnf check-update
dnf update
 
Back
Top