PHP Selector errors showing
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Morten
  2. 12.01.2021
  3.  Subscribe via email
Hello,

When trying to change PHP version customer gets these warnings:


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(f'Object of type {o.__class__.__name__} ' TypeError: Object of type JSONDecodeError is not JSON serializable



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



/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?
Attachments (1)
Rate this post:
  1. 12.01.2021 08:01:51
  2. # 1
Posts: 285
Joined: 31.01.2017
0
Votes
Undo
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.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.

EU e-Privacy Directive

This website uses cookies to ensure you get the best experience using our website and services. If you prefer we don’t use cookies, please disable them in your browser.

You have declined cookies. This decision can be reversed.

You have allowed cookies to be placed on your computer. This decision can be reversed.