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!

SOLVED WHM Login error

Discussion in 'General Discussion' started by shuyu, Dec 31, 2017.

  1. shuyu

    shuyu Registered

    Joined:
    Dec 31, 2017
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,888
    Likes Received:
    90
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    It appears some sort of update issue. Do you have an updated cPanel or the older version of cPanel?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. shuyu

    shuyu Registered

    Joined:
    Dec 31, 2017
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    taiwan
    cPanel Access Level:
    Root Administrator
    sorry, i don't have an updated cPanel or the older version of cPanel.

    cPanel [11.68]
     
  4. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    604
    Likes Received:
    43
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Try to update the cpanel /scripts/upcp
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,167
    Likes Received:
    1,933
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. shuyu

    shuyu Registered

    Joined:
    Dec 31, 2017
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    taiwan
    cPanel Access Level:
    Root Administrator
    run cat /var/cpanel/icontact_event_importance.json | python -m json.tool
    Code:
    Expecting , delimiter:line 2 column 1 (char 2213)
    rung /usr/local/cpanel/scripts/upcp

    The same error message after login
     
    #5 shuyu, Jan 3, 2018
    Last edited by a moderator: Jan 3, 2018
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,167
    Likes Received:
    1,933
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

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

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. shuyu

    shuyu Registered

    Joined:
    Dec 31, 2017
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    taiwan
    cPanel Access Level:
    Root Administrator
    i open a support ticket.
    Support Request ID is: 9158591
     
  9. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,167
    Likes Received:
    1,933
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    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