網站首頁 編程語言 正文
編譯
./configure --prefix=/usr/local/zabbix --sysconfdir=/etc/zabbix --enable-server --enable-agent --enable-proxy --with-mysql --enable-net-snmp --with-libcurl
出現錯誤
如出現configure: error: MySQL library not found錯誤
解決辦法
yum install mariadb-devel
安裝的時候出現:
[root@node1 zabbix]# make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /opt/02-component/zabbix/missing aclocal-1.16 -I m4
/opt/02-component/zabbix/missing:??81: aclocal-1.16: δ???????
WARNING: 'aclocal-1.16' is missing on your system.
You should only need it if you modified 'acinclude.m4' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'aclocal' program is part of the GNU Automake package:
<https://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<https://www.gnu.org/software/autoconf>
<https://www.gnu.org/software/m4/>
<https://www.perl.org/>
make: *** [aclocal.m4] ???? 127
解決辦法:
wget https://ftp.gnu.org/gnu/automake/automake-1.16.tar.gz
tar -zxvf automake-1.16.tar.gz
cd automake-1.16
./configure --prefix=安裝目錄
make
安裝automake-1.16出現問題:
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether ln -s works... yes
checking for perl... /usr/bin/perl
checking for tex... no
checking for yacc... yacc
checking for lex... lex
checking whether autoconf is installed... no
configure: error: Autoconf 2.65 or better is required.
Please make sure it is installed and in your PATH.
解決辦法
wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
tar zxvf autoconf-2.69.tar.gz
cd autoconf-2.69
./configure --prefix=/usr/
make && make install
Delta RPMs disabled because /usr/bin/applydeltarpm not installed
解決辦法
yum provides '*/applydeltarpm'
yum install deltarpm -y
安裝 php服務器
yum install php?
?
在啟動php服務器的時候, 去訪問web界面出現的問題
Check of pre-requisites
- Minimum required size of PHP post is 16M (configuration option "post_max_size").
- Minimum required limit on execution time of PHP scripts is 300 (configuration option "max_execution_time").
- Minimum required limit on input parse time for PHP scripts is 300 (configuration option "max_input_time").
- Time zone for PHP is not set (configuration parameter "date.timezone").
At least one of MySQL, PostgreSQL, Oracle or IBM DB2 should be supported.
?
PHP中date.timezone的設置
date.timezone = Asia/Shanghai
啟動zabbix 報錯
34525:20191015:221811.571 Zabbix agent item "system.cpu.util[,user]" on host "Zabbix server" failed: first network error, wait for 15 seconds
34531:20191015:221826.584 Zabbix agent item "system.cpu.util[,system]" on host "Zabbix server" failed: another network error, wait for 15 seconds
34531:20191015:221841.594 Zabbix agent item "system.uptime" on host "Zabbix server" failed: another network error, wait for 15 seconds
34509:20191015:221842.580 item "Zabbix server:zabbix[process,ipmi poller,avg,busy]" became not supported: No "ipmi poller" processes started.
34515:20191015:221843.581 item "Zabbix server:zabbix[process,java poller,avg,busy]" became not supported: No "java poller" processes started.
34511:20191015:221848.589 item "Zabbix server:zabbix[process,snmp trapper,avg,busy]" became not supported: No "snmp trapper" processes started.
34511:20191015:221848.590 item "Zabbix server:zabbix[process,ipmi manager,avg,busy]" became not supported: No "ipmi manager" processes started.
34511:20191015:221848.599 item "Zabbix server:zabbix[process,vmware collector,avg,busy]" became not supported: No "vmware collector" processes started.
34511:20191015:221855.629 item "Zabbix server:zabbix[vmware,buffer,pused]" became not supported: No "vmware collector" processes started.
34531:20191015:221856.606 temporarily disabling Zabbix agent checks on host "Zabbix server": host unavailable
解決辦法:
#/etc/hosts文件添加
127.0.0.1 zabbix.server
?
原文鏈接:https://blog.csdn.net/poem_2010/article/details/102527733
相關推薦
- 2022-01-02 無法將“node.exe”項識別為 cmdlet、函數、腳本文件或可運行程序的名稱
- 2022-10-27 scrollview?tableView嵌套解決方案示例_IOS
- 2022-09-02 ahooks整體架構及React工具庫源碼解讀_React
- 2023-06-13 react實現組件狀態緩存的示例代碼_React
- 2022-07-17 oracle數據庫去除重復數據常用的方法總結_oracle
- 2022-06-12 基于Docker搭建iServer集群_docker
- 2022-11-07 Flink?側流輸出源碼示例解析_服務器其它
- 2022-07-09 python實現通訊錄系統_python
- 最近更新
-
- window11 系統安裝 yarn
- 超詳細win安裝深度學習環境2025年最新版(
- Linux 中運行的top命令 怎么退出?
- MySQL 中decimal 的用法? 存儲小
- get 、set 、toString 方法的使
- @Resource和 @Autowired注解
- Java基礎操作-- 運算符,流程控制 Flo
- 1. Int 和Integer 的區別,Jav
- spring @retryable不生效的一種
- Spring Security之認證信息的處理
- Spring Security之認證過濾器
- Spring Security概述快速入門
- Spring Security之配置體系
- 【SpringBoot】SpringCache
- Spring Security之基于方法配置權
- redisson分布式鎖中waittime的設
- maven:解決release錯誤:Artif
- restTemplate使用總結
- Spring Security之安全異常處理
- MybatisPlus優雅實現加密?
- Spring ioc容器與Bean的生命周期。
- 【探索SpringCloud】服務發現-Nac
- Spring Security之基于HttpR
- Redis 底層數據結構-簡單動態字符串(SD
- arthas操作spring被代理目標對象命令
- Spring中的單例模式應用詳解
- 聊聊消息隊列,發送消息的4種方式
- bootspring第三方資源配置管理
- GIT同步修改后的遠程分支