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.

Need to restart 'ipaliases' sometimes.

Discussion in 'General Discussion' started by razR, Aug 15, 2012.

  1. razR

    razR Member

    Joined:
    Jul 18, 2012
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello!

    I have a problem with my cPanel installation, sometimes all my ip addresses disappear except the Primary IP, but i have some sites that have dedicated ip's so these sites wont work anymore.

    So i need to restart IPaliases and that works for a while, about a 24 hours later i need to do the exact same thing because it happens again.

    How can i fix this?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Does this happen when the system is rebooted? If so, please run the following command:

    Code:
    # chkconfig --list ipaliases
    Make sure that ipaliases is on in at least runlevel 3. If that configuration looks normal, or this happens at times other than during a reboot, I suggest opening a support ticket:

    Submit A Ticket


    You can post the ticket number here so we can track the issue.

    Thank you.
     
  3. razR

    razR Member

    Joined:
    Jul 18, 2012
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I have submitted a ticket under: #3049182
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    It's likely avahi-daemon doing it. If it is running, it can withdraw IP addresses, which is easy to determine in /var/log/messages by grepping for the IP number. In fact, almost any time an IP goes down, it's going to be indicated in /var/log/messages:

    Code:
    grep IP# /var/log/messages
    Replace IP# with one of the IPs that keeps going offline. If you see withdraw entries for avahi-daemon, it's the cause of it occurring. This has been discussed several times on the forums such as the following:

    http://forums.cpanel.net/f5/after-d...-all-add-ips-disappear-204361.html#post841781

    Here's a post on disabling it:

    http://forums.cpanel.net/f34/avahi-daemon-166578.html
     
Loading...

Share This Page