岁月绵长,人间静好

Hey guys, Here is GouGui's Blog !

Centos7.3+PHP7.1.8环境编译安装Zabbix3.2.6出现问题解决方法

A non well formed numeric value encountered [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → make_status_of_zbx() → CFrontendSetup->checkRequirements() → CFrontendSetup->checkPhpMemoryLimit() → str2mem() in include/func.inc.php:410]
A non well formed numeric value encountered [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → make_status_of_zbx() → CFrontendSetup->checkRequirements() → CFrontendSetup->checkPhpPostMaxSize() → str2mem() in include/func.inc.php:410]
A non well formed numeric value encountered [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → make_status_of_zbx() → CFrontendSetup->checkRequirements() → CFrontendSetup->checkPhpUploadMaxFilesize() → str2mem() in include/func.inc.php:410]

安装完成之后启动后打开Web界面就出现这个问题,这个是因为PHP 7.1类型强化,处理方法也很简单找到Zabbix WEB目录下include/func.inc.php文件

注意一下文件路径即可。

然后发现zabbix server没有启动
到服务器上查看发现zabbix server和agentd启动显示成功了,但是server并没有实际进程,由于没有进程也就没有日志可查,试着进入zabbix server原始启动服务启动
提示libmysqlclient.so.18的问题,开始查找 此文件
发现此处libmysqlclient.so.18链接文件出了问题,删除后重新创建链接
重启zabbix server后,查看已经有了进程,打开zabbix web界面也显示zabbix server正常启动了。
点赞

发表评论

邮箱地址不会被公开。 必填项已用*标注