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

jackie46

BANNED
Jul 25, 2005
536
0
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
 

rpmws

Well-Known Member
Aug 14, 2001
1,787
9
318
back woods of NC, USA
remove the blank line return at the bottoma nd save the file.
 

hostseeker

Well-Known Member
Sep 4, 2001
86
0
306
rpmws said:
remove the blank line return at the bottoma nd save the file.
Thanks, that solved the problem. Somehow last night's update added a blank line to the bottom of my cpanel.config file.
 

BOates

Active Member
PartnerNOC
May 28, 2005
39
13
158
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.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
31
473
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.