Strange performance

Discussion in 'General' started by JuSt, Mar 3, 2017.

  1. JuSt

    JuSt New Member

    Hello to everyone,
    I thinks its a bug, we are currently working with these installation:
    https://www.howtoforge.com/how-to-r...and-secondary-with-ispconfig-3-debian-squeeze

    The thing is...when we connect both servers, everything works perfect, but in the moment i modify the "Server config" option of ns1 or ns2, everything starts failing...I let you know or scenario:

    SERVER 1:
    hostname: ns1.domain.com
    in /etc/hosts:
    x.x.x.x ns1.domain.com ns1
    x.x.x.x ns2.domain.com ns2

    SERVER 2:
    hostname: ns2.domain.com
    in /etc/hosts:
    x.x.x.x ns2.domain.com ns2
    x.x.x.x ns1.domain.com ns1

    When i edit the server config of ns1, the cron task starts running and what does in server2 is modify the entry as followed:

    x.x.x.x ns2.domain.com ns2
    x.x.x.x ns2.domain.com ns1

    If i check the ispconfig.log of server2, it prints these error constantly:

    Fri Mar 3 17:25:07 CET 2017 PHP Warning: mysqli_connect(): (HY000/2005): Unknown MySQL server host 'ns1.domain.com' (110) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 79

    I think the error is in "server config" script...it replaces all entries, but its not correct and its a bug...

    Kind regards.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please make a report in the bug tracker so we can check that.
     
  3. JuSt

    JuSt New Member

    till likes this.

Share This Page