License has expired.

inetnl

New member
Joined
Apr 15, 2022
Messages
2
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?
 
Last edited:
Apr 15 11:46:18 web01.xxxxxxx.nl directadmin[5279]: 2022/04/15 11:46:18 error failed to create new license session error=transient licence check failure: too many requests, try again later

I removed CSF because this also cause many issues
 
This really drives me crazy, can anyone help?

Change DA channel to STABLE if using CURRENT 'or' CURRENT if using STABLE.
I faced the same issue on 2 DA server and solved using this method.
 
I hate to write the obvious, but if disabling or uninstalling CSF fixes your licensing issues, perhaps you might want to look more closely into what is happening.
 
Back
Top