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.

can't remove ip address?

Discussion in 'General Discussion' started by SCott Galambos, Jul 26, 2016.

  1. SCott Galambos

    Joined:
    Jul 13, 2016
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Canada
    cPanel Access Level:
    Root Administrator
    I'm trying to remove an IP address from the server using WHM. But I can't because I have no Delete option. What I don't get is I have not used the IP address anywhere at all. "Show IP Address Usage" shows its not used. I'm under CENTOS 7.2 x86_64 WHM 56.0 (build 27).

    Does anyone know why this would happen or how to fix it?
    - Removed -
     
    #1 SCott Galambos, Jul 26, 2016
    Last edited by a moderator: Jul 27, 2016
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,830
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Please run the following commands to see if the IP address is associated with an account or service:

    Code:
    /usr/local/cpanel/bin/envtype
    grep $IP /etc/*
    grep $IP /var/cpanel/users/*
    grep $IP /var/cpanel/userdata/*/*
    Is this IP address listed in the output of the last three commands? If not, what's the output from the first command?

    Thank you.
     
  3. SCott Galambos

    Joined:
    Jul 13, 2016
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Canada
    cPanel Access Level:
    Root Administrator
    Nothing anywhere except where its suppose to be with the first command ?

    Code:
    core(/temp): /usr/local/cpanel/bin/envtype
    vmware
    
    core(/temp): grep -s X.X.193.126 /etc/*
    /etc/ips:X.X.193.126:255.255.255.255:X.X.193.126
    /etc/ips.dnsmaster:X.X.193.126:255.255.255.255:X.X.193.126
    
    core(/temp): grep -s X.X.193.126 /var/cpanel/users/*
    
    core(/temp): grep -s X.X.193.126 /var/cpanel/userdata/*/*
    
    core(/temp):
    
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,830
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page