随笔分类 - 报错大全
摘要:mysql 8 设置用户权限命令和之前不一样之前:grant all privileges on *.* to 'myuser'@'%' identified by 'mypassword' with grant option; 报错: You have an error in your SQL s
阅读全文
摘要:在CentOS系统中,安装zabbix进行configure时会遇到以下问题 ./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-jabber --with-libcurl configure:
阅读全文
摘要:报错信息:Directory "/usr/local/nginx/html/assets" must be writable. 解决方案:chmod 777 /usr/local/nginx/html/assets
阅读全文
摘要:报错信息:24576:20221117:155304.965 [Z3001] connection to database 'zabbix' failed: [2002] Can't connect to local MySQL server through socket '/var/lib/mys
阅读全文
摘要:[root@zabbix01 src]# tar jxf php-5.6.13.tar.bz2tar (child): bzip2: Cannot exec: No such file or directorytar (child): Error is not recoverable: exitin
阅读全文
摘要:Zabbix服务器未启动侦听器失败:zbx_tcp_listen() 致命错误:无法在任何地址上提供服务 [[-]:10070] 日志错误: 服务状态以及尝试启动时: 进程正在运行: 但是服务仍然停止: 原因: 它无法启动,因为它已经在运行(而pid文件以某种方式无法反映出来)。 解决办法:杀死pi
阅读全文
摘要:解决办法: 在/etc/zabbix/zabbix_proxy.conf中,加入如下: PidFile = /run/zabbix/zabbix_proxy.pid 重启服务,使配置生效。 [root@syxk ~]# systemctl restart zabbix-proxy
阅读全文
摘要:下载官网地址unixODBC 2.安装2.1将tar包上传到服务器/usr/local 执行tar xvf unixODBC*.tar.gz 2.2编译(以下命令依次执行) ./configure make make install 2.3测试 odbcinst -j 安装成功:显示版本号和驱动地址
阅读全文
摘要:装zabbix,在zabbix目录下执行编译命令时报错configure: error: Unable to use libevent (libevent check failed),如图: 说明:新服务器,一般依赖不足,需要视情况安装依赖,问题解决。 解决方案: yum install libev
阅读全文
摘要:一、CentOS编译报错 以下操作可能需要第三方源,参考此进行安装第三方Yum源rpm -ivh http://ftp.sjtu.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm1、configure: error: Jabber lib
阅读全文
摘要:Item "agent.hostname" already exists on "findAgent", inherited from another template. 问题:模板监控项冲突 解决方法: 修改模板或者删除模板冲突监控项。
阅读全文
摘要:active check configuration update from [192.168.0.43:10051] started to fail (ZBX_TCP_READ() timed out)问题: zabbix-agent上报出错 解决方法: vim /etc/zabbix/zabbi
阅读全文
摘要:Directory "/usr/share/zabbix/assets" must be writable. 问题:因为对assets文件夹没权限操作导致 解决方法: chmod 777 /usr/share/zabbix/assets/
阅读全文
摘要:在web端安装zabbix时报错:Cannot connect to the database.Error connecting to database: Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql
阅读全文
摘要:在RedHat 6上编译安装openssl后,运行openssl version出现如下错误: openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such
阅读全文
摘要:运行安装mysql 报错 [root@localhost mysql-mult]# ./scripts/mysql_install_db --defaults-file=conf/3306my.cnf FATAL ERROR: please install the following Perl mo
阅读全文
摘要:原因:缺少libaio库文件 解决方法:yum install libaio* -y
阅读全文
摘要:如题:配置编译参数通过,在进行 make 的时候报如下错误: In file included from progname.c:26:0: ./stdio.h:1010:1: error: ‘gets’ undeclared here (not in a function) _GL_WARN_ON_
阅读全文
摘要:如题:配置编译参数通过,在进行 make 的时候报如下错误: In file included from progname.c:26:0: ./stdio.h:1010:1: error: ‘gets’ undeclared here (not in a function) _GL_WARN_ON_
阅读全文