EA-10753 - PHP in terminal or cronjob is not working
Hello!
In a brand new server running Ubuntu I have this problem.
When we try to run "php -v" from the user's Terminal in cPanel or user's cronjob we got a ton of error lines. The same from root is working ok.
This is the first time we see this kind of error. We can't open a ticket because cPanel website freezes after the redirect/login from WHM atm. Thanks
MIB search path: /home/USERNAME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf
Cannot find module (SNMPv2-MIB): At line 1 in (none)
Cannot find module (IF-MIB): At line 1 in (none)
Cannot find module (IP-MIB): At line 1 in (none)
Cannot find module (TCP-MIB): At line 1 in (none)
Cannot find module (UDP-MIB): At line 1 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 1 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 1 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 1 in (none)
Cannot find module (DISMAN-SCHEDULE-MIB): At line 1 in (none)
Cannot find module (HOST-RESOURCES-TYPES): At line 1 in (none)
Cannot find module (MTA-MIB): At line 1 in (none)
Cannot find module (NETWORK-SERVICES-MIB): At line 1 in (none)
Cannot find module (SNMPv2-TC): At line 15 in /usr/share/snmp/mibs/UCD-DISKIO-MIB.txt
Cannot find module (SNMPv2-SMI): At line 34 in /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Cannot find module (HCNUM-TC): At line 37 in /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Cannot find module (SNMPv2-TC): At line 40 in /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Did not find 'enterprises' in module #-1 (/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
Did not find 'CounterBasedGauge64' in module #-1 (/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
Did not find 'DisplayString' in module #-1 (/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
Did not find 'TruthValue' in module #-1 (/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
Unlinked OID in UCD-SNMP-MIB: ucdavis ::= { enterprises 2021 }
Undefined identifier: enterprises near line 42 of /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Did not find 'DisplayString' in module #-1 (/usr/share/snmp/mibs/UCD-DISKIO-MIB.txt)
Did not find 'ucdExperimental' in module UCD-SNMP-MIB (/usr/share/snmp/mibs/UCD-DISKIO-MIB.txt)
Unlinked OID in UCD-DISKIO-MIB: ucdDiskIOMIB ::= { ucdExperimental 15 }
Undefined identifier: ucdExperimental near line 19 of /usr/share/snmp/mibs/UCD-DISKIO-MIB.txt
Cannot find module (SNMPv2-TC): At line 10 in /usr/share/snmp/mibs/UCD-DLMOD-MIB.txt
Did not find 'DisplayString' in module #-1 (/usr/share/snmp/mibs/UCD-DLMOD-MIB.txt)
Did not find 'ucdExperimental' in module UCD-SNMP-MIB (/usr/share/snmp/mibs/UCD-DLMOD-MIB.txt)
Unlinked OID in UCD-DLMOD-MIB: ucdDlmodMIB ::= { ucdExperimental 14 }
Undefined identifier: ucdExperimental near line 13 of /usr/share/snmp/mibs/UCD-DLMOD-MIB.txt
Cannot find module (SNMPv2-TC): At line 15 in /usr/share/snmp/mibs/LM-SENSORS-MIB.txt
Did not find 'DisplayString' in module #-1 (/usr/share/snmp/mibs/LM-SENSORS-MIB.txt)
Did not find 'ucdExperimental' in module UCD-SNMP-MIB (/usr/share/snmp/mibs/LM-SENSORS-MIB.txt)
Unlinked OID in LM-SENSORS-MIB: lmSensors ::= { ucdExperimental 16 }
Undefined identifier: ucdExperimental near line 32 of /usr/share/snmp/mibs/LM-SENSORS-MIB.txt
Did not find 'ucdavis' in module UCD-SNMP-MIB (/usr/share/snmp/mibs/UCD-DEMO-MIB.txt)
Unlinked OID in UCD-DEMO-MIB: ucdDemoMIB ::= { ucdavis 14 }
Undefined identifier: ucdavis near line 7 of /usr/share/snmp/mibs/UCD-DEMO-MIB.txt
Cannot find module (SNMP-TARGET-MIB): At line 1 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 9 in /usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
Cannot find module (SNMPv2-SMI): At line 8 in /usr/share/snmp/mibs/NET-SNMP-MIB.txt
... CONTINUES.This is the first time we see this kind of error. We can't open a ticket because cPanel website freezes after the redirect/login from WHM atm. Thanks
-
Hey there! That's definitely odd as I would expect a "php -v" run as the user to report their local version. Here's an example from my personal server, with a cPanel user with shell access: $ php -v PHP 8.0.19 (cli) (built: Jun 1 2022 06:51:31) ( NTS ) Copyright (c) The PHP Group Zend Engine v4.0.19, Copyright (c) Zend Technologies
If this only happens with one user, I'd recommend changing their PHP version to something else and then back again to see if that resolves the issue. If this is all users on the machine, I'd recommend a forced cPanel update.0 -
Hello @cPRex, its a cPanel Solo server. Tried several php versions with the same outcome. V"a web browser is working fine. From cron or terminal, not. 0 -
That's definitely odd - could you submit a ticket to our team so we can check it out? 0 -
Yes, I opened the ticket #94453537 Thanks 0 -
Thanks for that - I'm following along on my end now. 0 -
Hello! For anyone with Ubuntu and the same problem here is the root of the problem and workaround by cPanel Team: Description These errors are generated when the ea-php*-snmp packages are installed and the user is set to jailshell in WHM > Manage Shell Access. We've opened an internal case for our development team to investigate this further. For reference, the case number is EA-10753. Follow this article to receive an email notification when a solution is published in the product. Workaround The issue can be corrected by changing the user's shell to Normal Shell* or Disabled Shell, or by removing the installed ea-php*-snmp packages via WHM > EasyApache 4 * Normal Shell should only be selected when the security risks of doing so are considered. Thanks 0
Please sign in to leave a comment.
Comments
7 comments