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.

Ignoring bad line in /var/cpanel/cpanel.config: ""

Discussion in 'General Discussion' started by jackie46, May 2, 2006.

  1. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    0
    My server was upgraded to R57 and since then we are seeing

    Ignoring bad line in /var/cpanel/cpanel.config: ""

    Our users are seeing this error at the top of the control panel, we see it during upcp etc etc.

    I looked at the file and it looks fine.

    #config ---------------------------------------=
    RS=default
    VALIASDIR=/etc/valiases
    VFILTERDIR=/etc/vfilters
    access_log=/usr/local/cpanel/logs/access_log
    adminuser=cpanel
    allowcpsslinstall=0
    allowparkonothers=0
    allowperlupdates=1
    allowremotedomains=0
    allowunregistereddomains=0
    alwaysredirecttossl=0
    awstatsbrowserupdate=0
    awstatsreversedns=0
    basename=cpanel
    blockcommondomains=1
    cpredirecthostname=0
    cycle=1
    defaultmailaction=fail
    disablequotacache=0
    disablexfercpanel=0
    discardformmailbccsubject=1
    dnslookuponconnect=0
    docroot=/usr/local/cpanel/base
    dumplogs=0
    emailusersbandwidthexceed=1
    engine=cpanel
    enginepl=cpanel.pl
    engineroot=/usr/local/cpanel
    errorstostdout=1
    eximmailtrap=0
    extracpus=10
    ftppasslogs=1
    ignoredepreciated=0
    interchangever=disable
    jaildefaultshell=1
    keepftplogs=0
    keeplogs=0
    keepstatslog=0
    loadthreshold=8
    logchmod=0644
    maxemailsperhour=0
    maxmem=128
    myname=cpaneld
    mysql-version=4.1
    mysqldebug=0
    nobodyspam=1
    nouserbackupwarn=1
    numacctlist=
    phploader=none
    popbeforesmtpsenders=0
    popchecktimes=0
    popfloodcheck=0
    port=2082
    product=cPanel
    resetpass=1
    root=/usr/local/cpanel
    showwhmbwusageinmegs=0
    skipanalog=0
    skipawstats=0
    skipboxcheck=0
    skipboxtrapper=0
    skipbwlimitcheck=0
    skipdiskcheck=0
    skipeximstats=0
    skipformmail=0
    skiphorde=0
    skiphttpauth=0
    skipmailman=0
    skipneomail=1
    skipparentcheck=0
    skipspamassassin=1
    skipspambox=1
    skipsqmail=0
    skipwebalizer=1
    skipwhoisns=0
    stats_log=/usr/local/cpanel/logs/stats_log
    statsloglevel=1
    urchinsetpath=
    usemailformailmanurl=0
    usemysqloldpass=0
    version=8.0
    maildir=1
     
  2. hostseeker

    hostseeker Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    same problem here, using Centos 4.3
     
  3. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    remove the blank line return at the bottoma nd save the file.
     
  4. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    0
    Which blank line? There is no carrage return at the bottom of this file.
     
  5. hostseeker

    hostseeker Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    Thanks, that solved the problem. Somehow last night's update added a blank line to the bottom of my cpanel.config file.
     
  6. BOates

    BOates Active Member
    PartnerNOC

    Joined:
    May 28, 2005
    Messages:
    36
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Michigan
    cPanel Access Level:
    Root Administrator
    This also occurrs with the wwwacct.conf file. An easy fix for that is to click "Basic cPanel/WHM Setup". Then scroll the bottom and save. This will re-validate and re-save the wwwacct.conf file properly.

    Specific to my problem, our wwwacct.conf had "BINDVER 9" and the new cPanel didn't like that line.
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Rgarding the OP, you also need to remove this line:

    #config ---------------------------------------=

    Basically, any line that isn't in the format:

    name=value

    causes problems in the latest releases.
     
Loading...

Share This Page