监控zabbix服务端这台服务器,然后显示Get value from agent failed: cannot connect to [[127.0.0.1]:10050]: [111] Connection refused 看到agent然后又看到10050端口 直接telnet语句去检测 第一种:端口不通 解决方法: agent端的ip为192.168.85.11,server端的ip为192.168.85.11 本地电脑WIN7系统,执行语句 telnet 192.168.85.11 1…
一.问题描述 部署完Zabbix agent之后,Server无法获取到数据.报错.报错信息如下: Get value from agent failed: cannot connect to [[1.1.1.1]:10050]: [4] Interrupted system call 二.问题分析 服务端ping zabbix-agent没问题 服务端telnet zabbix-agent的10050端口也是通的,说明agent机器没问题 在服务端获取agent的数据 ./zabbix_get…
客户端配置zabbix-agent 后,网页端出现Get value from agent failed: cannot connect to [[192.168.186.130]:10050]: [113]No route to host的错误,主机没法被监听 1.服务器端ping 客户端 ping 192.168.186.130 2.如果能ping通,则是因为防火墙的原因,需关闭防火墙 service iptables stop #关闭防火墙 chkconfig iptables off #…
不知道是否有同学遇到如下的问题: p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo } span.s1 { } git clone https://github.com/istester/ido.git    #一个git仓库. 确收到如下报错: Cloning into 'hosts'... fatal: unable to access 'https://github.com/racaljk/hosts.git/': Fai…
zabbix 监控连接失败 1.查看配置文件端口,server端口10051开启正常,agent端10050开启正常 2.查看/var/log/zabbix/zabbix_server.log./var/log/zabbix/zabbix_agent.log没有有用提示 3.查找了好久,发现防火墙少开了10051端口,给跪 #firewall-cmd --permanent --zone=public --add-port=10051/tcp #firewall-cmd --reload 等一会…
如何解决远程连接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…
转载自:http://www.cnblogs.com/xiaoit/p/3867573.html 1:启动MongoDB 2014-07-25T11:00:48.634+0800 warning: Failed to connect to 127.0.0.1:27017, reason: errno:10061 由于目标计算机积极拒绝,无法连接. 2:添加一配置文件 ##数据文件 dbpath=E:\ruanjian\MongoDB\data ##日志文件 logpath=E:\ruanjian…
nginx一直报错, 2016/12/02 10:23:19 [error] 1472#0: *31 connect() failed (111: Connection refused)while connecting to upstream, client: 101.18.123.107, server: localhost 网上说是php相关的,但是我没有使用php. 我这边是因为远程服务器(client)要ping我的服务器,但是我的服务器禁用了ping,一直出错.允许ping即可.…
1:启动MongoDB 2014-07-25T11:00:48.634+0800 warning: Failed to connect to 127.0.0.1:27017, reason: errno:10061 由于目标计算机积极拒绝,无法连接. 2:添加一配置文件 ##数据文件 dbpath=E:\ruanjian\MongoDB\data ##日志文件 logpath=E:\ruanjian\MongoDB\log\mongo.log 添加相应目录和文件,如下图所示 3: C:\User…
某天,用git拉取,提交代码的时候出现了git Failed to connect to 127.0.0.1 port xxxx: Connection refused的问题, 开始百度,看了一通.都是如下路数,在git bash中: 方式一 首先,查一下代理: git config --global http.proxy 有没有呢,有就取消 git config --global --unset http.proxy 再查 git config --global https.proxy 有没有…
使用nginx时, 有可能遇到connect() failed (111: Connection refused) while connecting to upstream的问题. 如果upstream是fastcgi://127.0.0.1:9000,造成这个问题的原因大致有三个 1.php-fpm没有安装 centos安装php php-fpm 以及 配置nginx 2.php-fpm没有运行 可查看端口是否存在,默认端口是9000 netstat -ant | /usr/local/php…
安装好nginx,php环境后,配置虚拟主机,结果访问后就报502 gateway,查看日志文件后,显示错误如下: 2019/04/29 16:24:39 [error] 19433#19433: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.52, server: 192.168.1.222, request: "GET / HTTP/1.1"…
由于项目需要,在一台虚拟机上安装了MongoDB,但是在启动的时候,出现如下错误: [root@localhost bin]# ./mongo MongoDB shell version v3.4.0 connecting to: mongodb://127.0.0.1:27017 2018-09-27T21:11:14.779+0800 W NETWORK [main] Failed to connect to 127.0.0.1:27017, reason: Connection refus…
公司网站搬迁到新服务器后,发现站点访问不了,network里面提示502,查看相关的server配置,感觉没有什么问题,经过测试发现txt.html.等非php文件能够直接访问,也就是php访问不了,初步断定有可能是php-fpm没有安装或者没有启动导致. 首先判断php-fpm是否已经安装,没有安装的情况就需要先安装php-fpm,安装可以参数相关资料. 确定好服务器已经安装了php-fpm之后,查看是否已经启动或者直接重启: [root@izwz9glf2r6p2z8ytslvblz /]#…
错误: fatal: unable to access 'https://github.com/******': Failed to connect to 127.0.0.1 port 1080: Connection refused package github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz/...: exit status 128 解决方法: 1.打开C:\Users\*****文件下 .…
使用Github pull 代码突然报错: Failed to connect to 127.0.0.1 port 43421: Connection refused 使用 lsof 发现端口未被占用:lsof -i:45463 查看代理:env|grep -i proxy NO_PROXY=localhost,127.0.0.0/8,::1 http_proxy=http://127.0.0.1:45463/ HTTPS_PROXY=http://127.0.0.1:45463/ https_…
今天访问公司的网站突然报错,抛出一些英文,提示看一下Nginx的error.log日志: cd  /usr/local/nginx/logs/  看到了error.log ,下一步 tail -n 20 error.log  看到了报错的内容: connect() failed (111: Connection refused) while connecting to upstream 从英文可以看出连接PHP进程管理器失败,于是看了一下PHP进程管理器的状态,service php-fpm s…
今天我用curl命令,无论如何都是出现: curl: (7) Failed to connect to 127.0.0.1 port 1086: Connection refused 找了很久,不知道是什么问题,后来发现curl有一个配置文件: ~/.curlrc 里面的内容是: socks5 = "127.0.0.1:1086" 注释掉就好了.…
今天我用curl命令,无论如何都是出现: curl: (7) Failed to connect to 127.0.0.1 port 1086: Connection refused 找了很久,不知道是什么问题,后来发现curl有一个配置文件: ~/.curlrc 里面的内容是: socks5 = "127.0.0.1:1086" 注释掉就好了.…
1:启动MongoDB 2014-07-25T11:00:48.634+0800 warning: Failed to connect to 127.0.0.1:27017, reason: errno:10061 由于目标计算机积极拒绝,无法连接. 2:添加一配置文件 ##数据文件 dbpath=E:\ruanjian\MongoDB\data ##日志文件 logpath=E:\ruanjian\MongoDB\log\mongo.log 添加相应目录和文件,如下图所示 3: C:\User…
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…
嗯哼,刚装了个ubuntu的lnmp,我的天啊,踩的坑比我脂肪还多了 比如刚装完的时候访问显示502, 也不知道什么问题,就去看了一下nginx日志  /var/log/nginx/error.log,发现了这个错误 2018/06/03 13:38:23 [error] 21332#21332: *301 connect() failed (111: Connection refused) while connecting to upstream, client: 115.159.183.71…
在公司换了一台电脑之后发现git clone 和 npm install都失败,报错为 fatal: unable to access 'https://github.com/netease-im/NIM_PC_UIKit/': Failed to connect to 127.0.0.1 port 1080: Connection refused 产生原因:本地使用了端口代理,导致连接失败 解决办法:在本机全局搜索 gitconfig 打开文件,删除有关proxy的所有行,只删除与 proxy…
今天把项目提交的git远程的时候遇到一个问题 fatal: unable to access '': Failed to connect to 127.0.0.1 port 1181: Connection refused 然后我就搜了一下,发现是因为最近使用了代理,然后.gitconfig里面多了两行代理相关的配置,就是这几行 [http] sslVerify = false proxy = http://127.0.0.1:1181 [https] proxy = http://127.0.…
启动 NFS 守护进程:rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused) rpc.nfsd: unable to set any sockets for nfsd   解决办法就是重新启动rpcbind服务即可: service rpcbind restart service nfs restart…
nfs重启时提示: rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused) 解决办法: 1 #service rpcbind restart 2 #service nfs start…
1. Mysql连接问题 远程访问mysql或者通过docker访问宿主机mysql经常会碰到下面的问题: Can't connect to MySQL server on (111 "Connection refused") 解决 找到自己MySQL数据库配置文件的位置,编辑 /etc/mysql/mysql.conf.d# vi mysqld.cnf 将 bind_address 127.0.0.1 注释掉 2. 开放远程连接后,会出现第二个问题: "Host 'x.x.…
配置好lamp后,在浏览器中运行程序后,出现上面的错误. 转自:http://www.xuejiehome.com/blread-1828.html I'm experiencing 502 gateway errors when accessing a PHP file in a directory (http://domain.com/dev/index.php), the logs simply says this: // :: [error] #: * connect() failed…
在安装配置完zabbix_agentd以后,网页端出现  Get value error: cannot connect to [[192.168.238.139]:10050]: [113] No route to host 错误,客户端主机无法被监听 解决方法: 首先在服务端ping一下客户端的IP,看是否能够ping通,若能ping通,则是防火墙的问题,关闭客户端防火墙即可! systemctl stop firewalld.service  #停止firewall systemctl d…