ip change multiserver

Discussion in 'Installation/Configuration' started by Steffan, Feb 15, 2017.

  1. Steffan

    Steffan Member

    Hello,

    I messed things up.
    I had to change my mailservername and ip from a multi server setup.
    but now
    /usr/local/ispconfig/server/server.sh
    can connect to the mailserver but no updates is being populated.
    Any idees what i should do

    If i change the settings back it is working.
    But a mailbom had set me on a spamlist so cant use the old ip for a while
     
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    You can enable debugging and run server.sh manually to see what's going on.

    If you have a spare ip address you can put on your mail server, just configure things back to where they run again, add the 2nd ip address to the mail server, then set smtp_bind_address to the new address until the old one is usable again.
     
  3. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    Did you adjust the ip for the ispconfig-user from the mail-server in mysql on the master?
     
  4. Steffan

    Steffan Member

    The problem was that the user was
    user@ip
    i copyed the user to user@newip and left the old one in place
    But the table rights ware not taking over to the new user
    So you cant easely change the ip of a server (future request?)
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Just login to phpmyadmin on the master, go to the user editor, there you change the IP address from old IP to new IP and press save. I used that many tmes and it always worked for me.
     
  6. Steffan

    Steffan Member

    yes that was my first idee after i noticed that it wasnt working.
    but i want to let the old user/ip in place to change it easly back in the future so that i had 2 ips to switch from when it happens again.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you reload mysql privileges after that change, not sure if phpmyadmin executes that automatically.
     
  8. Steffan

    Steffan Member

    Yes.
    The user was able to login but not to update the master sql table.
    So what i did was exported the user
    Imported the user back with the new ip so i had all tables specific rights.
     

Share This Page