Trouble updating ISPConfig from 3.0.5p1 to

Discussion in 'Installation/Configuration' started by fatmike, Mar 16, 2015.

  1. fatmike

    fatmike Member

    I have setup this multiserver system: -> Master Server (web,mail) ->Slave (primary DNS, master MySQL) ->Slave (secondary DNS, master MySQL) ->Slave (web)

    I updated ISPconfig on the Master server( just fine using
    I get "Unable to connect to mysql server" when i try to update every single slave.
    I tried to connect to MySQL server of Master and it was successful.

    The good thing is that any change im doing on ISPConfig Master (creating,deleting databases, websites, dns) affects the Slaves as should.
    But its not ideal to have different versions of ISPConfig installed.

    Any idea why this error coming up?
    Thank you
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The updater uses the root user (as it has to modify the mysql user of the slave and install / update database tables) while the normal slave connect is with the ispcsrv* users. There must be a problem with the root user connection only, please check the root user connection like this on the slave:

    mysql -h -u root -p
    fatmike likes this.
  3. fatmike

    fatmike Member

    You are right:
    ERROR 1045 (28000): Access denied for user 'root'@'' (using password: YES)

    But in Master USER_PRIVILEGES table there are records that grand permission on 'root'@'' and 'root'@'' where is vps01 IP
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Check if the /etc/hosts files on all nodes are correct.
  5. fatmike

    fatmike Member

    The hosts file is correct.
    I restored the backup of information_schema database of Master and now the update continued on slaves as normal.

    Thank you for your help!

    EDIT: In case you have a slave web server with ISPConfig installation don't forget to enter:
    scp -p /usr/local/ispconfig/interface/lib/ root@**SLAVE_IP**:/usr/local/ispconfig/interface/lib/
    in master server after the update procedure is complete.
    Last edited: Mar 16, 2015

Share This Page