WebHostingPeople Blog

  • Domains
    • Shared Hosting

  • Cloud VPS
  • Servers
    • Client Area Login

How Can We Help?

Reasons and Fixes for DirectAdmin License Expired Error

You are here:

On this tutorial, we are able to verify totally different causes and options for DirectAdmin License Expired Error

DirectAdmin

DirectAdmin is a web-based internet hosting management panel designed to make administration simpler. DirectAdmin is suitable with the continually evolving hosting environments. DirectAdmin is usually referred to as DA for brief. DirectAdmin runs on any system with minimal configurations. DirectAdmin makes use of port 2222 by default.

 

License expired error

Many of the shoppers utilizing DirectAdmin has reported in regards to the error “License has expired”. This error is often proven if you find yourself attempting to login to DirectAdmin management panel. Attributable to this concern, you might be unable to make use of the DirectAdmin management panel. There are lots of components which might be chargeable for this concern.  It is very important keep in mind that this error doesn’t imply that your website or electronic mail are down. The conventional operations of the server haven’t been interrupted and your guests can nonetheless view internet pages and your electronic mail nonetheless works.

 

Causes

1) Invalid time in your server

2) Mismatch in IP handle

3) Port 2222 is blocked

4) License has expired or suspended because of non-payment

 

Invalid time in your server

The commonest reason for this error is invalid time in your server. To set the time in your server, login to your server as ‘root’ and comply with the beneath steps.

1) Enter ls /usr/share/zoneinfo/ and be aware the area the place you reside.

2) Enter ls /usr/share/zoneinfo/<YOUR_REGION> (the place <YOUR_REGION> is your native area) and be aware the time zone which corresponds to your location.

3) Enter ln -sf /usr/share/zoneinfo/<YOUR_REGION>/<YOUR_TIMEZONE> /and many others/localtime to create a symbolic hyperlink from the /and many others/localtime file to the time zone of your selection.

4) Use the date command to set the time and date. The syntax is

`date MMDDhhmmYYYY`

If you’ll want to change the date and time to 11th November 07:08 2016, then enter the beneath command

# date 111107082016

5) Run the command

/usr/native/directadmin/scripts/getLicense.sh <cid> <lic_id>

The place cid is your DirectAdmin consumer ID and lic_id is your license ID.

Then restart the DirectAdmin service.

 

Mismatch in IP handle

The DirectAdmin license copy can solely be put in in a single server at a time. To confirm the license, DirectAdmin makes an attempt to contact the licensing server. If the IP of the server and IP on file with the licensing server mismatches, the DirectAdmin will droop itself till that is corrected. You may be allowed to login to DirectAdmin solely after fixing this concern. Till then entry can be blocked, however this is not going to interrupt the operations of the server.

To regain entry, you have to contact DirectAdmin and notify them of the

1) New IP handle

2) Outdated IP handle

3) License ID

The request can be processed and you’ll obtain a affirmation electronic mail. It’s best to now be capable of get new license file.

/usr/native/directadmin/scripts/getLicense.sh <cid> <lic_id>

The place cid is your DirectAdmin consumer ID and lic_id is your license ID.

After working the above command, restart DirectAdmin:

/and many others/init.d/directadmin restart

Run the ipswap.sh script to exchange the outdated server IP with the brand new server IP.

/usr/native/directadmin/scripts/ipswap.sh <old-IP> <new-IP>

 

Port 2222 is blocked

DirectAdmin contacts the license server periodically for the license verification. DirectAdmin fails to contact the license server if the port is closed or blocked by a firewall. The software program can be suspended till it makes contact with the license server.

In case you are utilizing CSF, login to the server as ‘root’ and open the csf configuration file.

/and many others/csf/csf.conf

Add the port 222 to the traces

# Permit incoming TCP ports

TCP_IN = “2222”

# Permit outgoing TCP ports

TCP_OUT = “2222”

CSF then must be restarted for the change to take impact.

csf -r

Run the command

/usr/native/directadmin/scripts/getLicense.sh <cid> <lic_id>

The place cid is your DirectAdmin consumer ID and lic_id is your license ID.

Restart DirectAdmin service.

/and many others/init.d/directadmin restart

 

License has expired or suspended because of non-payment

Be sure to have checked all of the above earlier than confirming that that is the trigger. Contact your license supplier to confirm that your license is up-to-date and paid. In case your license shouldn’t be up-to-date renew it as wanted. It’s best to now be capable of login the DirectAdmin management panel.

Run the command

/usr/native/directadmin/scripts/getLicense.sh <cid> <lic_id>

The place cid is your DirectAdmin consumer ID and lic_id is your license ID.

Restart DirectAdmin service.

/and many others/init.d/directadmin restart

 

In case you want any additional help please contact our assist division.

 

 

Post Your Comment