reinstall of ISPconfig 2 after compromised server

Discussion in 'Installation/Configuration' started by bas, Dec 17, 2010.

  1. bas

    bas New Member

    My server running ISPconfig 2 had been compromised.
    Therefore i decided to do a clean install (and with that an upgrade of ubuntu to 10.04)

    I followed a description for doing a backup and restore.
    -the mail handling is working fine
    -apache is running and serving the sites

    I havent restored yet all mysql databases (mainly cause in the backup i did miss out the users table with permissions). But i'll reproduce that manually. (i guess no other choice)

    The ISPconfig_server is not running yet. And i think it has to be installed and compiled. Since the version from the restore is not working.

    can anyone advise me what is the best way to do that?
    just download ISPconfig2 and run the install?
    Should i run the latest? or the version that it was running?

    (the apache server is currently experiencing issues with a lot of workers staying in 'Logging' - i believe this is due to an issue with cronolog not working yet, as that still needs to be recompiled)

    I've checked the - and there is says it was version 2.2.32

    Hope someone can advise me soon.
    (i did check the forum - but couldnt directly find this approach)
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    When you migrate a server then ispconfig should be installed before you migrate the sites as ispconfig is doing some system changes, ispconfig can not be copied from one server to another. The logging problems are also caused by that.

    The easiest solution if you copied already /root/ispconfig and /home/admispconfig to the new server is to run a ispconfig update which will recompile and reconfigure all services.
  3. bas

    bas New Member

    cant find httpd in setup2

    i will try to do that

    In setting up my new server - i did follow all steps of the perfect server setup for Ubuntu 10.04

    but when i start the setup of ISPconfig - it gives me an error
    ./setup2: line 724: httpd: command not found

    My apache2 install is running as normal - and installed as prescribed in the perfect server setup
  4. falko

    falko Super Moderator ISPConfig Developer

    Did the installation finish? If so, everything's fine, and
    which httpd
    should now give you a result.
  5. bas

    bas New Member

    Thanks for your answer

    no - it ends the installation. Its breaks off

    I managed to let the installation continue by creating a symbolic link to apache2 called httpd myself.
    But now Apache wont start anymore.
    Have to still figure out how to fix that

    given my scenario (as described above) - are there any descriptions on how to proceed?
    cause keeping the settings of the existing sites - as well as the sites and the mail from the users is vital to me.

  6. bas

    bas New Member


    Just wanted to report back here.

    its fixed

    I've first put the databases correctly into place - and fixed the permissions (and accounts there)
    Then installed the latste ISPconfig. It perfectly detected this as an upgrade. After it was finished my system was running. All settings and sites (including mail) were still in place.

    Thanks very much

Share This Page