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!

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:
    166
    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:
    306
    same problem here, using Centos 4.3
     
  3. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    7
    Trophy Points:
    318
    Location:
    back woods of NC, USA
    remove the blank line return at the bottoma nd save the file.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    166
    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:
    306
    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:
    37
    Likes Received:
    10
    Trophy Points:
    158
    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,460
    Likes Received:
    21
    Trophy Points:
    463
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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