I am trying to setup a zabbix server, to which I will eventually connect remote agent hosts. I installed zabbix 4.4 using the rpm packages on a CentOS 7 server. After configuring the MySql database, the zabbix-server.conf, etc. I open a browser and receive some weird issues.
The first issue, opening http://[host ip address]/zabbix, returns `The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.`
If I then try http://[host ip address]/zabbix/index.php, I see the screen but there is no styling.

Using Chrome browser I opened the developer tools and see several 503 errors (service unavailable) in the console.

Researching this, I've found where I may have to change the owner and set permissions so I
That has not helped.
There are no errors in either /var/log/httpd/access_log or error_log. I've enabled php to log errors, `error_log = /var/log/php/php_errors.log` and created the parent directory /var/log/php, but no file has been generated
I'm not sure what else to do.
Setup and Configuration:
My /etc/httpd/conf.d/zabbix.conf looks like
Everything I have read points to a misconfiguration of Apache, but I think I've been through everything I can think of.
What am I missing?
The first issue, opening http://[host ip address]/zabbix, returns `The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.`
If I then try http://[host ip address]/zabbix/index.php, I see the screen but there is no styling.
Using Chrome browser I opened the developer tools and see several 503 errors (service unavailable) in the console.
Researching this, I've found where I may have to change the owner and set permissions so I
Code:
chown -R apache:apache /usr/share/zabbix chmod -R =x /usr/share/zabbix
There are no errors in either /var/log/httpd/access_log or error_log. I've enabled php to log errors, `error_log = /var/log/php/php_errors.log` and created the parent directory /var/log/php, but no file has been generated
I'm not sure what else to do.
Setup and Configuration:
- OS: CentOS Linux release 7.4.1708 Apache: Server version:
- Apache/2.4.6 (CentOS)
- PHP: 5.6.40 (cli) (built: Feb 18 2020 08:36:40)
My /etc/httpd/conf.d/zabbix.conf looks like
Code:
# # Zabbix monitoring system php web frontend # Alias /zabbix /usr/share/zabbix <Directory "/usr/share/zabbix"> Options FollowSymLinks AllowOverride None Require all granted <IfModule mod_php5.c> php_value max_execution_time 300 php_value memory_limit 128M php_value post_max_size 16M php_value upload_max_filesize 2M php_value max_input_time 300 php_value max_input_vars 10000 php_value always_populate_raw_post_data -1 php_value date.timezone America/New_York </IfModule> </Directory> <Directory "/usr/share/zabbix/conf"> Require all denied </Directory> <Directory "/usr/share/zabbix/app"> Require all denied </Directory> <Directory "/usr/share/zabbix/include"> Require all denied </Directory> <Directory "/usr/share/zabbix/local"> Require all denied </Directory>
What am I missing?
Comment