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.

Adding IP Failed "Ignoring bad line in /etc/wwwacct.conf"

Discussion in 'General Discussion' started by coderoyal, Mar 19, 2007.

  1. coderoyal

    coderoyal Well-Known Member

    Joined:
    Mar 8, 2005
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    On the DNS-only version of cPanel, I went to add a new IP address shown below, but I got the following error instead, and I can't ping the IP address. Do you know what I did wrong? I did an upcp recently so it should be running the latest version. Running RHEL 4 AS.


    Ignoring bad line in /etc/wwwacct.conf: ""eth0:1 is now up. 66.186.176.4/255.255.255.0 broadcast 66.186.176.255 has been added
    Ignoring bad line in /etc/wwwacct.conf: ""
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It would probably help to see the contents of your /etc/wwwacct.conf file.
     
  3. coderoyal

    coderoyal Well-Known Member

    Joined:
    Mar 8, 2005
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    ; This is a autogenerated config file for the
    ; wwwacct(c) package by cPanel, Inc.
    ; copyright.net
    ;
    ; Last Modified: 12/8/98
    ;
    ;
    ; HOMEDIR (<dir>)
    ; This is the default homedir
    ;
    HOMEDIR /home
    ;
    ; HOMEMATCH (home|web|????)
    ; This is where wwwacct should put the user's homes
    ; It will select the one with the least disk usage
    ;
    HOMEMATCH home
    ;
    ; NS (<NS SOA>)
    ; This is the name for the SOA and NS dns entires
    ;
    ;NS ns.hermon.net
    ;NS2 ns2.hermon.net
    ;
    ; HOST (hostname)
    ; This is the name of the machine
    ;
    HOST ns5.hermon.net
    ;
    ; ADDR (eth0)
    ; Ip address at eth0
    ;
    ADDR 66.186.176.232
    ;
    ; DEFMOD (advanced|???)
    ; Defines the default cpanel module to use
    ;
    DEFMOD advanced
    ;
    ; LOGSTYLE (combined|access)
    ;
    LOGSTYLE combined
    ;
    ; BINDVER (4|8)
    ; defines your version of bind
    ;
    BINDVER 8
    ;
    ; FTPTYPE (proftpd|ncftpd)
    ; defines what ftp server is installed
    ;
    FTPTYPE proftpd
    ;
    ; SCRIPTALIAS (y|n)
    ; defines if
    ; 'ScriptAlias /cgi-bin /home/user/public_html/cgi-bin/...'
    ; should be added to your httpd.conf
    ;
    SCRIPTALIAS y
    ;
    ; DNSMASTER ipaddress/hostname
    ; This is the server that we send dns updates to. You must have
    ; an ssh rsa key trust relationship between the 2 servers
    ;
    ; DNSMASTER dns1
    ;
    ; End Config
    ;
     
  4. coderoyal

    coderoyal Well-Known Member

    Joined:
    Mar 8, 2005
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    I should also note that I rebooted the server and after the reboot, the IP worked! Not sure what happened though.

    Take care,
    Alan
     
Loading...

Share This Page