View Full Version : Can't reload/stop/restart directadmin?
trebbor
10-13-2005, 06:10 AM
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
10-13-2005, 07:23 AM
Is there information in the error.log of directadmin ? on my system its located in /var/log/directadmin/error.log
trebbor
10-13-2005, 07:50 AM
Originally posted by jerry2005
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.
jerry2005
10-13-2005, 08:36 AM
If they adjust it will work again :D also look at this url:
http://help.directadmin.com/item.php?id=57
For future changes .........
trebbor
10-13-2005, 09:07 AM
Originally posted by jerry2005
If they adjust it will work again :D also look at this url:
http://help.directadmin.com/item.php?id=57
For future changes .........
I have already changed it with:
# ./ipswap oldip newip
But now I need to wait untill directadmin ischanging my license! :)
trebbor
10-13-2005, 11:15 AM
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
jlasman
10-13-2005, 11:16 AM
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
trebbor
10-13-2005, 11:24 AM
Originally posted by jlasman
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 :)
trebbor
10-13-2005, 11:43 AM
Works FINE now!!
Thnx DirectAdmin!
EversICT
03-22-2008, 07:01 AM
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??
pkilam
03-22-2008, 07:13 AM
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.
EversICT
03-22-2008, 07:21 AM
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:
pkilam
03-22-2008, 07:23 AM
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:)
EversICT
03-22-2008, 07:58 AM
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!
pkilam
03-22-2008, 08:27 AM
can you ping 66.51.122.131?
If yes, is your firewall or iptable blocking outgoing port 443 (destination port 443) ?
EversICT
03-22-2008, 09:05 AM
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
pkilam
03-22-2008, 09:49 AM
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?
EversICT
03-22-2008, 12:52 PM
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.
pkilam
03-23-2008, 05:19 AM
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.
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.