Cron Job You cannot run this code as root

leonep

Well-Known Member
Nov 18, 2014
189
13
68
Pescara
cPanel Access Level
Root Administrator
Hi,
I have updated to whm/cpanel 62. All is ok but after cron job i have reiceved 1 error.


Code:
[email protected] [~]# /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl --notify
Code:
Cpanel::Exception::RootProhibited/(XID uzxbtb) Non è possibile eseguire questo codice come root.
You cannot run this code as root.
 at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 77.
        Cpanel::Exception::create("RootProhibited") called at /usr/local/cpanel/Cpanel/Exception.pm line 30
        Cpanel::Exception::__ANON__(__CPANEL_HIDDEN__) called at /usr/local/cpanel/Cpanel/Security/Authz.pm line 14
        Cpanel::Security::Authz::verify_not_root() called at /usr/local/cpanel/Cpanel/ContactInfo/Email.pm line 85
        Cpanel::ContactInfo::Email::_read_contactemail(__CPANEL_HIDDEN__, 1) called at /usr/local/cpanel/Cpanel/ContactInfo/Email.pm line 52
        Cpanel::ContactInfo::Email::getcontactemail(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__) called at /usr/local/cpanel/Cpanel/ContactInfo.pm line 112
        Cpanel::ContactInfo::getownercontact("adristarter") called at /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl line 375

Code:
[email protected] [~]# ls -l /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl
-rwxr-xr-x 1 root root 31638 Dec  6 12:50 /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl*
Any possibile fix ? thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,243
463
Hello,

Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

Thank you.