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:
    Code:
    localhost||||411||||89.212.52.180 - - [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:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20"
    
    But on the old system looks like this:
    Code:
    www.slove-reggae.com||||35117||||66.249.71.106 - - [16/Jan/2009:19:33:12 +0100] "GET /index.php?option= blabla "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
    
    Now, is there anything else that I forgot to change?

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

    Thanks
     
  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.

    David
     

Share This Page