If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
This statement is run when the PHP script is executed, ie. when the web server gets a request for report1.php (which includes config.inc.php). There can be several reasons why this might fail, eg:
* the web server can't run the ps command due to access control restrictions
* the system doesn't allow users to view processes of other users
* the web server runs chroot(2)ed and doesn't have access to ps
There are (at least) two ways to fix the message:
* make sure the web server can run ps(1) and see the zabbix_server process
* use some different method to figure out if zabbix_server is running
There are (at least) two ways to fix the message:
* make sure the web server can run ps(1) and see the zabbix_server process
* use some different method to figure out if zabbix_server is running
Good morning and thanks again for helpful hints.
But how do I
make sure the web server can run ps
?
And second: Do you mean something like rc-status? Because here the zabbix_server ist shown as running.
Yes, if you can't find zabbix_server when you run ps(1) on the command line, that would explain why the Web-GUI thinks the server is not running.
I can only give you general advice, because everyone's setup is different. I've never touched Gentoo (afaik :-) and don't know about their specifics.
First make sure that your ps(1) works from the command line.
Then make sure that ps(1) also works when called from the GUI (ie, running as a sub-process of your web server, which is usually apache)
If these two conditions are met, Zabbix should appear as running in the GUI.
Best luck!
And second: Do you mean something like rc-status? Because here the zabbix_server ist shown as running.
No, I was thinking that the zabbix_server could store some sort of I'm alive data in the database (say every 30sec), which the GUI can check. This would require changes to both zabbix_server and the GUI and needs to be done by the Great Zabbix Developer Team (if they decide to follow this path). Of course, there may be other ways to implement it, too.
Comment