DirectAdmin failed to restart

Joined
May 25, 2022
Messages
3
I used the following command in SSH:
Code:
cd /usr/local/directadmin
./directadmin set ssl 1

Then when I tried to restart DA using:
Code:
systemctl restart directadmin

It failed to restart so I restarted my entire server and it still failed to start up. So I took a look at the tail end of the log journal and this is what was there:
-- Unit directadmin.service has finished shutting down.
May 25 20:40:39 chameo.serenitydev.xyz 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.
May 25 20:40:39 chameo.serenitydev.xyz directadmin[2686]: 2022/05/25 20:40:39 fatal creating main HTTP server error=newServer failed to initialize TLS certificate cache: open /usr/local/directadmin/conf/cacert.pem: no such file or direc>
May 25 20:40:39 chameo.serenitydev.xyz systemd[1]: directadmin.service: Main process exited, code=exited, status=1/FAILURE
May 25 20:40:39 chameo.serenitydev.xyz 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'.
May 25 20:40:39 chameo.serenitydev.xyz 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.

I'm not sure what is going on with it because all I did was set a value for SSL so DA could be accessed on HTTPS for myself and my co-owner. Any advice or suggestions greatly appreciated.
 
I have tested this, if I change it to ssl=0 DA starts up just fine. I'm trying to make it so we can access the control panel using HTTPS.
 
Back
Top