cat /var/log/zabbix_agent_log 查看日记出现报错:active check configuration update from [127.0.0.1:10051] started to fail (cannot connect to [[127.0.0.1]:10051]: [111] Connection refused) vi /etc/zabbix/zabbix_agent_conf 注释掉ServerActive=127.0.0.1…
Android Studio 当前版本1.0.1, 官网新版本1.1.0, 通过 Check for Update...升级, 提示 Connection failed. Please check your network connection and try again. 操作系统 Win7 X64 系统 解决方案: 修改 \Android Studio\bin 下的文件 studio.exe.vmoptions & studio64.exe.vmoptions. 添加如下内容重启 Andro…
Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information. 在VS2012上运行一些.net是2.0版本的dll时,会弹出如此错误.大致意思是:混合模式引用是建立针对版本“v2.0.50727”的运行时,不能加载在4.0运行时没有额外的配置信…
Maven构建项目的时候提示: Description Resource Path Location Type Project configuration is not up-to-date with pom.xml. Run project configuration update GamesMarket line 1 Maven Configuration Problem 如下图操作即可:…
在zabbix server默认配置下,出现告警:Less than 25% free in the configuration cache,字面意思是:可用的配置缓存少于25%. 报错如下图: 增加zabbix配置缓存 修改zabbix_server.conf配置文件   1 2 3 4 找到 # CacheSize=8M 修改为 CacheSize=16M 将缓存从8M提升到16M,如果不足你可以调到最高8G,当然了,能用8G那是几乎不可能的. 重启zabbix server systemc…
解决方法: 1.安装clang 第一步:首先打开VScode编辑器 第二步:点击左侧“应用商店”栏 第三步:在“应用商店搜索拓展”栏输入关键字“clang” 第四步:安装提示的“C/c++ clang command”插件 2.访问提示的网址:http://clang.llvm.org/ 下载 Clang for Windows 3.双击安装. 把安装目录下的bin目录添加到环境变量. 4.重启 VSCode 即可.…
网上查到http://social.msdn.microsoft.com/Forums/vstudio/en-US/58271e39-beca-49ac-90f9-e116fa3dd3c0/mxed-mode-dll-unable-to-load-in-net-40?forum=clr 解决方案如下: The only way the app config updates worked for me was to add it both to the dll assembly and the p…
To update the dependencies in the project, we can run: npx npm-check -u…
Zabbix agent 在windows上安装部署 1.  下载与解压 地址: http://www.zabbix.com/downloads/2.4.0/zabbix_agents_2.4.0.win.zip 解压zabbix_agents_2.4.0.win.zip conf目录存放是agent配置文件 bin文件存放windows下32位和64位安装程序 2.  配置与安装 2.1 配置zabbix agent相关配置. 找到conf下的配置文件 zabbix_agentd.win.co…
解决方案 在zabbix_agentd.conf中添加这些. BufferSend = 10 BufferSize = 150 MaxLinesPerSecond = 100 Timeout = 29 重新启动代理 ps -ef | grep zabbix | grep -v grep | awk '{print $2}' | xargs kill -9 在zabbix_server里面添加 Timeout = 29 重启zabbix_server ps -ef | grep zabbix_se…
1.Q:  agent日志中出现“active check configuration update from [127.0.0.1:10051] started to fail (cannot connect to [127.0.0.1:10051]:Connection refused)”,如图: A:编辑zabbix_agentd.conf,注释或者修改ServerActive=127.0.0.1(更新为zabbix_server或者代理服务器IP)即可. ServerActive=127…
zabbix报错 https://www.cnblogs.com/losbyday/category/876878.html作者总结的很全棒 1.在启动zabbix-agent 时系统日志输出 PID file /run/zabbix/zabbix_agentd.pid not readable (yet?) after star zabbix-agent.service never wrote its PID file. Failing 重启zabbix-agent服务依旧不能正常启动,查看/…
①报错: zabbix_agentd [20529]: cannot create Semaphore: [28] No space left on device zabbix_agentd [20529]: unable to create mutex for log file centos6.5装上agent之后,却发现启动不了,日志里面报错如下: zabbix_agentd [20529]: cannot create Semaphore: [28] No space left on de…
问题1: 上图是我已经解决了的截图.在百度查询的资料中,说是把zabbix_agentd.conf文件中server监听的主机127.0.0.1去掉,但是我去掉之后问题仍然没有解决,最后在这篇博客上发现:是我防火墙启动了的原因,至于防火墙启动大概是我安装bt的时候脚本中启动了,将防火墙stop之后,问题解决. 查看agentd日志: [root@VM_0_10_centos src]# tail -f /tmp/zabbix_agentd.log 32170:20191204:164250.03…
关于Zabbix服务端布署请查看 1.上传zabbix安装包(源码包默认(Server和Agent是一起的)) [root@sms-v2 ~]# ll /root/ -rw-r--r-- root root 11月 : zabbix-.tar.gz 2.安装依赖包 [root@sms-v2 ~]# yum install gcc gcc-c++ pcre-devel -y 3.创建运行用户 #创建组用户 [root@sms-v2 ~]# groupadd zabbix #创建用户 [root@s…
server : Ubuntu 16.04 zabbix: 2.2.23源码包 安装 gcc,curl,make,snmp 软件和zabbix依赖一些php 扩展包 sudo apt-get install curl gcc make snmp php-gd php-mysql php-bcmath php-mbstring php-xml php-curl libcurl3 libcurl4-openssl-dev 安装 Apache,Mysql,PHP,PHPMyadmin sudo apt…
zabbix报错  原文:https://www.cnblogs.com/dbslinux/p/9465803.html https://www.cnblogs.com/losbyday/category/876878.html作者总结的很全棒 1.在启动zabbix-agent 时系统日志输出 PID file /run/zabbix/zabbix_agentd.pid not readable (yet?) after star zabbix-agent.service never wrot…
安装zabbix源 1.rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm2.yum clean all 安装zabbix server和agent 1.yum install zabbix-server-mysql zabbix-agent 安装scl软件集 1.yum install centos-release-scl 修改镜像源配置,设置zabbix-f…
昨天发现有一台Windows服务器无法向zabbix服务端汇报数据.经过检查Windows上的客户端日志,可以看到以下错误. 31976:20200206:154445.873 active check configuration update from [192.168.3.61:10051] started to fail (cannot connect to [[192.168.3.61]:10051]: [0x00002747] 由于系统缓冲区空间不足或队列已满,不能执行套接字上的操作.…
一.安装错误 1.zabbix 安装故障之无法跳到下一步或点击下一步没反应 执行命令:chownnginx:nginx /var/lib/php/session/ -R   2.proxy上无法采集交换机数据 yum install net-snmp net-snmp-utils   3.2.2.4升级到3.0,提示缺少参数HistoryIndexCacheSize  21076:20160714:115534.776 [file:dbcache.c,line:2610] zbx_mem_rea…
下载与解压 下载zabbix_agents_2.2.0 http://www.zabbix.com/downloads/2.2.0/zabbix_agents_2.2.0.win.zip 解压到C盘下面, 安装不一定解压到C盘下面, 但是配置文件一定在C盘根目录下 进入文件夹后看到的是 conf目录存放是agent配置文件 bin文件存放windows下32位和64位安装程序 配置zabbix_agentd.win.conf 找到conf下的配置文件 zabbix_agentd.win.conf…
1.命令简介 less(less)  命令可以对文件或其它输出进行分页显示,与moe命令相似,但是比more命令要强大许多.应该说是linux正统查看文件内容的工具. 2.用法 less [选项]... [文件]... 3.选项 --------------------------------------------------------------------------- OPTIONS Most options may be changed either on the command l…
###############################安装######################################## 安装部分我写了文档,可能不是很完善 文档如下→→ [root@db01 ~]# cd /server/tools [root@db01 tools]# wget -q http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm [root@db…
故障现象: 客户端报错:service zabbix-agent 启动后,端口没有被正常监听,服务端也无法正常连接 将客户端改为二进制文件安装也不能正常启动/usr/local/zabbix/sbin/zabbix_agentd -c /usr/local/zabbix/conf/zabbix_agentd.conf 百度找了很久也没人碰到这种情况,解决思路也是也简单 环境: 服务端 操作系统:centos 7.0 zabbix server 3.0.4 客户端: centos6.5 x86_6…
记一次纠错大战 本来今天开开心心地部署nginx和uwsgi到我的Django服务器,刚想给老师演示一遍我这项目如何酷炫时,一登陆就出现mysql连接不上了 (2003, "Can't connect to MySQL server on 'localhost' ([Errno 111] Connection refused)") 这可把我急坏了,然后到服务器上看(用的时百度云BCC),发现mysql连接时一直报: ERROR 2002 (HY000): Can't connect t…
如何解决远程连接mysql出现Can’t connect to MySQL server on (111 “Connection refused”)的问题 开放Mysql的远程连接 在服务器上登录mysql,然后执行以下的命令. 登录mysql: /usr/local/mysql-5.6/bin/mysql -u root -p 执行赋权的命令: MySQL> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'IDENTIFIED BY '123456' WITH…
Centos7安装Zabbix4.0步骤 官方搭建zabbix4.0的环境要求: 1. 环境搭建LAMP 前提Centos系统安装完成:  确认一下: 1 2 cat /etc/redhat-release #  查看CentOS版本  cat /proc/version         #查看存放与内核相关的文件 1.1 搭建之前的操作 1.1.1 升级系统组件到最新的版本 1 yum -y update 1.1.2 关闭selinux  1 vi /etc/selinux/config   …
1.cpu load https://blog.csdn.net/scugxl/article/details/77199403 1)基本含义:运行队列长度,表示当前有多少个正在等待的进程和正在执行的进程个数总和 2)单核CPU,为1代表100%CPU使用率,即CPU时间片都在计算 3)多核CPU,为1代表其中一个CPU100%使用率,比如双核,使用率也就是50% 4)一般而言,load的数值不应该超过CPU核心数 5)查看1/5/15分钟CPU load:uptime,top 6)查看CPU核…
先把防火墙和selinux关闭: sytemctl stop firewalld setenforce 0 1.yum安装依赖: yum -y install wget openssl* gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-d…
本篇是基于zabbix 源码安装的 [root@localhost conf]# curl "http://192.168.0.73:8080/nginx_status" Active connections: server accepts handled requests Reading: Writing: Waiting: [root@localhost conf]# curl -s "http://192.168.0.73:8080/nginx_status"…