Golfreeze.packetlove.com: Life style of Golfreeze Canon400D Family kammtan.com Jazz Freebsd Unix Linux System Admin guitar Music

All about unix linux freebsd and FAQ for Packetlove.com Web hosting , Mail hosting , VoIP + IP PBX server => all application on unix knowledges by golfreeze => Topic started by: golfreeze on สิงหาคม 08, 2012, 04:02:56 PM

Title: Updating your DirectAdmin License manually
Post by: golfreeze on สิงหาคม 08, 2012, 04:02:56 PM
http://help.directadmin.com/item.php?id=30

If you need to update your DirectAdmin license manually, you can do so by running the following commands:

cd /usr/local/directadmin/scripts
./getLicense.sh 123 1234
service directadmin restart
Where 123 and 1234 are your Client ID and License ID, respectively. If there are errrors extracting the update.tar.gz file, then run:
head -n 1 /usr/local/directadmin/conf/license.key

to search for an error. If there is an readable error inside the file, double check the IP you are using matches the IP in the license on our system.  Also check that it's active in our clients section.  Failing that, you'll need to contact sales@directadmin.com to get your license activated or updated.

If you have multiple IPs on your device and wget is binding to the incorrect one, you can specify the IP to bind to by adding it as the last argument:

cd /usr/local/directadmin/scripts
./getLicense.sh 123 1234 1.2.3.4
service directadmin restart

If you get errors during the restart, eg:

Stopping DirectAdmin: [ FAILED ]
Starting DirectAdmin: [ OK ]
your PID file may be out of sync. In the case, restart directadmin forcefully:

killall -9 directadmin
/etc/init.d/directadmin start
Retry the restart command, to ensure that both the "Stopping" and "Starting" sections are "[ OK ]".

If you cannot connect to port 2222 at all, see this guide:
http://help.directadmin.com/item.php?id=75