Can't reload/stop/restart directadmin?

trebbor

Verified User
Joined
Jun 21, 2005
Messages
33
I can't restart/reload or stop Directadmin. Just start it.. but I need to reload some settings, like the ip adresses.

[root@server scripts]# service directadmin restart
Stopping DirectAdmin: [FAILED]
Starting DirectAdmin: [ OK ]
[root@server scripts]# service directadmin stop
Stopping DirectAdmin: [FAILED]
[root@server scripts]# service directadmin start
Starting DirectAdmin: [ OK ]
[root@server scripts]# service directadmin reload
Reloading DirectAdmin config file: [FAILED]

Help?!
 
jerry2005 said:
Is there information in the error.log of directadmin ? on my system its located in /var/log/directadmin/error.log

2005:10:13-15:45:12: The ip of this machine (85.******) does not match the ip in the license file.<br>

2005:10:13-15:45:12: The ip of this machine (85.******) does not match the ip in the license file.<br>

2005:10:13-15:45:12: The ip of this machine (85.******) does not match the ip in the license file.<br>

2005:10:13-15:45:12: The ip of this machine (85.******) does not match the ip in the license file.<br>

2005:10:13-15:45:12: The ip of this machine (85.******) does not match the ip in the license file.<br>

2005:10:13-15:45:12: The ip of this machine (85.******) does not match the ip in the license file.<br>

and 100000000 lines with that sinds 12 hours ago. (server moved to an other datacenter)

I have new ip's on the servers, and have ask in an email if they can change my license ip. Hope it wille be fixed soon.
 
The IP is changed now by DirectAdmin staff... but omfg..


It says:
[root@server scripts]# service directadmin restart
Stopping DirectAdmin: [FAILED]
Starting DirectAdmin: [ OK ]

And when I start Directadmin (manualy)

[root@server directadmin]# ./directadmin
The ip of this machine (85.12.**.aa) does not match the ip in the license file.<br>

:S:S:S

Help!

but ETH0 = 85.12.**.bb
and EHT0:0 = 85.12.**.aa

:S

And I have # ./ipswaped to: 85.12.**.bb
 
You have to reinstall the license. NOT DA; only the license. Do NOT reinstall DA.

Unfortunately I don't have my notes today; I'm not at the office.

Unless someone else knows and responds, or you can find the answer here, you'll probably have to contact DA for that information.

Jeff
 
jlasman said:
You have to reinstall the license. NOT DA; only the license. Do NOT reinstall DA.

Unfortunately I don't have my notes today; I'm not at the office.

Unless someone else knows and responds, or you can find the answer here, you'll probably have to contact DA for that information.

Jeff

The problem is dat the system is using the last added ip for this system.

So I need to change my license IP to the last one I added :)
 
i've got the same problem here... changed the serverip and restarted DA and now is DA offline (same errors in ssh, other things are working fine).

how and where can i change the license ip adres? where is it saved, what do i need to change??
 
1. You have to email directadmin support and tell them your new ip address.

2. you need to run the script /usr/local/directadmin/scripts/getLicense.sh so that it will download the updated license file from directadmin.

3. you should be able to restart directadmin then.
 
1. You have to email directadmin support and tell them your new ip address.

2. you need to run the script /usr/local/directadmin/scripts/getLicense.sh so that it will download the updated license file from directadmin.

3. you should be able to restart directadmin then.

are the available in the weekend ?? :rolleyes:
 
not sure if directadmin support available on weekend. But they are always able to change license for me within 1 day. (but I usually email them on weekdays, so i am not sure).

You may try and tell me the result:)
 
I get the following error:

[root@server7 ~]# /usr/local/directadmin/scripts/getLicense.sh **** *****
--14:40:20-- https://www.directadmin.com/cgi-bin/licenseupdate?lid=*****&uid=*****
Resolving www.directadmin.com... 66.51.122.131
Connecting to www.directadmin.com|66.51.122.131|:443... failed: Connection timed out.
Retrying.

just called with my company from the servers, ip has been changed yesterday so we didnt need to mail directadmin ;) But i get some errors when i try to update it... so i still have a problem!
 
Last edited:
can you ping 66.51.122.131?

If yes, is your firewall or iptable blocking outgoing port 443 (destination port 443) ?
 
I get the following error:

[root@server7 ~]# /usr/local/directadmin/scripts/getLicense.sh **** *****
--14:40:20-- https://www.directadmin.com/cgi-bin/licenseupdate?lid=*****&uid=*****
Resolving www.directadmin.com... 66.51.122.131
Connecting to www.directadmin.com|66.51.122.131|:443... failed: Connection timed out.
Retrying.

just called with my company from the servers, ip has been changed yesterday so we didnt need to mail directadmin ;) But i get some errors when i try to update it... so i still have a problem!


my firewall wasnt configured good so it couldnt connect, this is fixed now and i now have download the new license, but still cant restart/start/stop directadmin
 
I don't know what is the problem then.
Before you change the ip address, are you able to start directadmin?
is your licensed ip address on eth0?
Are you behind any nat firewall?
 
I don't know what is the problem then.
Before you change the ip address, are you able to start directadmin?
is your licensed ip address on eth0?
Are you behind any nat firewall?

its a new server, i changed the server ip directly after i get the server, it was configured with a working directadmin, the company says that the have changed the directadmin license ip to the good one (and ive downloaded a new one and that worked) but i still cant restart/stop/reload directadmin.

i only downloaded the license and didnt do anything else... do i need to edit it first or make more settings? or what? domains are working fine with new server ip.
 
Did you moved the server from one network to another network physically?
If you can download the new license successfully but cannot start it.

you may first check whether the license ip is on the correct interface.

1. type "ifconfig" and check which interface the license ip is on.

2. in the /usr/local/direcatmn/conf/directadmin.conf file, there is a line called ethernet_dev, make sure the interface specified there is same as the licensed ip interface.

You had better have the output of ifconfig, content of directadmin.conf, and the output when you restart directadmin so that I or others can see if there are any problem.

If you can download the license but cannot start directadmin, either you are using NAT to map the license ip address to a local ip address, or you have the wrong interface specified in the directadmin.conf file.

As far as the information i have got, this is my best guess.
 
Back
Top