View Single Post
  #7  
Old 12th April 2011, 15:43
abu.hurayra abu.hurayra is offline
Junior Member
 
Join Date: Apr 2011
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Please check the /etc/hosts files on all servers incl. the master server to ensure that they all contain the host lines for all servers that belong to this cluster.
I checked on all serveurs and they all have the same /etc/hosts that I copied via scp after install :
Code:
root@mail:~# cat /etc/hosts
127.0.0.1       localhost
10.0.10.81     mail.myisp.be    mail
10.0.10.82     db.myisp.be      db
10.0.10.83     ns1.myisp.be     ns1
10.0.10.84     web.myisp.be     web
10.0.10.85     ns2.myisp.be     ns2
10.0.10.86     ns3.myisp.be     ns3
10.0.10.88     backup.myisp.be  backup

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Quote:
Originally Posted by till View Post
and post the output of:

ls -la /var/run/mysqld/

from the dns server.
Here is for ns1 :
Code:
root@ns1:/tmp/ispconfig3_install/install# ls -la /var/run/mysqld/
total 12
drwxr-xr-x 2 mysql root  4096 Apr 12 11:33 .
drwxr-xr-x 6 root  root  4096 Apr 12 14:31 ..
-rw-rw---- 1 mysql mysql    6 Apr 12 11:33 mysqld.pid
srwxrwxrwx 1 mysql mysql    0 Apr 12 11:33 mysqld.sock
Ad here is ns2 :
Code:
root@ns2:/etc/bind# ls -la /var/run/mysqld
total 12
drwxr-xr-x 2 mysql root  4096 Apr  7 17:57 .
drwxr-xr-x 6 root  root  4096 Apr 12 14:31 ..
-rw-rw---- 1 mysql mysql    6 Apr  7 17:57 mysqld.pid
srwxrwxrwx 1 mysql mysql    0 Apr  7 17:57 mysqld.sock
I don't think it is usefull but here is one record from /var/log/syslog (the same repeats itself every minute)
Code:
Apr 12 14:36:01 ns1 /USR/SBIN/CRON[26506]: (root) CMD (/usr/local/ispconfig/serv
er/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
It is how I ended up giving the content of /var/log/ispconfig/cron.log in my first post

I checked ifconfig eth0 and resolv.conf on ns1 and ns2, they are the same (with their own ip adress)

Inchaallah it helps
Reply With Quote