Problem migrating to new server...

Discussion in 'Installation/Configuration' started by jkrell, Mar 20, 2011.

  1. jkrell

    jkrell New Member

    Hi guys. I have a small (but hopefully solvable) problem...

    I had ISPConfig2 up and running on an Ubuntu machine that I set up using your howto guide. Due to several reasons, I am switching machines.

    I set up a new server using your Fedora 14 Perfect Server setup. I installed ISPConfig2 on top following the instructions. ISPConfig seemed to be working fine.

    Today, I migrated my data from the old server to the new by going through the following procedures.

    On the old (Ubuntu) server:

    cd /var
    tar -pczf www-2011-3-20.tar.gz www/
    mysqldump -u root -psecret --all-databases > backup.sql
    Then I moved the backup files over to the new server and:

    cd /var
    mv -r www/ www1/
    tar xvfz www-2011-3-20.tar.gz www/
    mysql -u root -psecret < backup.sql
    rm www1/
    I then switched the router forwarding from the old server to the new, and went inside ISPConfig to update everything to point to the new server (my old server was and my new is I changed the IP address settings for the server, the sites themselves and also updated the DNS entries using the DNS Manager tab.

    I thought that'd be that, but at a most basic level I am having a problem. When I go to Server Status under the Management tab, it shows Web Server and BIND Server as offline. Even if I go to Services, set everything to ON and click SAVE, those two remain off. I don't know what BIND is or if I need it, but I certainly need the web server to be running, don't I?

    How to fix? Happy to troubleshoot. I'm thinking maybe a complete ISPConfig uninstall, reinstall and then try starting over? What do you think?
  2. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    netstat -tap

    Did you disable SELinux?
  3. jkrell

    jkrell New Member

    I disabled SELinux. Here's the output of netstat -tap

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    It seems as if you migrated only the databases and websites but not the system users, config files etc. Also you should not overwrite the mysql.mysql database and migrate the mysql users and database records instead. Please see here for detailed instructions on how to migrate ispconfig 2 to a new server:
  5. jkrell

    jkrell New Member

    I knew that seemed too easy! It is strange that I did not find that how-to upon searching. Thanks for pointing it out!

    I will try again, this time following that guide. I am wondering, would the same guide work for migrating from ISPConfig 2 on Server A to ISPConfig 3 on Server B? I would like to have the benefits of ISPConfig 3 if I can.
  6. jkrell

    jkrell New Member

    I really owe you guys a lot; I just subscribed. :)
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    No, this wont work. ISPConfig 3 is a completely different software. There is no direct or automatic migration from ispconfig 2 to 3 possible.

    If you want to migrate to ispconfig 3, you would have to recreate all wbsites, users and mailboxes in ispconfig 3 and then copy fjust the contents of the websites and the maildir contents to the new server.

Share This Page