Hi All,
Am pretty new to Zabbix, but loving its capability.
I am using RaspberryPi as server, and have run tests with both MySQL and SQLite3 databases - due to resource limitations of RPi, and the fact I only have about 10 devices to monitor, I have chosen to go with SQLite3.
Now, onto my issue;
I can install and setup Zabbix 2.0.3, no problems; compiling from source. And the web interface works fine.
However, after a reboot, everything goes to pot!
Web Page shows following error on login screen;
and gets worse after logon - with these errors in every 'box';
sem_get(): failed for key 0x7a0212a6: Permission denied [include / db.inc.php:1139]
sem_acquire() expects parameter 1 to be resource, boolean given [include / db.inc.php:1150]
sem_release() expects parameter 1 to be resource, boolean given [include / db.inc.php:1161]
...
sem_acquire() expects parameter 1 to be resource, boolean given [include / db.inc.php:1150]
sem_release() expects parameter 1 to be resource, boolean given [include / db.inc.php:1161]
The file mentioned is located at /var/www/include, and looks like this;
-rw-r--r-- 1 root root 29676 Oct 3 15:41 db.inc.php
Apache is running as normal, first process as root, spawn processes as www-data
Both zabbix_server & zabbix_agentd are running as zabbix user
SQLite3 DB is located in /home/zabbix/zabbix.db, with zabbix folder and file at zabbix:zabbix and 777
I have reinstalled 3 times now, and each time, it works until a reboot.
Any ideas?
Am pretty new to Zabbix, but loving its capability.
I am using RaspberryPi as server, and have run tests with both MySQL and SQLite3 databases - due to resource limitations of RPi, and the fact I only have about 10 devices to monitor, I have chosen to go with SQLite3.
Now, onto my issue;
I can install and setup Zabbix 2.0.3, no problems; compiling from source. And the web interface works fine.
However, after a reboot, everything goes to pot!
Web Page shows following error on login screen;
sem_release() expects parameter 1 to be resource, boolean given [include / db.inc.php:1161]
and gets worse after logon - with these errors in every 'box';
sem_get(): failed for key 0x7a0212a6: Permission denied [include / db.inc.php:1139]
sem_acquire() expects parameter 1 to be resource, boolean given [include / db.inc.php:1150]
sem_release() expects parameter 1 to be resource, boolean given [include / db.inc.php:1161]
...
sem_acquire() expects parameter 1 to be resource, boolean given [include / db.inc.php:1150]
sem_release() expects parameter 1 to be resource, boolean given [include / db.inc.php:1161]
The file mentioned is located at /var/www/include, and looks like this;
-rw-r--r-- 1 root root 29676 Oct 3 15:41 db.inc.php
Apache is running as normal, first process as root, spawn processes as www-data
Both zabbix_server & zabbix_agentd are running as zabbix user
SQLite3 DB is located in /home/zabbix/zabbix.db, with zabbix folder and file at zabbix:zabbix and 777
I have reinstalled 3 times now, and each time, it works until a reboot.
Any ideas?
Comment