Good Morning, Please, does anyone know why this error occurs, the system was working normally: CentOS 7.8.2003 (Core) ISPConfig 3.1.15p3 Zabbix 5.0 Today I went to check, and the same is giving error! ns2 seafiber com br /zabbix/ ERROR 503 - Service Unavailable! The other services are normal, I already checked and the services are running normally without errors .: zabbix-server zabbix-agent Please, can someone help me correct this error? Thank you Claudir
Are you running ISPConfig and Zabbix on the same host? Are all services running on that host? I do not know CentOS so this command may not work: Code: systemctl --state=failed
Yes, both systems are on the same host, they always run perfectly, so now I have this doubt, as I am sure that it did, because now it is in error. Attached result of the command you suggested. Thanks for helping me.
Well, you have 3 failed services. One is php, thats why your site is not working. Maybe it would be a good idea to restart that service? If that fails, you will get an error message that will help (at least if you search the error on google)
I checked, and the two errors are corrected, the PHP-FPM error corrected as well, you can see that it is running normal. But you still have the error to access Zabbix. Thank you friend.
Good Morning. Now another mistake to help further complicate the situation, at this moment is accusing: ERROR 404 - Not Found! Note, other web services, everything is normal, just Zabbix that was correct before, now I no longer have access. Thanks for any tips and help.
What do you see in log files when that error occurs? Have you checked again that all services are now running?
Yes, all services are running, Zabbix, Apache, ISPConfig, Postfix, Mailman, etc ... after checking the status = running and without errors, there must be some configuration on the same ISPConfig. But where and what it would be, I can't find it. Thank you
Look in the log files. What log files have you examined so far? The website log should have something, at least.
I checked the apache log and the following errors or denied access as attached. Nor does AWStats statistically load, it has some directories within / web that no longer have access, before they had normal access. So, I am almost sure that something is wrong with ISPConfig, it is causing these problems. The log is attached.
That sentence is hard to understand, but if permissions or owners of directories and files have changed, that would explain why site is not longer working. You posted a screenshot of some log, but did not specify full pathname to log file. And why screenshot? Can you not cut and paste the text? Have you looked at the log files for that website? They are in the log/ directory, which is in same directory level as the web/ directory. So if you are in web/ directory, do Code: cd ../log and examine the files.
Hello, To avoid extending the text, prefer to add an attachment. but I can leave a faithful copy of the content. The logs are being analyzed in the domain owner directory created in ISPConfig: [root @ ns2 web] # pwd /var/www/linuxbras.com.br/web [root @ ns2 web] # ll 52 total drwxr-xr-x 2 web1 client1 4096 Jun 22 23:14 contract -rw-r - r-- 1 web1 client1 212 Jun 23 17:11 crossdomain.xml drwxr-xr-x 2 web1 client1 4096 Jun 22 23:14 datacom drwxr-xr-x 2 web1 client1 4096 Jun 22 23:02 error -rwxr-xr-- 1 web client 1 7358 Jun 22 23:02 favicon.ico -rwxr-xr-- 1 web1 client1 1861 Jun 22 11:02 PM index.html drwxr-xr-x 2 web1 client1 4096 Jun 22 23:14 my-plan drwxr-xr-x 2 web1 client1 4096 Jun 22 23:20 our network -rwxr-xr-- 1 web1 client Jun 14 22 11:02 PM robots.txt drwxr-xr-x 2 web1 client1 4096 Jul 10 18:46 speedtest drwxr-xr-x 3 web1 client1 4096 ago 4 00:02 statistics drwxr-xr-x 2 web1 client1 4096 Jun 22 23:16 surfview [root @ ns2 web] # [root @ ns2 log] # tail -f /var/www/linuxbras.com.br/log/access.log 191.7.162.42 - - [04 / Aug / 2020: 07: 43: 38 -0300] "GET / zabbix / HTTP / 1.1" 404 2191 "-" "Mozilla / 5.0 (Windows NT 10.0; Win64; x64; rv: 79.0 ) Gecko / 20100101 Firefox / 79.0 " 191.7.162.42 - - [04 / Aug / 2020: 07: 43: 38 -0300] "GET /favicon.ico HTTP / 1.1" 200 7737 "-" "Mozilla / 5.0 (Windows NT 10.0; Win64; x64; rv: 79.0) Gecko / 20100101 Firefox / 79.0 " 191.7.162.42 - - [04 / Aug / 2020: 07: 43: 40 -0300] "GET /favicon.ico HTTP / 1.1" 200 7736 "-" "Mozilla / 5.0 (Windows NT 10.0; Win64; x64; rv: 79.0) Gecko / 20100101 Firefox / 79.0 " 191.7.162.42 - - [04 / Aug / 2020: 07: 43: 57 -0300] "GET / sufview HTTP / 1.1" 404 2191 "-" "Mozilla / 5.0 (Windows NT 10.0; Win64; x64; rv: 79.0) Gecko / 20100101 Firefox / 79.0 " 191.7.162.42 - - [04 / Aug / 2020: 07: 43: 49 -0300] "GET / our network / HTTP / 1.1" 200 4201 "-" "Mozilla / 5.0 (Windows NT 10.0; Win64; x64; rv: 79.0 ) Gecko / 20100101 Firefox / 79.0 " 191.7.162.42 - - [04 / Aug / 2020: 07: 44: 06 -0300] "GET / zabbix / HTTP / 1.1" 404 2191 "-" "Mozilla / 5.0 (Windows NT 10.0; Win64; x64; rv: 79.0 ) Gecko / 20100101 Firefox / 79.0 " 191.7.162.42 - - [04 / Aug / 2020: 07: 44: 06 -0300] "GET /favicon.ico HTTP / 1.1" 200 7736 "-" "Mozilla / 5.0 (Windows NT 10.0; Win64; x64; rv: 79.0) Gecko / 20100101 Firefox / 79.0 " 191.7.162.42 - - [04 / Aug / 2020: 07: 44: 21 -0300] "GET / datacom / HTTP / 1.1" 200 2852 "-" "Mozilla / 5.0 (Windows NT 10.0; Win64; x64; rv: 79.0 ) Gecko / 20100101 Firefox / 79.0 " 191.7.162.42 - - [04 / Aug / 2020: 07: 44: 21 -0300] "GET /images/LogoParaWeb.jpg HTTP / 1.1" 404 2190 "http://ns2.seafiber.com.br/datacom/" "Mozilla / 5.0 (Windows NT 10.0; Win64; x64; rv: 79.0) Gecko / 20100101 Firefox / 79.0" 191.7.162.42 - - [04 / Aug / 2020: 07: 44: 22 -0300] "GET /datacom/imagens/Nova%20Logo.jpeg HTTP / 1.1" 404 2191 "http://ns2.seafiber.com.br / datacom / "" Mozilla / 5.0 (Windows NT 10.0; Win64; x64; rv: 79.0) Gecko / 20100101 Firefox / 79.0 " 191.7.162.42 - - [04 / Aug / 2020: 07: 44: 35 -0300] "GET / zabbix / HTTP / 1.1" 404 2191 "-" "Mozilla / 5.0 (Windows NT 10.0; Win64; x64; rv: 79.0 ) Gecko / 20100101 Firefox / 79.0 " [root @ ns2 log] # tail -f /var/www/linuxbras.com.br/log/error.log [Tue Aug 04 07: 45: 53.373097 2020] [proxy_fcgi: error] [pid 30673] [client 191.7.162.42:539869] AH01071: Got error 'PHP message: warning: progressindicator incompatible with php.ini output_buffering> 0. Caching disabled ! Create a .htaccess with the contents: php_value output_buffering "0" \ n ' Only this error in the log error.log, which shows, however, no Zabbix information when trying to access it. Thanks for helping
Try fixing that error, whether it is involved with zabbix problem or not. Found these links using Internet Search Engines: https://stackoverflow.com/questions/2832010/what-is-output-buffering https://www.php.net/manual/en/book.outcontrol.php I have never needed to adjust php output buffering. If it is changed in your host, I would turn it back to default value and test if that fixes the error.
Hello my friend. I solved my problem, now everything correct correct. I disabled the entry: php-fpm.service I installed and enabled the entry: rh-php72-php-fpm.service There, it's back to normal. Thanks for the help and tips.