配置安装zabbix遇到几个问题,总结了一下:
Q:zabbix server is not running: the information displayed may not be current
A:我出现这个问题的时候发现是由于mysql配置有问题导致的,重新授权了一下正常运行!
Q:configure: error: Not found mysqlclient library
A:/usr/local/mysql/bin/mysql_config(指定mysql_config)
Q:configure: error: Invalid Net-SNMP directory - unable to find net-snmp-config
A:yum install net-snmp-devel
Q:PHP always_populate_raw_post_data on off Fail (PHP7)
A:[root@Web3 setup]# ll /usr/local/nginx/html/include/classes/setup/CFrontendSetup.php
if (version_compare(PHP_VERSION, '5.6', '>=') && version_compare(PHP_VERSION, '7.0.0', '<')) {
$result[] = $this->checkPhpAlwaysPopulateRawPostData();
}
Q:PHP time zone
A:[root@Web3 setup]# grep "date.timezone = PRC" /byrd/service/nginx/php-7.0.6/lib/php.ini