M
M
mast7712017-08-03 05:06:43
linux
mast771, 2017-08-03 05:06:43

Why is the Zabbix web interface not working?

I configure Zabbix+Nginx+MySQL+PHP. I installed everything, all services are running, Iptables rules are there, directory rights are configured. But when I try to login to the web face of Zabbix, there is nothing but - "page not available, HTTP ERROR 500"
nginx.conf:

server {
                listen 8081;
                server_name localhost;
                root /usr/share/zabbix;

                location / {
                        index index.php index.html index.htm;
                }

                location ~ .php$ {
                        fastcgi_pass 127.0.0.1:9000;
                        fastcgi_index index.php;
                        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                        include fastcgi_params;
                        fastcgi_param PHP_VALUE "
                        max_execution_time = 300
                        memory_limit = 128M
                        post_max_size = 16M
                        upload_max_filesize = 2M
                        max_input_time = 300
                        date.timezone = Europe/Moscow
                        always_populate_raw_post_data = -1
                        ";
                        fastcgi_buffers 8 256k;
                        fastcgi_buffer_size 128k;
                        fastcgi_intercept_errors on;
                        fastcgi_busy_buffers_size 256k;
                        fastcgi_temp_file_write_size 256k;
                }
        }

What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Randomiser, 2017-08-09
@Randomiser

1. Which Linux distribution? If centos, have you tried disabling SELinux and firewall?
2. What link do you use to go to the web interface? The default is usually ip\zabbix

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question