Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    156
    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,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    It would probably help to see the contents of your /etc/wwwacct.conf file.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. coderoyal

    coderoyal Well-Known Member

    Joined:
    Mar 8, 2005
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    156
    ; 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:
    156
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice