weird printout after moving server

Discussion in 'Server Operation' started by lano, Jan 16, 2009.

  1. lano

    lano Member

    Today I moved my server from home to datacenter.
    I changed /etc/network/interfaces , /etc/resolf.conf and all IP's on ispconfig magament and DNS manager.
    All went fine, all sites are workong, or they will after dns refresh.
    However, I noticed something strage.
    When I do tail -f /var/log/httpd/ispconfig_access_log , I get printout:
    localhost||||411|||| - - [16/Jan/2009:19:33:06 +0100] "GET /e107_plugins/sgallery/includes/..  lots of stuff here "Mozilla/5.0 (Windows; U; Windows NT 5.1; sl; rv: Gecko/20081217 Firefox/"
    But on the old system looks like this:
    Code:||||35117|||| - - [16/Jan/2009:19:33:12 +0100] "GET /index.php?option= blabla "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +"
    Now, is there anything else that I forgot to change?

    The old system was behind the router with ip, new system is connected directly to the bone, with static ip.

  2. lano

    lano Member

    I think I solved problem.
    After my previous post, few customers called me that they are getting shared IP
    Here is how I did it:
    First I made backup ispconfigdb and Vhosts_ispconfig.conf
    Then I opened ispconfigdb.sql with notepad++ (yeah, I use Win) and find/replace old ip's with new one.
    I uploaded new database with phpmyadmin.
    Same procedure with Vhosts_ispconfig.conf find/replace and replaced new file.
    Then I restarted ispconfig service and apache2 and, it worked.


Share This Page