Translations of this page:
ODT Export
 

General Troubleshooting

Installation

  • Can't compile MySQL database support in Zabbix_server on Solaris. On solaris 10 you can get into error like following when running ”./configure” script with ”–with-mysql” parameter.
# ./configure --enable-server --with-mysql=/usr/sfw/bin/mysql_config 
checking for a BSD-compatible install... /opt/sfw/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/sfw/bin/mkdir -p
checking for gawk... no
checking for mawk... no
......
checking for atoll... yes
checking for getopt_long... yes
checking for mysql_config... /usr/sfw/bin/mysql_config
checking for main in -lmysqlclient ... no
configure: error: Not found mysqlclient library

This happens If you have out-of-the-box Solaris 10 installations (I'm not aware how it works on Opensolaris or older Solaris releases). I have /usr/sfw/bin/gcc in path so ”./configure” selects gcc as C compiler. This can be resolved in two ways:

  1. by Installing Sun Studio compiler and exporting cc as C compiler “export CC=/opt/SUNWspro/bin/cc”
  2. or by Installing another MySQL server and libraries like Coolstack provided by Sun. Note that Webstack MySQL packages won't work!

More technical information on the subject could be useful, but I asume that this is due to the fact that Coolstack is maybe compiled using gcc, but other two using Sun's cc.

ZABBIX Server

1. Before starting the server run “zabbix_server -n 0” Assuming NodeID in /etc/zabbix/zabbix_server.conf is set to 0

2. Resend configuration from one child node to MASTER

By now, there is no option in the gui (1.4.2). You can do it manually:
* 1. Stop Master node
* 2. Execute on NODEx (not MASTER):
  *delete from node_cksum;
  *delete from node_configlog;
* 3. Start Master node

3. I am getting errors like ”Warning: ZABBIX semaphores already exist, trying to recreate. Can't recreate ZABBIX semaphores for IPC key … Operation not permitted.” or ”ERROR: Can't recreate shared memory for database cache. [too many attempts]” when starting zabbix_server. What's that ?

Do not start //zabbix_server// as root.
If you get shared memory error even as non-root user, check output of ''ipcs'' and you can try removing the offending stuff with ''ipcsrm''.
Or just reboot the machine.

ZABBIX Agents

Items

Please Note:

  zabbix < 1.4 Item Key length must be < 64 characters long
  zabbix >= 1.4 Item Key length must be < 255 characters long
 
doc/troubleshooting/index.txt · Last modified: 2009/10/31 22:16 by richlv
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki