Ad Widget
Collapse
New insatll ... web page not rendering
Collapse
X
-
Oha. That explains a lot. Probably you need to teach selinux to allow you to start and run zabbix. Unfortunately I can't help you with that since I'm not using it.
Probably aunt g00gle does know more about it?
For all those people who find it more convenient to bother you with their question rather than to Google it for themselves.
(don't want to be offensive, it just creates shorter links)Comment
-
Ok, will do some research on selinux or ask one of our linux guys here ...Oha. That explains a lot. Probably you need to teach selinux to allow you to stat and run zabbix. Unfortunately I can' help you with that since I'm not using it.
Probably aunt g00gle does know more about it?
For all those people who find it more convenient to bother you with their question rather than to Google it for themselves.
(don't want to be offensive, it just creates shorter links)
I'll report back what I find when I find something.
It would seem like selinux being in 'permissive' mode would allow me to do what i need ....
I just did an remove and reinstall and got the same outcome (checking for errors during install i may have missed).
I do, however still receive the same permission error in the error_log for httpd ... so maybe selinux is messing with that somehow ...
anyways, thanks all, i'll let you know what happens.Comment
-
Correct permissions
Just created an account to give a solution to this old thread.
I have been struggling with the same HTTP Error 500 after each Zabbix update:
1) Well, the solution is simple - the folder /etc/zabbix/web/ belongs to the group "apache".Code:PHP Fatal error: require_once(): Failed opening required '/etc/zabbix/web/maintenance.inc.php'
You can add the user, under which you run your Zabbix web-interface, to the group "apache" with:
You will have to restart apache or httpd for the permissions to take effect.Code:usermod -a -G apache YOUR_ZABBIX_WEB_USER
2) Alternatively - the folder /etc/zabbix/web/ has permissions 750 after each update.
So you can give broader permissions 755:
and your Zabbix web-interface will come back to life immediately.Code:chmod 755 /etc/zabbix/web/
But you will have to fix folder permissions after each update, so the first method is preferable.Comment
Comment