Announcement

Collapse
No announcement yet.

PHP Selector errors showing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PHP Selector errors showing

    Hello,

    When trying to change PHP version customer gets these warnings:

    Code:
    The received data is wrong. Contact support for resolution. Traceback (most recent call last): File "/usr/share/l.v.e-manager/utils/cpanel_api.py", line 138, in run result = json.loads(output) File "/opt/alt/python37/lib64/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) File "/opt/alt/python37/lib64/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/opt/alt/python37/lib64/python3.7/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/l.v.e-manager/utils/cloudlinux-cli-user.py", line 16, in cloudlinux_cli.main() File "/usr/share/l.v.e-manager/utils/libcloudlinux.py", line 130, in main endpoint() File "/usr/share/l.v.e-manager/utils/libcloudlinux.py", line 197, in cpanel_api self.exit_with_success({data: cpanel_api.run(method, list_to_request)}) File "/usr/share/l.v.e-manager/utils/cpanel_api.py", line 141, in run exit_with_error(e) File "/opt/alt/python37/lib/python3.7/site-packages/lvemanager/helpers.py", line 27, in exit_with_error print(json.dumps(result)) File "/opt/alt/python37/lib64/python3.7/json/__init__.py", line 231, in dumps return _default_encoder.encode(obj) File "/opt/alt/python37/lib64/python3.7/json/encoder.py", line 199, in encode chunks = self.iterencode(o, _one_shot=True) File "/opt/alt/python37/lib64/python3.7/json/encoder.py", line 257, in iterencode return _iterencode(o, 0) File "/opt/alt/python37/lib64/python3.7/json/encoder.py", line 179, in default raise TypeError(fObject of type {o.__class__.__name__}  TypeError: Object of type JSONDecodeError is not JSON serializable
    Code:
    output of the command: /usr/bin/uapi LangPHP php_get_vhost_versions --output=json [2021-01-12 08:42:34 +0100] warn [uapi] Failed to execute /usr/local/cpanel/cpanel: Resource temporarily unavailable at /usr/local/cpanel/Cpanel/XML.pm line 110. Cpanel::XML::cpanel_exec_fast(HASH(0x856710), HASH(0x149c950)) called at bin/apitool.pl line 258 bin::apitool::_run_cpanel_function("json", HASH(0x856710), HASH(0x83b1e8)) called at bin/apitool.pl line 172 bin::apitool::_cpanel_api_handler(HASH(0x149cf20)) called at bin/apitool.pl line 125 bin::apitool::run("LangPHP", "php_get_vhost_versions", "--output=json") called at bin/apitool.pl line 40 Failed to execute /usr/local/cpanel/cpanel: Resource temporarily unavailable at bin/apitool.pl line 261. /usr/bin/uapi: fork: retry: No child processes
    Code:
    /usr/bin/uapi LangPHP php_get_system_default_version --output=json. Can not run command: [Errno 11] Resource temporarily unavailable
    Any idea how to get these fixed?

  • #2
    Hi Morten,

    Please create a ticket at https://cloudlinux.zendesk.com/hc/en-us/requests/new and our technical experts will help you asap. Thank you.

    Comment

    Working...
    X