Can't join to multiserver

Discussion in 'Installation/Configuration' started by Denis Yurov, Oct 19, 2017.

  1. Denis Yurov

    Denis Yurov New Member

    I have installed two NS servers according "How To Run Your Own DNS Servers (Primary And Secondary) With ISPConfig 3 (Debian Squeeze)" and they are working fine then I decide to connect dedicated mail server to master server and I follow the instruction from manual which I bought (chapter 3.2.1.3 Installing the MAil server). NS seervers are on Ubuntu 14.04 LTS+ISPConfig 3.1.6, Mails server is on Ubuntu 16.04LTS+ISPConfig 3.1.7. During installation ISPConfig on mail server I stuck with this "Unable to connect to mysql server Connection timed out" but on Master server in log I can't even see that it was trying to connect, or maybe I am looking not right place but ns2 (slave) is connected to ns1(master). Any advice please.
     
  2. Tuumke

    Tuumke Member

    Did you allow the new ip adress in the firewall?
    Did you modify the /etc/hosts file?
    I also think that you need eacht ISP config on the same version. So upgrade the 3.1.6 install to 3.1.7.
    Did you do the GRANT on mysql for the new server so it can connect to the main ispconfig database? Dont forget to do it for hostname and ip based.
     
  3. Denis Yurov

    Denis Yurov New Member

    Yep I did allow the ip address, modify /etc/hosts, GRANT on mysql for new server hostname and IP. I will upgrade to 3.1.7 and try again, will revert with result. Thanks .
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Test the connection before you install ispconfig. On the new slave run this command:

    mysql -h master.server.tld -u root -p

    replace master.server-tld with the hostname of the master and enter the root password when requested. When this connect fails, then the iSPConfig installer must fail as well and you have to fix the mysql connect first.
     
  5. Denis Yurov

    Denis Yurov New Member

    Hi Till. I tried as you advice me and got this "ERROR 2003 (HY000): Can't connect to MySQL server on 'ns1.speedline.ge' (110 "Connection timed out ")", same command from ns2 connects to ns1 immediately. I am going to check what's wrong with network config on mail server. BTW so it's not necessary to upgrade ISPConfig on master or better to do it?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    You have to use the same ISPConfig versions on all nodes in a multiserver setup. So either you have to update the master or install an old version on the slaves. As updates are recommended anyway, I would update the master, especially as 3.1.7p1 is just a maintenance and bugfix release of 3.1.6.
     
  7. Tuumke

    Tuumke Member

    Thats what i said :O
     
  8. Denis Yurov

    Denis Yurov New Member

    Thanks guys. Will do so.
     

Share This Page