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!

Problem with the second IP after Clon VM instance

Discussion in 'General Discussion' started by ITGabs, Oct 13, 2014.

  1. ITGabs

    ITGabs Well-Known Member

    Joined:
    Jul 30, 2013
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hi,

    I recently cloned a Cpanel instance, and now I am having problem with the second IP

    I guess the only thing that I need is to reset the second IP or rebuild (cpanel have some script to do that?)

    Some Info:
    • I exported the cpanel virtual machine into a OVA (with vmware sphere)
    • Imported the cpanel virtual machine (into another datastore) from the OVA resulting in some troubles related to peripheral virtual hardware and losing the network configuration (network adapter MAC change)
    • Updated the network configuration to use the same IPs than before
    • Added the second IP
    • Run the script /usr/local/cpanel/cpkeyclt (since WHM was blocked)
    • Deleted a file /etc/udev/rules.d/70-persistent-net.rules (was creating networks conflicts after reboots)
    • I checked and rechecked WHM configuration to try to fix the second IP problem

    The problem is quite strange the domains assigned in the second IP are resolving ok but the email of some accounts are producing "time out"

    I checked with some online dns tools and there is a problem with the nameserver assigned to the second ip, is not resolving.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. ITGabs

    ITGabs Well-Known Member

    Joined:
    Jul 30, 2013
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    well finally was cpanel forcing eth0:cp1 instead of my default eth0:0 in that way after reboot I was losing the gateway for the second ip

    I fixed the problem creating ifcfg-eth0:cp1
    cat /etc/sysconfig/network-scripts/ifcfg-eth0:cp1
    Code:
    # Configuration for eth0:cp1
    DEVICE=eth0:cp1
    BOOTPROTO=static
    
    ONBOOT=yes
    
    # eth0:cp1
    IPADDR=108.170.13.5
    NETMASK=255.255.255.248
    to avoid reboot

    Code:
    ifup eth0:cp1
    service network restart
    This tools was quite helpful DNS check tool
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,344
    Likes Received:
    1,852
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    I am happy to see you were able to resolve the issue. Thank you for updating us with the outcome.
     
    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