cPanel cannot be executed standalone. It must be run from cpsrvd or xml-api.

azadhussnain

Well-Known Member
May 28, 2020
62
0
6
India
cPanel Access Level
Root Administrator
Hello, I'm getting this issue while doing Login into any cpanel -
cPanel cannot be executed standalone. It must be run from cpsrvd or xml-api. This check can be disabled in Tweak Settings. Content-type: text/html; charset="utf-8"
A fatal error or timeout occurred while processing this directive
Code:
cPanel cannot be executed standalone.  It must be run from cpsrvd or xml-api.  This check can be disabled in Tweak Settings. at cpanel.pl line 3770.
 at cpanel.pl line 3770.
    cpanel::cpanel::printanddie("cPanel cannot be executed standalone.  It must be run from cp"...) called at cpanel.pl line 4709
    cpanel::cpanel::parent_check() called at cpanel.pl line 842
    cpanel::cpanel::script("cpanel::cpanel", "./frontend/paper_lantern/index.html") called at cpanel.pl line 328
I have tried running /scripts/upcp --force but it didn't fixed the issue. I have waited 30-40 minutes after update but still getting same issue
 

cPJustinD

Administrator
Staff member
Jan 12, 2021
286
52
103
Houston
cPanel Access Level
Root Administrator
Hello azadhussnain! Are you able to access WHM? If so, could you check to see if "Allow other applications to run the cPanel and admin binaries" is enabled in WHM » Tweak Settings? If it is enabled, please disable this setting and try logging into another cPanel account.

We look forward to hearing back from you!