Could you tell me if DirectAdmin has been installed on CentOS 7.9 and cannot be renewed after expiration?

calmok

Verified User
Joined
Aug 11, 2015
Messages
65
Could you tell me if DirectAdmin has been installed on CentOS 7.9 and cannot be renewed after expiration?
 
When de OS is EOL so the license is expired, but :
1. Why Centos 7 ? EOL in 2024 so its not smart to start with now.
2. If you don't have the choice (e.g. VPS provider bundled this with DA) try to do an inplace upgrade to Almalinux or Rockylinux 8.x version (search forum howto)
 
Now the authorization has expired. There is no way to extend the authorization time, is there? You can only replace the system and reinstall it to solve this problem, right?
 
Last edited:
Now the authorization has expired.
You're still on Centos 6? Or are you already using Centos 7? If you are on Centos 7 then you don't have to replace the system.
Centos 7 has updates until 2024. DA supports it too.
 
You're still on Centos 6? Or are you already using Centos 7? If you are on Centos 7 then you don't have to replace the system.
Centos 7 has updates until 2024. DA supports it too.

I use CentOS 7.9

How do I update LicenseKey???
 
You have to upgrade to the newest DA version if you don't already done that.

You can try via SSH like this to update if it does not update automatically:
Code:
cd /usr/local/directadmin/scripts
./getLicense.sh '123456'
service directadmin restart
replace 123456 with your license key.

If that don't work, maybe the DA pid is out of sync.

In that case, have a look here, the above instructions are in there too, and lower you can find options to try if this does not work.
 
How do I update LicenseKey???
Just in case you bought you license some other place accidentally. There are lots of fraud sites out there.

Buying from a Reseller?​

You do not own a license unless you have purchased it through our directadmin.com website.

Note that our terms and conditions do not allow license reselling unless you are leasing it from a server provider with a server.

If you do not receive a server with your license payment to the Reseller, then your license violates our terms and conditions.

Only the owner of the license with a valid Clients Login can modify a license.

The Client portal is https://www.directadmin.com/clients/
if you cant login here then you need to contact the Server Provider.
 
You have to upgrade to the newest DA version if you don't already done that.

You can try via SSH like this to update if it does not update automatically:
Code:
cd /usr/local/directadmin/scripts
./getLicense.sh '123456'
service directadmin restart
replace 123456 with your license key.

If that don't work, maybe the DA pid is out of sync.

In that case, have a look here, the above instructions are in there too, and lower you can find options to try if this does not work.

I directadmin 1.63.7 version use
cd /usr/local/directadmin/scripts
./getLicense.sh <cid> <lid>
service directadmin restart
Still prompt “License has expired”
I can't use it
./getLicense.sh ' license key'
return
Usage:
./getLicense.sh auto

or:
./getLicense.sh <cid> <lid> [<ip>]

Definitons:
cid: Client ID
lid: License ID
ip: your server IP (only needed when wrong ip is used to get license)

example: ./getLicense.sh 999 9876

Do not know why?
Please help me
 
Use
Code:
cd /usr/local/directadmin/scripts
./getLicense.sh auto

or
Code:
cd /usr/local/directadmin/scripts
./getLicense.sh <cid> <lid> [<ip>]

where you must fill in :
Definitons:

cid: Client ID
lid: License ID
ip: your server IP (only needed when wrong ip is used to get license)

>> example: ./getLicense.sh 999 9876 12.12.12.12 <<
 
Use
Code:
cd /usr/local/directadmin/scripts
./getLicense.sh auto

or
Code:
cd /usr/local/directadmin/scripts
./getLicense.sh <cid> <lid> [<ip>]

where you must fill in :
Definitons:

cid: Client ID
lid: License ID
ip: your server IP (only needed when wrong ip is used to get license)

>> example: ./getLicense.sh 999 9876 12.12.12.12 <<
Still prompt “License has expired”
 
Hello

We suddenly start experiencing the same on old directadmin setups, where we have a daily cron to update the license. Is it possible something got mixed up in the licensing server/api?

We've debugged this, and noticed that our new license after running getLicense.sh has the start date of the license as expiry date instead of the real expiry date.

Example:

server:/usr/local/directadmin# ./directadmin b2000
Debug mode. Level 2000

expiry(1326384525) + grace(432000) < now(1646227042)
DirectAdmin 1.51.3
Accepting Connections on port 2222

The expiry epoch here translates to jan 12 2012, which is exactly the starting date of the license
1646227552066.png


Is it possible to fix this asap?
 
Can you explain? In your post I see Expiry Jan 18 2038 here. I don't see expire Jan 12 2012.
Hi Richard, thanks for your reply.

My image was from the directadmin license site, that is the actual expiry off the key. However, on the debug output:

expiry(1326384525) + grace(432000) < now(1646227042)

You see expiry has epoch 1326384525, which translates to 12 jan 2012, the start of the license... Resulting in directadmin seeing the license as expired, and the control panel being inaccessible.
 
DirectAdmin 1.51.3
Your build is to old
You need to update.


If you are running any of our last three releases (1.63.4 / 1.63.5 / 1.63.6) then there is nothing you need to do. If you are running an older version, please upgrade your DirectAdmin in the control panel or manually. If you are unsure of your version, you can view it in the "Licensing / Updates" section of the control panel.
 
CentOS Linux release 7.9.2009 (Core) x86_64
It should work then. I would log a ticket with DA.

I assume you have completely updated the system?

with
yum update
and
./build update
./build update_d
./build update_versions
 
Your build is to old
You need to update.


If you are running any of our last three releases (1.63.4 / 1.63.5 / 1.63.6) then there is nothing you need to do. If you are running an older version, please upgrade your DirectAdmin in the control panel or manually. If you are unsure of your version, you can view it in the "Licensing / Updates" section of the control panel.
Hi Brent

Thanks for your reply, I understand your point-of-view, however, as I mentioned in this post:
We are an ISP, and as much as we want to keep everything up to date, there are always customers that refuse to upgrade their VPS.
 
It should work then. I would log a ticket with DA.

I assume you have completely updated the system?

with
yum update
and
./build update
./build update_d
./build update_versions
I directadmin 1.63.7 version
 
Back
Top