Not Work
-
Good afternoon, there was a problem: the plugin seems to work, but only partially, updates, progress bars, and much more, like uptime, don’t work, while there are no errors in the browser console, the necessary functions are active, the site is on my personal VDS, and therefore I can’t figure out what’s wrong.
Thanks in advance, I look forward to help)
-
Alright, can you check that if there are any error on the PHP error login? Also, you are running on a Linux server, right?
Yes, Debian 10 Buster, what kind of bugs should I find? I see some errors, but they are not related to the plugin (in my opinion, although I may be wrong)
-
This reply was modified 5 years, 9 months ago by
alativitys.
failed to make connection to backend: httpd-UDS
FCGI: attempt to connect to Unix domain socket
[error] 6145#6145: *1173 connect() failed (110: Connection timed out) while connecting to upstr
Then can you check if you have
shell_exec()enabled in your PHP & PHP can access the server files in/proc/meminfo,/proc/cpuinfoetc. Basically/proc/*.-
This reply was modified 5 years, 9 months ago by
iSaumya.
failed to make connection to backend: httpd-UDS
FCGI: attempt to connect to Unix domain socket
[error] 6145#6145: *1173 connect() failed (110: Connection timed out) while connecting to upstr
– These are not coming from this plugin.
I tried to test with the function:
if(function_exists(‘shell_exec’)) {
echo “exec is enabled”;
}It works, but how do I check the rest?
@alativitys don’t try like that. That doesn’t give the whole story like if
shell_exec()can actually access files under/proc/*. Instead, try this:<?php if(function_exists(‘shell_exec’)) { echo shell_exec('cat /proc/cpuinfo |grep "physical id" | sort | uniq | wc -l'); }Let me know what you see.
-
This reply was modified 5 years, 9 months ago by
iSaumya.
Not Work
Log:
[Sun Aug 02 15:12:53.922061 2020] [proxy_fcgi:error] [pid 1770] [client 89.113.137.215:0] AH01071: Got error ‘PHP message: PHP Warning: Use of undefined constant \xe2\x80\x98shell_exec\xe2\x80\x99 – assumed ‘\xe2\x80\x98shell_exec\xe2\x80\x99′ (this will throw an Error in a future version of PHP) in /home/admin/web/alativity.design/public_html/alativity/tester.php on line 2’
[Sun Aug 02 15:13:01.098775 2020] [proxy_fcgi:error] [pid 18240] [client 89.113.137.215:0] AH01071: Got error ‘PHP message: PHP Warning: Use of undefined constant \xe2\x80\x98shell_exec\xe2\x80\x99 – assumed ‘\xe2\x80\x98shell_exec\xe2\x80\x99′ (this will throw an Error in a future version of PHP) in /home/admin/web/alativity.design/public_html/alativity/tester.php on line 2’Hi,
I have no idea where the warning is coming from as there are not constant. It’s simply just an Unix command wrapped insideshell_exec(). If you have access to the server terminal, you can just runcat /proc/cpuinfo |grep "physical id" | sort | uniq | wc -land see the result.Anyways then the issue is that the PHP process cannot access
/proc/*files. This is not a plugin issue but a server config issue. You need to give permission so that PHP can access/proc/*.Yes, I get a response to this command: 6
How can I give PHP the required permissions? By the way, I think it will be correct to say that I am using the Apache2 + NGIX + PHP-FMP bundle. Control Panel – Hestia CP
Yes, I get a response to this command: 6
– Thats your CPU core count
How can I give PHP the required permissions? By the way, I think it will be correct to say that I am using the Apache2 + NGIX + PHP-FMP bundle. Control Panel – Hestia CP
– Unfortunately, I don’t think I am the right person to answer that as this is a server admin question and I don’t think I am qualified enough to answer it. You can either ask other server admins or post at https://serverfault.com/ or https://superuser.com/
I found the problem, it is in the plugin – Health Check & Troubleshooting, after disabling it, everything becomes normal and everything works
Hi @alativitys,
Glad to know that the problem has been resolved. 🙂 -
This reply was modified 5 years, 9 months ago by
The topic ‘Not Work’ is closed to new replies.