shuyu

Member
Dec 31, 2017
5
0
1
taiwan
cPanel Access Level
Root Administrator
when login to WHM, fatal error or timeout occurred while processing this directive.

Code:
(XID 2m867a) The system failed to load and to parse the file “/var/cpanel/icontact_event_importance.json” because of an error: (XID z4cv2r) The system failed to parse the JSON stream data “{"OutdatedSoftware":{"Notify":"0"},"Update":{"Blocker":"2","ServiceDeprecated":"2","UpgradeRequired":"0","Now":"2","*":1},"PaperLantern":{"UpdateUsers":"0"},"Horde":{"*":"0"},"NSD":{"*":"2","BadZones":1},"EasyApache":{"*":"0"},"queueprocd":{"*":"2"},"upcp":{"*":"2"},"Logd":{"*":"0"},"rpm.versions":{"*":"0"},"Install":{"CheckRemoteMySQLVersion":"0","FixcPHulkConf":"0","ClamavConnector":"0","*":3,"Horde":"0","PackageExtension":"0","DatabaseDeprecations":"0"},"ImportMyDNSdb":{"Success":"2","InProgress":"0","*":3,"Failure":"2"},"dbindex":{"Warn":"0"},"Logger":{"*":"0"},"Backup":{"Disabled":"2","Delayed":"2","PreBackupNotice":"0","Success":"2","Transport":"2","*":"2","Failure":"2"},"cpbackupdisabled":{"*":"2"},"Accounts":{"*":"0"},"DAV":{"ChangeHostname":"0"},"parkadmin":{"*":"0"},"ChangePassword":{"*":"0"},"unsuspendacct":{"*":"2"},"BandwidthUsageExceeded":{"*":"2"},"Check":{"Biglog":"2","InvalidDomains":"2","MySQL":"2","SSLCertExpired":"2","PopBeforeSMTPEnabled":"0","Smart":"0","ImmutableFiles":"2","SecurityAdvi” for the caller “(eval)” because of an error: , or } expected while parsing object/hash, at character offset 2213 (before "(end of string)") at /usr/local/cpanel/Cpanel/JSON.pm line 133.
 at /usr/local/cpanel/Cpanel/Transaction/File/BaseReader.pm line 61.
    Cpanel::Transaction::File::BaseReader::__ANON__(Cpanel::Exception::JSONParseError=HASH(0x2c3feb0)) called at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Try/Tiny.pm line 120
    Try::Tiny::try(CODE(0x26881b0), Try::Tiny::Catch=REF(0x2c1b210)) called at /usr/local/cpanel/Cpanel/Transaction/File/BaseReader.pm line 62
    Cpanel::Transaction::File::BaseReader::_init_data_with_catch(Cpanel::Transaction::File::JSONReader=HASH(0x2684588), "path", "/var/cpanel/icontact_event_importance.json") called at /usr/local/cpanel/Cpanel/Transaction/File/BaseReader.pm line 45
    Cpanel::Transaction::File::BaseReader::new("Cpanel::Transaction::File::JSONReader", "path", "/var/cpanel/icontact_event_importance.json") called at /usr/local/cpanel/Cpanel/iContact/EventImportance.pm line 44
    Cpanel::iContact::EventImportance::new("Cpanel::iContact::EventImportance") called at /usr/local/cpanel/Cpanel/Config/ConfigObj/Driver/SpammerDetector.pm line 105
    Cpanel::Config::ConfigObj::Driver::SpammerDetector::check(Cpanel::Config::ConfigObj::Driver::SpammerDetector=HASH(0x26aa818)) called at /usr/local/cpanel/Cpanel/FeatureShowcase.pm line 162
    Cpanel::FeatureShowcase::get_new_feature_showcase(Cpanel::FeatureShowcase=HASH(0x25c7b30)) called at whostmgr/bin/whostmgr3.pl line 278
    main::feature_showcase() called at whostmgr/bin/whostmgr3.pl line 171
 

24x7server

Well-Known Member
Apr 17, 2013
1,911
96
78
India
cPanel Access Level
Root Administrator
Twitter
“{"OutdatedSoftware":{"Notify":"0"},"Update":{"Blocker":"2","ServiceDeprecated":"2","UpgradeRequired":"0","Now":"2","*":1},"PaperLantern":{"UpdateUsers":"0"},"Horde":{"*":"0"},"NSD":{"*":"2","BadZones":1},"EasyApache":{"*":"0"},"queueprocd":{"*":"2"},"upcp":{"*":"2"},"Logd":{"*":"0"},"rpm.versions":{"*":"0"},"Install":{"CheckRemoteMySQLVersion":"0","FixcPHulkConf":"0","ClamavConnector":"0","*":3,"Horde":"0","PackageExtension":"0","DatabaseDeprecations":"0"},"ImportMyDNSdb":{"Success":"2","InProgress":"0","*":3,"Failure":"2"},"dbindex":{"Warn":"0"},"Logger":{"*":"0"},"Backup":{"Disabled":"2","Delayed":"2","PreBackupNotice":"0","Success":"2","Transport":"2","*":"2","Failure":"2"},"cpbackupdisabled":{"*":"2"},"Accounts":{"*":"0"},"DAV":{"ChangeHostname":"0"},"parkadmin":{"*":"0"},"ChangePassword":{"*":"0"},"unsuspendacct":{"*":"2"},"BandwidthUsageExceeded":{"*":"2"},"Check":{"Biglog":"2","InvalidDomains":"2","MySQL":"2","SSLCertExpired":"2","PopBeforeSMTPEnabled":"0","Smart":"0","ImmutableFiles":"2","SecurityAdvi” for the caller “(eval)” because of an error: , or
It appears some sort of update issue. Do you have an updated cPanel or the older version of cPanel?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
(XID 2m867a) The system failed to load and to parse the file “/var/cpanel/icontact_event_importance.json” because of an error: (XID z4cv2r) The system failed to parse the JSON stream data
Hello,

It looks like an invalid or corrupted /var/cpanel/icontact_event_importance.json file is the culprit. Could you run the following command and let us know the output?

Code:
cat /var/cpanel/icontact_event_importance.json | python -m json.tool
Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello,

Could you open a support ticket using the link in my signature so we can take a closer look?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello,

To update, this was the result of a missing closing bracket "}" within the /var/cpanel/icontact_event_importance.json file. Adding the missing bracket solved the issue. It's likely this happened as a result of filesystem corruption or a manual modification to the file.

Thank you.