Hi together,
I'm currently working on a very strange problem.
I'm trying to install Zabbix Server 2.2.1 on FreeBSD inside a jail.
Installation was startet from Portstree with
That all works fine for me. Everything went as expected.
I also installed zabbix-frontend and MySQL 5.5 together with php-fpm and nginx.
The DB was set up as mentioned, web frontend came up and running afer some small problems. (nginx is running under user www).
I started zabbix_server with
and all seemed well. But zabbix frontend told me that server was not running. So I checked with
So I checked Port 10051 on that jail and found
then
came up with no results. So it seems that there really no zabbix_server is running. 
I have googled for almost 3 days now and found some obviously useful hints like expanding shared memory, or using strace to figure out the problems and so on.
But none of them helped. And since I'm running FreeBSD under amd64, strace is not available.
Here are some informations:
For my understanding there should be something more inside the log files. But because the server seems not even to come up before ending immediately, either the mutex creation problem or maybe an access rights problem during startup phase could be causing that.
Valid options from zabbix_server.conf:
How can I debug that problem?
Any ideas/suggestions?
B.T.W.: MySQL is accessible by mysql command. Full access rights for zabbix tables are set for zabbix@localhost and zabbix@external_IP
My problem is, that I can not see any log entries.
Who can help?
Olaf
I'm currently working on a very strange problem.
I'm trying to install Zabbix Server 2.2.1 on FreeBSD inside a jail.
Installation was startet from Portstree with
Code:
make install clean; rehash
I also installed zabbix-frontend and MySQL 5.5 together with php-fpm and nginx.
The DB was set up as mentioned, web frontend came up and running afer some small problems. (nginx is running under user www).
I started zabbix_server with
Code:
#> service zabbix_server start
Code:
#> service zabbix_server status zabbix_server is not running.
Code:
#> telnet 127.0.0.1 10051 telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host
Code:
#> ps aux | grep zabbix

I have googled for almost 3 days now and found some obviously useful hints like expanding shared memory, or using strace to figure out the problems and so on.
But none of them helped. And since I'm running FreeBSD under amd64, strace is not available.
Here are some informations:
Code:
#> uname -a FreeBSD monitoring.kits.loc 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64 #> zabbix_server -V Zabbix server v2.2.1 (revision 40808) (09 December 2013) Compilation time: Aug 4 2014 12:51:42 #> cat /tmp/zabbix_server.log zabbix_server [64619]: cannot create Semaphore: [78] Function not implemented zabbix_server [64619]: unable to create mutex for log file [...]
Valid options from zabbix_server.conf:
Code:
#>cat /usr/local/etc/zabbix22/zabbix_server.conf | grep -v -E -e '^(|#.*)$' LogFile=/tmp/zabbix_server.log DebugLevel=4 PidFile=/var/run/zabbix/zabbix_server.pid DBHost=localhost DBName=zabbix DBUser=zabbix DBPassword=secret ListenIP=xxx.xxx.xxx.xxx
Any ideas/suggestions?
B.T.W.: MySQL is accessible by mysql command. Full access rights for zabbix tables are set for zabbix@localhost and zabbix@external_IP
My problem is, that I can not see any log entries.
Who can help?
Olaf
Comment