DirectAdmin doesnt work anymore

PRB

Verified User
Joined
Oct 18, 2008
Messages
155
On one of our VPSes DirectAdmin suddenly doesn't work anymore.

Code:
[root@vps ~]# service directadmin restart
Stopping DirectAdmin:                                      [FAILED]
Starting DirectAdmin:                                      [  OK  ]
[root@vps ~]# cd /usr/local/directadmin
[root@vps directadmin]# ./directadmin b200
Debug set to level 200
Unable to chdir to 
MimeTypes::readFile(): Can't get a lock on 
Unable to read the license file
reason: Unable to read the license file.  Make sure it's path is set correctly in the DirectAdmin configuration file.<br>

Does anyone know how to get DirectAdmin running again?
 
Yes, sure I do! You should get a valid license for your copy of Directadmin.

reason: Unable to read the license file. Make sure it's path is set correctly in the DirectAdmin configuration file
 
for get the license try

Code:
/usr/local/directadmin/scripts/getLicense.sh

compile as this help

Code:
Usage:
./getLicense.sh <cid> <lid> [<ip>]

definitons:
  cid: Client ID
  lid: License ID
  ip:  your server IP (only needed when wrong ip is used to get license)
example: ./getLicense.sh 999 9876

Also check permission and content of:

Code:
/usr/local/directadmin/conf/license.key

That should have those permission:

Code:
-rw------- 1 diradmin diradmin 1559 19 dic 00:29 license.key

Regards
 
Back
Top