Dear Forum,
When I log in it says my license is expired but I already reinstalled the license 8+ times without success.
First I tried this which broke the whole directadmin system.
echo 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' > /usr/local/directadmin/conf/license.key
chmod 0600 /usr/local/directadmin/conf/license.key
systemctl restart directadmin
Apr 15 11:00:12 web01.xxxxxxx.nl directadmin[1951]: 2022/04/15 11:00:12 fatal failed reading license file error=license: invalid
Apr 15 11:00:12 web01.xxxxxxx.nl systemd[1]: directadmin.service: Main process exited, code=exited, status=1/FAILURE
Apr 15 11:00:12 web01.xxxxxxx.nl systemd[1]: directadmin.service: Failed with result 'exit-code'.
Apr 15 11:00:12 web01.xxxxxxx.nl systemd[1]: Failed to start DirectAdmin Web Control Panel.
root@web01:~# /usr/local/directadmin/scripts/getLicense.sh 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
Using data: license_key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#=#=- # #
Success!!
root@web01:~#
After i restarted DirectAdmin and try to login I get again: License has expired
This really drives me crazy, can anyone help?
When I log in it says my license is expired but I already reinstalled the license 8+ times without success.
First I tried this which broke the whole directadmin system.
echo 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' > /usr/local/directadmin/conf/license.key
chmod 0600 /usr/local/directadmin/conf/license.key
systemctl restart directadmin
Apr 15 11:00:12 web01.xxxxxxx.nl directadmin[1951]: 2022/04/15 11:00:12 fatal failed reading license file error=license: invalid
Apr 15 11:00:12 web01.xxxxxxx.nl systemd[1]: directadmin.service: Main process exited, code=exited, status=1/FAILURE
Apr 15 11:00:12 web01.xxxxxxx.nl systemd[1]: directadmin.service: Failed with result 'exit-code'.
Apr 15 11:00:12 web01.xxxxxxx.nl systemd[1]: Failed to start DirectAdmin Web Control Panel.
root@web01:~# /usr/local/directadmin/scripts/getLicense.sh 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
Using data: license_key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#=#=- # #
Success!!
root@web01:~#
After i restarted DirectAdmin and try to login I get again: License has expired
This really drives me crazy, can anyone help?
Last edited: