Server not licensed - mismatch with licensing validation

sparek

Verified User
Joined
Jun 27, 2019
Messages
495
One of our servers is suddenly showing up as not licensed.

# /usr/local/directadmin/directadmin license-set auto
invalid license key length

# /usr/local/directadmin/directadmin license
F=0
expiry=-62135596800
expiry_string=Mon Jan 1 00:00:00 0001
has_expired=yes
license_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
lid=0
name=
pid=0
pro_pack=0
type=
uid=0
valid=0

# wget -q -O - https://www.directadmin.com/clients/my_license_info.php
error=1
text=license has expired


But using the server's IP address at https://license.directadmin.com shows the license as Valid.
 
Well... I didn't purchase the license directly. It's from my service provider.

But I already know what the service provider is going to say... "https://license.directadmin.com shows that this IP is licensed correctly"

I'll contact them anyway.
 
I had the same issue on one of our servers a while ago, maybe it's a temporary issue.
In spite of the fact that the server and the license were already working several years. This was with an external owned license.

I tried this twice:
Code:
/usr/local/directadmin/scripts/getLicense.sh 'Provided license key should go here'
and then suddenly all worked again.

You can try this, maybe it helps you. Otherwise indeed contact provider. If he's unwilling, you can always try and send in a ticket here since ideed it is listed correctly.
You can double check with this:
Code:
dig +short licensing.directadmin.com
to see if the licensing server is also reachable from your server and returning the correct info.
 
Back
Top