knowledge yang didapat dan terdokmentasi di sbuah catatan blog kecil yang Tujuanya bisa menjadi amal jariyah/ilmu yang bermanfaat
satu
Gajah mati meninggalkan tulang
harimau mati meninggalkan belang
manusia mati meninggalkan nama
persiapkan klu kalian mati ingin meninggalkan apa ?
Saturday, 11 May 2019
zabbix error
I often compile Zabbix from sources for work and for testing purposes.
In
my opinion this is the best way of installation, because you can
configure and install Zabbix Server or Proxy only with features that you
exactly need and without relying on package options.
For each configuration, additional libraries will be needed, otherwise you’ll receive a dependency error.
So I’ve decided to find out which packages should be installed before compilation.
The installation has been performed in local lab on following environments:
After testing all cases, I’ve created a list with detailed information for each configuration flag:
--with-ibm-db2
configure: error: IBM DB2 library not found
Solution:
According to Zabbix official documentation, CLI location should be set.
If DB2 is already installed locally, you shouldn’t receive such error.
Otherwise download IBM Data Server Driver for ODBC and CLI (CLI Driver)
--with-oracle
configure: error: Oracle OCI library not found
--with-mysql
configure: error: MySQL library not found
Solution: sudo apt-get install libmysqld-dev / sudo yum install mysql-devel Note: in CentOS 7 mysql replaced with MariaDB so mariadb-devel will be installed
--with-postgresql
configure: error: PostgreSQL library not found
Solution: sudo apt-get install libsnmp-dev snmp / sudo yum install net-snmp-devel net-snmp Note:
I’d recommend install snmp/net-snmp also with devel packages just to
avoid error of loading MIBs during Zabbix Server/Proxy first start.
--with-ssh2
configure: error: SSH2 library not found
No comments:
Post a Comment