Server directadmin.conf got deleted

allisonjclark

Verified User
Joined
Jun 24, 2020
Messages
10
Hello,

Not sure but somehow directadmin.conf file got deleted,

Now the server acting weiredly,
Is there anyway to rebuilt it ?
I tried one, but everytime I start the directadmin service then server all services getting down and restarted automatically.
When I stop directadmin service then other services are working and also websites hosted are online.
But when start directadmin service then again same issue,
Is there anyway to correct it ?

Also is there anyway to backup/migrate all data to different server using commands ? since when I try to use directadmin then server all services getting down, so can't backup/migrate from directadmin.
If there is no way to fix the current directadmin then we might need to backup and then reinstall the whole server.

Kindly help
 
You can find a default directadmin.conf here:
/usr/local/directadmin/data/templates/directadmin.conf
you will need to copy it to /usr/local/directadmin/conf/ and change to your needs like adding SSL and DKIM stuff for example.
 
You can find a default directadmin.conf here:
/usr/local/directadmin/data/templates/directadmin.conf
you will need to copy it to /usr/local/directadmin/conf/ and change to your needs like adding SSL and DKIM stuff for example.
I had the same problem and your guide worked for me. thanks a lot
 
Back
Top