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
control-panels:directadmin:directadmin-license-has-expired [2020/06/01 09:17]
Karson N.
control-panels:directadmin:directadmin-license-has-expired [2020/06/01 09:17]
Karson N.
Line 25: Line 25:
 1) DirectAdmin fails to stop and start during the restart command. Use this command to correct:  1) DirectAdmin fails to stop and start during the restart command. Use this command to correct: 
     killall -9 directadmin; /etc/init.d/directadmin start Retry the restart command, to ensure that both the “Stopping” and “Starting” sections are “[ OK ]”.     killall -9 directadmin; /etc/init.d/directadmin start Retry the restart command, to ensure that both the “Stopping” and “Starting” sections are “[ OK ]”.
-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: 
 +<code>
   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
 +</code>
 +
 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> <code>
control-panels/directadmin/directadmin-license-has-expired.txt · Last modified: 2020/06/01 09:17 by Karson N.