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.

Ip\'s screwed after restart

Discussion in 'General Discussion' started by zex, Aug 15, 2001.

  1. zex

    zex Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    After restart of my server (204 day\'s of uptime) all ip address get netmask and broadcast messed up (Bcast:64.255.255.255 Mask:255.0.0.0) except the primary ip adress.
    Before restart when was i adding ip\'s everythng was OK. Cpanel was add correct netmask and Bcast. I was fix all ip\'s manualy but i\'m still intrested why does this happen.
    And of the record about webalizer
    if you put chmod 711 on /usr/local/apache
    webalizer will not find log for your domain.


    :cool:
     
  2. bdraco

    bdraco Guest

    [quote:5f2f64744b]After restart of my server (204 day\'s of uptime) all ip address get netmask and broadcast messed up (Bcast:64.255.255.255 Mask:255.0.0.0) except the primary ip adress.
    Before restart when was i adding ip\'s everythng was OK. Cpanel was add correct netmask and Bcast. I was fix all ip\'s manualy but i\'m still intrested why does this happen.
    And of the record about webalizer
    if you put chmod 711 on /usr/local/apache
    webalizer will not find log for your domain.


    :cool: [/quote:5f2f64744b]

    Edit your /etc/ips file and make sure its in the format

    <ip>:<netmask>

    IE

    66.96.192.5:255.255.255.0
    66.96.192.6:225.255.255.0

    etc
     
  3. zex

    zex Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    half of ip\'s was been in that format
    but still all 12 interfaces are added with wrong netmask.
     
  4. bdraco

    bdraco Guest

    [quote:a9d185be20]half of ip's was been in that format
    but still all 12 interfaces are added with wrong netmask. [/quote:a9d185be20]

    Try this

    cp -f /usr/local/cpanel/whostmgr/bin/ipaliases /etc/rc.d/init.d/ipaliases
    /sbin/service ipaliases restart



    [Edited on 8/21/01 by bdraco]
     
Loading...

Share This Page