DA won't load after fresh install

ababneh

Verified User
Joined
Sep 13, 2010
Messages
11
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
Code:
/etc/init.d/directadmin start
and got the OK

I tried
Code:
/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
 
Last edited:
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.
 
Hi,
It is not a firewall problem since I had DA previously working fine on the same computer and network. But running
Code:
iptables --list
gives:
Code:
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


Code:
less /var/log/directadmin/error.log

Code:
[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>
----------------------------------------------------------------------------

Code:
less /var/log/directadmin/errortaskq.log

Code:
[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
----------------------------------------------------------------------------
Code:
less /var/log/directadmin/system.log

Code:
[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:
Code:
ps -eaf | grep directadmin
Here is what I got:
Code:
[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?
 
Code:
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:
Code:
ethernet_dev=eth0
 
Hello,

I have the same issue. I try to change the ethernet device to eth0 but still not working. All error logs are the same as above. :D

/sbin/ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet IP netmask 255.255.255.255 broadcast 0.0.0.0
inet6 IP prefixlen 64 scopeid 0x0<global>
inet6 IP prefixlen 64 scopeid 0x20<link>
ether 96:00:00:66:21:5b txqueuelen 1000 (Ethernet)
RX packets 4185 bytes 326491 (318.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4944 bytes 407465 (397.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 166 bytes 27282 (26.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 166 bytes 27282 (26.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Error show after directadmin update.
 
It's hard to tel what your issue is, you only gave us your ifconfig output. The one thing that looks odd to me is your netmask of 255.255.255.255 that is bacially isolating that interface. My guess is you are on some sort of point-to-point or NAT, and that Directadmin is seeing your external IP and that doesn't match the IP they have on file for your license.
 
Back
Top