Cannot login to zabbix web portal
Posted
by
hlx98007
on Server Fault
See other posts from Server Fault
or by hlx98007
Published on 2014-08-18T16:01:31Z
Indexed on
2014/08/18
16:28 UTC
Read the original article
Hit count: 456
I've managed to install Zabbix22-server on CentOS 6.x along with php-fpm and nginx.
I can view the page of 127.0.0.1 but I can only see this:
After clicking the "Login" button, the page is the same:
What can I do to make it work as expected, so that I can login as admin?
Here are some confs: nginx_zabbix.conf:
server {
listen 80;
add_header X-Frame-Options "SAMEORIGIN";
access_log /var/log/nginx/zabbix.log;
error_log /var/log/nginx/zabbix.err.log;
client_max_body_size 500M;
# This folder is a soft link to /usr/share/zabbix
# the permssion has been set to nginx:nginx recursively.
root /var/www/zabbix;
location / {
index index.html index.htm index.php;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi.conf;
fastcgi_param PATH_INFO $path_info;
}
}
php-fpm is using its default values, with permission user/group set to nginx (rather than apache)
Folder /var/lib/php/session has been set to nginx:nginx with permission 770.
SELinux is set to disabled.
I've restarted everything up to this point.
© Server Fault or respective owner