How To: Update DirectAdmin License Manually

  Domain Name

Ticket Example : OCE-960-18068

First, check the UID (user ID) and LID (Logon ID) by typing


cat /usr/local/directadmin/scripts/setup.txt

You may find like the below details


[root@ns64 ~]# cat /usr/local/directadmin/scripts/setup.txt
hostname=ns64.small-dns.com
email=admin@ns64.small-dns.com
mysql=******
mysqluser=da_admin
adminname=admin
adminpass=******
ns1=ns1.small-dns.com
ns2=ns2.small-dns.com
ip=210.5.47.196
netmask=255.255.255.192
uid=4115
lid=81035
services=services_es50_64.tar.gz
[root@ns64 ~]#

Next, update the license manually by executing


cd /usr/local/directadmin/scripts

Run the following command


./getLicense.sh

For example


./getLicense.sh 123 1234

lastly, run


service directadmin restart