Solved License check failure

tsimtung

Verified User
Joined
Feb 26, 2022
Messages
49

HI, my da have this problem now:​

License check failure See the Debug Guide

Reason: transient licence check failure: incompatible version, please upgrade DirectAdmin
Current Server Time: Mon, 20 Mar 2023 14:26:10 HKT

I have corrected the OS and version and client area, and now it shoud be correct.
and I have try to run getLicense, but it still shows this error.

And I try to run update, it says:

[root@digi29c scripts]# !cat
cat /etc/redhat-release
CentOS Linux release 7.8.2003 (Core)
[root@digi29c scripts]# cd /usr/local/directadmin/custombuild
[root@digi29c custombuild]# ./build update
--2023-03-20 14:19:33-- https://files.directadmin.com/services/custombuild/2.0/custombuild.tar.gz
Resolving files.directadmin.com (files.directadmin.com)... 104.26.13.65, 104.26.12.65, 172.67.68.87, ...
Connecting to files.directadmin.com (files.directadmin.com)|104.26.13.65|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-03-20 14:19:35 ERROR 404: Not Found.

Fileserver might be down, using the backup file server..
--2023-03-20 14:19:35-- http://69.162.69.58/services/custombuild/2.0/custombuild.tar.gz
Connecting to 69.162.69.58:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-03-20 14:19:35 ERROR 404: Not Found.

Unable to extract custombuild.tar.gz.
[root@digi29c custombuild]# da update

[root@digi29c custombuild]# dig +short -t txt current-version.directadmin.com | sed 's|.*v=\([0-9.]*\).*|\1|'
1.647
[root@digi29c custombuild]# service directadmin restart
Redirecting to /bin/systemctl restart directadmin.service

How to solve this, help pls, thx.

Stanley
 
Try yum update, because you still on CentOS 7.8 - while 7.9 was released few years ago.
 
Ok, thanks, I will try.
And do you know why the .build update is failed?
404 Not Found
 
try reset DA key in your DA cabinet, then update license with key - maybe you still using old LID/UID license.
 
hi @tsimtung it seems you are running really old DirectAdmin version, to upgrade please use command:

Code:
/usr/local/directadmin/scripts/getDA.sh current
 
HI,
I have another older CentOS6, it had this problem now.
But after I run

/usr/local/directadmin/scripts/getDA.sh current

[root@nwt151 init.d]# service directadmin restart
directadmin: unrecognized service
[root@nwt151 init.d]#

[root@nwt151 init.d]# da update
directadmin rhel6 v1.643 3eb92b2bee482dadfcfec4ee9916bf06283e4134 rhel6_amd64: already latest
[root@nwt151 init.d]#


Why directadmin is disappeared?
How can I update it?
 
I have followed another post to run:
tar xzf "/root/directadmin_3eb92b2bee482dadfcfec4ee9916bf06283e4134_rhel6_amd64.tar.gz" -C /usr/local/directadmin # extracts downloaded package to /usr/local/directadmin
/usr/local/directadmin/directadmin permissions || true # runs post-upgrade permission fix step
/usr/local/directadmin/scripts/update.sh # runs other post upgrade fixes
service directadmin restart


But it is still not ok:

[root@nwt151 init.d]# service directadmin restart
directadmin: unrecognized service
[root@nwt151 init.d]#
 
HI, I fixed it.
I found directadmin is missing in /etc/init.d/
so I copy one from another server to it, it is ok now.
 
Back
Top