Bobcares

DirectAdmin License has Expired | Causes & Fixes

by | Jul 10, 2024

What are the steps to take when the DirectAdmin License has Expired? We’ll discuss various solutions in this article. As part of our DirectAdmin Support Services, we assist our customers with several DirectAdmin queries.

Overview
  1. DirectAdmin License has Expired: Why?
  2. Causes
  3. Fixes

DirectAdmin License has Expired: Why?

The majority of DirectAdmin users have encountered the “License has expired” problem. Usually, when we try to log into the DirectAdmin control panel, this error appears. We are unable to access the DirectAdmin control panel as a result of this problem. There are several elements at play in this problem.

DirectAdmin License has Expired

This error does not show that the email or website are unavailable. The email and visitors’ ability to access webpages are unaffected, and the server is still functioning normally.

Causes

i. Invalid Server Time

ii. IP Address Mismatch

iii. Port 2222 Blocked

iv. Expired License

Fixes

Fix for Invalid Server Time

1. Log in as ‘root’ and find the region with ls /usr/share/zoneinfo/.

2. Select the timezone with ln -sf /usr/share/zoneinfo// /etc/localtime.

3. Use date MMDDhhmmYYYY to set the time (e.g., date 111107082016).

4. Update DirectAdmin license with /usr/local/directadmin/scripts/getLicense.sh .

5. Restart DirectAdmin: /etc/init.d/directadmin restart.

Fix for IP Address Mismatch

DirectAdmin license is tied to one server. If server IP mismatches with licensing server:

1. DirectAdmin suspends itself until resolved.

2. Contact DirectAdmin with new and old IPs and license ID to regain access.

3. Run /usr/local/directadmin/scripts/getLicense.sh and restart DirectAdmin with /etc/init.d/directadmin restart.

4. Update server IP using /usr/local/directadmin/scripts/ipswap.sh .

Fix for Port 2222 Blocked

DirectAdmin uses port 2222 to verify licenses. If blocked:

1. Edit /etc/csf/csf.conf to add 2222 to TCP_IN and TCP_OUT.

2. Restart CSF with csf -r.

3. Update DirectAdmin license using /usr/local/directadmin/scripts/getLicense.sh .

4. Restart DirectAdmin: /etc/init.d/directadmin restart.

Fix for Expired License

1. Confirm previous checks before concluding.

2. Contact license provider to ensure payment and validity.

3. Renew if necessary.

4. Run /usr/local/directadmin/scripts/getLicense.sh and restart DirectAdmin: /etc/init.d/directadmin restart.

[Searching solution for a different question? We’re happy to help.]

Conclusion

To sum up, our Tech team explains about various reasons that may lead to the ” DirectAdmin License has Expired” issue. This article also provides the fixes for each of the causes.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.