The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Delete an IP address removes half the IP address installed!!!!!!

Discussion in 'General Discussion' started by madaboutlinux, Feb 19, 2010.

  1. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    It's not possible that removing an IP will remove other IPs as well. Try restarting ipaliases service and see if those IPs responds.

     
  2. Reado

    Reado Well-Known Member

    Joined:
    Sep 8, 2009
    Messages:
    161
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    United Kingdom
    cPanel Access Level:
    DataCenter Provider
    I just tried to delete a single IP address that wasn't being used by any site. However after deletion half the IP addresses installed on the server that DO have sites attached to them have also been removed, and as a result all those sites are now down!!

    WHY???

    cPanel 11.25.0-R43471 - WHM 11.25.0 - X 3.9
     
  3. Reado

    Reado Well-Known Member

    Joined:
    Sep 8, 2009
    Messages:
    161
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    United Kingdom
    cPanel Access Level:
    DataCenter Provider
    Not sure why the forums has puit your reply before my first post??

    I tried that and got this:

    Code:
    UnRouting <ip>                                             [  OK  ]
    Shutting down eth0:1                                       [  OK  ]
    UnRouting <ip>                                             [  OK  ]
    Shutting down eth0:2                                       [  OK  ]
    UnRouting <ip>                                             [  OK  ]
    Shutting down eth0:3                                       [  OK  ]
    UnRouting <ip> SIOCDELRT: No such device
                                                               [FAILED]
    Shutting down eth0:4 SIOCSIFFLAGS: Cannot assign requested address
                                                               [FAILED]
    UnRouting <ip> SIOCDELRT: No such device
                                                               [FAILED]
    Shutting down eth0:5 SIOCSIFFLAGS: Cannot assign requested address
                                                               [FAILED]
    UnRouting <ip> SIOCDELRT: No such device
                                                               [FAILED]
    Shutting down eth0:6 SIOCSIFFLAGS: Cannot assign requested address
                                                               [FAILED]
    UnRouting <ip>                                             [  OK  ]
    Shutting down eth0:7                                       [  OK  ]
    Bringing up eth0:1                                         [  OK  ]
    Routing <ip>                                               [  OK  ]
    Bringing up eth0:2                                         [  OK  ]
    Routing <ip>                                               [  OK  ]
    Bringing up eth0:3                                         [  OK  ]
    Routing <ip>                                               [  OK  ]
    Bringing up eth0:4                                         [  OK  ]
    Routing <ip>                                               [  OK  ]
    Bringing up eth0:5                                         [  OK  ]
    Routing <ip>                                               [  OK  ]
    Bringing up eth0:6                                         [  OK  ]
    Routing <ip>                                               [  OK  ]
    Bringing up eth0:7                                         [  OK  ]
    Routing <ip>                                               [  OK  ]
     
  4. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Did you remove the first ip in a subnet by chance?
     
  5. Reado

    Reado Well-Known Member

    Joined:
    Sep 8, 2009
    Messages:
    161
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    United Kingdom
    cPanel Access Level:
    DataCenter Provider
    I did, however the warning message it gave me before hand said I was deleting a leader IP and that only 1 IP address (eth7) would be restarted. eth1, 2, 3, 4, 5 and 6 are on a completely different subnet.
     
    #5 Reado, Feb 19, 2010
    Last edited: Feb 19, 2010
  6. Reado

    Reado Well-Known Member

    Joined:
    Sep 8, 2009
    Messages:
    161
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    United Kingdom
    cPanel Access Level:
    DataCenter Provider
    Yeah the problem is now sorted thanks, however it just made me panic when half the sites stopped working and the IP list was shorter than expected. :)

    Is there any reason why this happened? Is it a bug?
     
  7. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    That's quite strange, however, looking at the ipaliases output, it seems your IPs are back online. Did you still see the IP in the list you want to remove from the server? If yes, you can remove the IP manually. Edit the file

    remove the IP and restart the ipaliases service

     
Loading...

Share This Page