KNOWNHOST WIKI

User Tools

Site Tools


control-panels:directadmin:directadmin-license-has-expired

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
control-panels:directadmin:directadmin-license-has-expired [2020/06/01 09:16]
Karson N.
control-panels:directadmin:directadmin-license-has-expired [2020/06/01 09:17]
Karson N.
Line 27: Line 27:
 2) You may need to specify the primary IP with the command to ensure that the correct IP is being bound by wget to the license key:  2) You may need to specify the primary IP with the command to ensure that the correct IP is being bound by wget to the license key: 
   uid=$(grep uid /usr/local/directadmin/scripts/setup.txt | awk -F'=' {'print $2'}); lid=$(grep lid /usr/local/directadmin/scripts/setup.txt | awk -F'=' {'print $2'}); ip=`hostname -i`;  sh /usr/local/directadmin/scripts/getLicense.sh $uid $lid $ip   uid=$(grep uid /usr/local/directadmin/scripts/setup.txt | awk -F'=' {'print $2'}); lid=$(grep lid /usr/local/directadmin/scripts/setup.txt | awk -F'=' {'print $2'}); ip=`hostname -i`;  sh /usr/local/directadmin/scripts/getLicense.sh $uid $lid $ip
-3) If you cannot connect to https://directadmin.com (port 443), you can try using port 80: +3) If you cannot connect to https://directadmin.com (port 443), you can try using port 80: 
 +<code>
   echo 1 > /root/.insecure_download   echo 1 > /root/.insecure_download
 +</code>
  
 If you find that this error is reoccurring, you could make a separate cron to automatically update the license for you. If you find that this error is reoccurring, you could make a separate cron to automatically update the license for you.
control-panels/directadmin/directadmin-license-has-expired.txt · Last modified: 2020/06/01 09:17 by Karson N.