Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Sites failing after server transfer

Discussion in 'General Discussion' started by Ishware, Mar 3, 2018.

Tags:
  1. Ishware

    Ishware Well-Known Member

    Joined:
    Nov 7, 2003
    Messages:
    194
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    Panama City, FL
    cPanel Access Level:
    Root Administrator
    I had a cPanel server at $oldip, and now I have a new cPanel server at $newip.

    Before performing the transfers, I clustered the two servers, did the transfer, and it's been about three days.

    So to make sure everything got copied over, I shut the old server down - and now sites aren't loading.

    Some troubleshooting has shown that although my nameservers appear to be pointing correctly to the new server, I did a little poking around in /var/cpanel/users and /var/cpanel/userdata and it appears the old ip is appearing a LOT.

    Where all do I need to check for the old IP? What automated tools/scripts are available that will help me instead of poking around 200 sites' files individually?

    The GREAT thing about cPanel is that it makes life so much easier. The only downside is that learning about all this stuff is so much slower because I don't have to touch it unless something goes wrong. heh.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Ishware

    Ishware Well-Known Member

    Joined:
    Nov 7, 2003
    Messages:
    194
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    Panama City, FL
    cPanel Access Level:
    Root Administrator
    Looking at the link, here's how my process compared to it:

    1. Set up new server with cPanel/WHM - yes, done
    2. Copy all accounts to new server - yes, using transfer tool from new server connecting to old, copying all packages and accounts
    3. Shut down old server - is currently shut down
    4. Change the new server’s main IP address to the old server’s IP address. - no, because the new server's IP is different
    5.
    Change the IP address of all accounts to the correct IP address. -in the IP migration tool, all sites show the new IP correctly. I have run the tool now.

    Clustering is not an issue; this is a standalone server. SSL is not an issue at this time, and I have a valid license else I couldn't get into cPanel/WHM.


    I don't yet know if any problems were fixed, but running this command:

    find /var/cpanel/ -type f -readable -writable -exec grep "192.99.1.211" {} \; > 211.txt

    ...has yielded a number of results, which I'm poking through now.

    EDIT: I've done two more searches limited to /var/cpanel/users and /var/cpanel/userdata --- no results found this time, so maybe this has it fixed. Will bump with a fresh reply later if things fail later today...
     
    #3 Ishware, Mar 5, 2018
    Last edited: Mar 5, 2018
  4. Ishware

    Ishware Well-Known Member

    Joined:
    Nov 7, 2003
    Messages:
    194
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    Panama City, FL
    cPanel Access Level:
    Root Administrator
    Loading cpanel.[anydomain.ext] goes to the live domain for the first account created on the server now. So this is new behaviour since this morning running the the migration tool this morning.........

    edit: I've gone into Tweak Settings and disabled, saved, reinabled proxy domains - and will test in a few minutes.
     
    #4 Ishware, Mar 5, 2018
    Last edited: Mar 5, 2018
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I encourage you to open a support ticket using the link in my signature if you continue to notice any issues so we can take a closer look at the affected system.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice