ababneh
10-19-2011, 02:31 PM
Hi,
Just finished installing DA on Centos 5.3 64 bit OS. it seems all went well and it gave me my credentials at the end of install to access DA and the link (http : // my ip:2222).
But when I go there, the page won't open:
Oops! Google Chrome could not connect to ip:2222
Firefox can't establish a connection to the server at ip:2222
what's went wrong?
Is it possible I loaded the wrong binaries?
coz during install it said DA was going to install on Enterprise 5.7
ES 5.0 64 is what is listed in my client area, and my previous server had centos 64 so I didn't think I had to change OS in client area.
I tried
/etc/init.d/directadmin start
and got the OK
I tried
/usr/local/directadmin/data/admin/services.status
and got permission denied
If I point to server ip without the (:2222), I get: Apache is functioning normally
First, make sure your firewall isn't blocking port 2222 (iptables --list). Then, look at the log files in /var/log/directadmin do they show it dying for some reason. Also you may want to do a 'ps -eaf | grep directadmin' to see if you see the running processes.
If it isn't running, then the log files are your best bet as to helping debug the issue.
ababneh
10-19-2011, 04:06 PM
Hi,
It is not a firewall problem since I had DA previously working fine on the same computer and network. But running
iptables --list gives:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
---------------------------------------------------------------------------
Here are my logs
less /var/log/directadmin/error.log
[root@server ~]# less /var/log/directadmin/error.log
2011:10:19-23:01:01: ioctl can't find the server's ip address for ES 5.0 64 : No such device
2011:10:19-23:01:01: The ip of this machine () does not match the ip in the license file.<br>
Check the value of your ethernet_dev=ES 5.0 64 setting in your /usr/local/directadmin/conf/directadmin.conf file and the output of /sbin/ifconfig<br>
2011:10:19-23:01:11: ioctl can't find the server's ip address for ES 5.0 64 : No such device
2011:10:19-23:01:11: The ip of this machine () does not match the ip in the license file.<br>
Check the value of your ethernet_dev=ES 5.0 64 setting in your /usr/local/directadmin/conf/directadmin.conf file and the output of /sbin/ifconfig<br>
2011:10:19-23:02:01: ioctl can't find the server's ip address for ES 5.0 64 : No such device
2011:10:19-23:02:01: The ip of this machine () does not match the ip in the license file.<br>
Check the value of your ethernet_dev=ES 5.0 64 setting in your /usr/local/directadmin/conf/directadmin.conf file and the output of /sbin/ifconfig<br>
2011:10:19-23:02:11: ioctl can't find the server's ip address for ES 5.0 64 : No such device
2011:10:19-23:02:11: The ip of this machine () does not match the ip in the license file.<br>
Check the value of your ethernet_dev=ES 5.0 64 setting in your /usr/local/directadmin/conf/directadmin.conf file and the output of /sbin/ifconfig<br>
2011:10:19-23:03:01: ioctl can't find the server's ip address for ES 5.0 64 : No such device
2011:10:19-23:03:01: The ip of this machine () does not match the ip in the license file.<br>
Check the value of your ethernet_dev=ES 5.0 64 setting in your /usr/local/directadmin/conf/directadmin.conf file and the output of /sbin/ifconfig<br>
2011:10:19-23:03:12: ioctl can't find the server's ip address for ES 5.0 64 : No such device
2011:10:19-23:03:12: The ip of this machine () does not match the ip in the license file.<br>
Check the value of your ethernet_dev=ES 5.0 64 setting in your /usr/local/directadmin/conf/directadmin.conf file and the output of /sbin/ifconfig<br>
2011:10:19-23:04:02: ioctl can't find the server's ip address for ES 5.0 64 : No such device
2011:10:19-23:04:02: The ip of this machine () does not match the ip in the license file.<br>
Check the value of your ethernet_dev=ES 5.0 64 setting in your /usr/local/directadmin/conf/directadmin.conf file and the output of /sbin/ifconfig<br>
2011:10:19-23:04:12: ioctl can't find the server's ip address for ES 5.0 64 : No such device
2011:10:19-23:04:12: The ip of this machine () does not match the ip in the license file.<br>
Check the value of your ethernet_dev=ES 5.0 64 setting in your /usr/local/directadmin/conf/directadmin.conf file and the output of /sbin/ifconfig<br>
----------------------------------------------------------------------------
less /var/log/directadmin/errortaskq.log
[root@server ~]# less /var/log/directadmin/errortaskq.log
2011:10:19-22:42:33: service proftpd wasn't running, starting it
2011:10:19-22:43:02: service directadmin wasn't running, starting it
2011:10:19-22:43:12: service directadmin didn't start, re-starting it
2011:10:19-22:44:01: service directadmin wasn't running, starting it
2011:10:19-22:44:11: service directadmin didn't start, re-starting it
2011:10:19-22:45:01: service directadmin wasn't running, starting it
2011:10:19-22:45:11: service directadmin didn't start, re-starting it
2011:10:19-22:46:01: service directadmin wasn't running, starting it
2011:10:19-22:46:11: service directadmin didn't start, re-starting it
2011:10:19-22:47:01: service directadmin wasn't running, starting it
2011:10:19-22:47:11: service directadmin didn't start, re-starting it
2011:10:19-22:48:01: service directadmin wasn't running, starting it
2011:10:19-22:48:12: service directadmin didn't start, re-starting it
2011:10:19-22:49:01: service directadmin wasn't running, starting it
2011:10:19-22:49:11: service directadmin didn't start, re-starting it
2011:10:19-22:50:01: service directadmin wasn't running, starting it
2011:10:19-22:50:11: service directadmin didn't start, re-starting it
2011:10:19-22:51:01: service directadmin wasn't running, starting it
2011:10:19-22:51:11: service directadmin didn't start, re-starting it
2011:10:19-22:52:01: service directadmin wasn't running, starting it
2011:10:19-22:52:11: service directadmin didn't start, re-starting it
2011:10:19-22:53:01: service directadmin wasn't running, starting it
2011:10:19-22:53:12: service directadmin didn't start, re-starting it
2011:10:19-22:54:01: service directadmin wasn't running, starting it
2011:10:19-22:54:11: service directadmin didn't start, re-starting it
2011:10:19-22:55:01: service directadmin wasn't running, starting it
2011:10:19-22:55:11: service directadmin didn't start, re-starting it
2011:10:19-22:56:01: service directadmin wasn't running, starting it
2011:10:19-22:56:11: service directadmin didn't start, re-starting it
2011:10:19-22:57:01: service directadmin wasn't running, starting it
2011:10:19-22:57:11: service directadmin didn't start, re-starting it
2011:10:19-22:58:01: service directadmin wasn't running, starting it
2011:10:19-22:58:11: service directadmin didn't start, re-starting it
2011:10:19-22:59:01: service directadmin wasn't running, starting it
2011:10:19-22:59:11: service directadmin didn't start, re-starting it
2011:10:19-23:00:01: service directadmin wasn't running, starting it
2011:10:19-23:00:11: service directadmin didn't start, re-starting it
2011:10:19-23:01:01: service directadmin wasn't running, starting it
2011:10:19-23:01:11: service directadmin didn't start, re-starting it
2011:10:19-23:02:01: service directadmin wasn't running, starting it
----------------------------------------------------------------------------
less /var/log/directadmin/system.log
[root@server ~]# less /var/log/directadmin/system.log
2011:10:19-22:41:26: Admin admin is being created by root.
2011:10:19-22:42:01: Converting to dovecot email format
2011:10:19-22:42:01: Converting to dovecot: start
2011:10:19-22:42:01: Converting to dovecot: stop
2011:10:19-22:42:01: ips.conf rewritten
2011:10:19-22:42:01: directadmin restarted
2011:10:19-22:42:03: httpd restarted
2011:10:19-22:42:03: directadmin started
2011:10:19-22:42:13: directadmin restarted
2011:10:19-22:42:23: named started
2011:10:19-22:42:34: proftpd started
2011:10:19-22:43:02: httpd restarted
2011:10:19-22:43:02: directadmin started
2011:10:19-22:43:12: directadmin restarted
2011:10:19-22:44:01: directadmin started
2011:10:19-22:44:11: directadmin restarted
2011:10:19-22:45:01: directadmin started
2011:10:19-22:45:11: directadmin restarted
2011:10:19-22:46:01: directadmin started
2011:10:19-22:46:11: directadmin restarted
2011:10:19-22:47:01: directadmin started
2011:10:19-22:47:11: directadmin restarted
2011:10:19-22:48:02: directadmin started
2011:10:19-22:48:12: directadmin restarted
2011:10:19-22:49:01: directadmin started
2011:10:19-22:49:11: directadmin restarted
2011:10:19-22:50:01: directadmin started
2011:10:19-22:50:11: directadmin restarted
2011:10:19-22:51:01: directadmin started
2011:10:19-22:51:11: directadmin restarted
2011:10:19-22:52:01: directadmin started
2011:10:19-22:52:11: directadmin restarted
2011:10:19-22:53:02: directadmin started
2011:10:19-22:53:12: directadmin restarted
2011:10:19-22:54:01: directadmin started
2011:10:19-22:54:11: directadmin restarted
2011:10:19-22:55:01: directadmin started
2011:10:19-22:55:11: directadmin restarted
2011:10:19-22:56:01: directadmin started
2011:10:19-22:56:11: directadmin restarted
---------------------------------------------------------------------------
and finally to check running processes:
ps -eaf | grep directadmin
Here is what I got:
[root@server ~]# ps -eaf | grep directadmin
root 5309 1 0 Oct19 ? 00:00:00 /usr/local/directadmin/da-popb4s mtp
root 6125 3497 0 00:41 pts/0 00:00:00 grep directadmin
so what do you guys think?
2011:10:19-23:04:12: ioctl can't find the server's ip address for ES 5.0 64 : No such device
2011:10:19-23:04:12: The ip of this machine () does not match the ip in the license file.<br>
Check the value of your ethernet_dev=ES 5.0 64 setting in your /usr/local/directadmin/conf/directadmin.conf file and the output of /sbin/ifconfig<br>
----------------------------------------------------------------------------
That is your problem, it can't detect the IP address which means that it won't match your license. Look at /usr/local/directadmin/data/conf/directadmin.conf and make sure your ethernet device is set correctly.
It should be this line:
ethernet_dev=eth0
ababneh
10-19-2011, 06:56 PM
Thanks toml. it worked after changing the ethernet device to eth0. :D
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.