weedfs getsockopt: connection timed out
启动master
weed master -ip 10.191.197.133 -mdir /namenode -ip.bind 10.191.197.133
I0809 16:53:51 7721 file_util.go:20] Folder /namenode Permission: -rwxr-xr-x
I0809 16:53:51 7721 master_server.go:59] Volume Size Limit is 30000 MB
I0809 16:53:51 7721 master.go:69] Start Seaweed Master 0.70 at 10.191.197.133:9333
I0809 16:53:51 7721 raft_server.go:103] Old conf,log,snapshot should have been removed.
I0809 16:54:20 7721 master_server.go:89] [ 10.191.197.133:9333 ] 10.191.197.133:9333 becomes leader.
I0809 16:54:21 7721 node.go:208] topo adds child DefaultDataCenter
I0809 16:54:21 7721 node.go:208] topo:DefaultDataCenter adds child DefaultRack
I0809 16:54:21 7721 node.go:208] topo:DefaultDataCenter:DefaultRack adds child 10.91.197.158:8100
I0809 16:54:21 7721 node.go:208] topo:DefaultDataCenter:DefaultRack adds child 10.91.197.119:8200
I0809 16:56:39 7721 volume_growth.go:206] Failed to assign volume 7 to [Node:topo:DefaultDataCenter:DefaultRack:10.91.197.119:8200, volumes:map[], Ip:10.91.197.119, Port:8200, PublicUrl:10.91.197.119:8200, Dead:false] error Post http://10.91.197.119:8200/admin/assign_volume: dial tcp 10.91.197.119:8200: getsockopt: connection timed out
启动两个volume
nerc@svr1:~$ weed volume -dir /datanode -mserver 10.191.197.133:9333 -max 100 -ip 10.91.197.158 -port 8100
I0809 16:49:00 1944 file_util.go:20] Folder /datanode Permission: -rwxr-xr-x
I0809 16:49:00 1944 store.go:227] Store started on dir: /datanode with 0 volumes max 100
I0809 16:49:00 1944 volume.go:138] Start Seaweed volume server 0.70 at 0.0.0.0:8100
I0809 16:49:00 1944 volume_server.go:73] Volume server bootstraps with master 10.191.197.133:9333
I0809 16:52:31 1944 store.go:48] Reset master 10.191.197.133:9333 from: [10.191.197.133:9333 10.191.197.133:9333]
I0809 16:54:21 1944 volume_server.go:85] Volume Server Connected with master at 10.191.197.133:9333
nerc@svr2:/$ weed volume -dir /datanode -mserver 10.191.197.133:9333 -max 100 -ip 10.91.197.119 -port 8200
I0809 16:49:03 18927 file_util.go:20] Folder /datanode Permission: -rwxr-xr-x
I0809 16:49:03 18927 store.go:227] Store started on dir: /datanode with 0 volumes max 100
I0809 16:49:03 18927 volume.go:138] Start Seaweed volume server 0.70 at 0.0.0.0:8200
I0809 16:49:03 18927 volume_server.go:73] Volume server bootstraps with master 10.191.197.133:9333
I0809 16:52:37 18927 store.go:48] Reset master 10.191.197.133:9333 from: [10.191.197.133:9333 10.191.197.133:9333]
I0809 16:54:21 18927 volume_server.go:85] Volume Server Connected with master at 10.191.197.133:9333
尝试在另一台机器运行CURL
root@cubieboard4:~# curl -X POST http://10.191.197.133:9333/dir/assign
{"error":"Cannot grow volume group! Failed to assign 7: Post http://10.91.197.119:8200/admin/assign_volume: dial tcp 10.91.197.119:8200: getsockopt: connection timed out"}
报错信息
I0809 16:56:39 7721 volume_growth.go:206] Failed to assign volume 7 to [Node:topo:DefaultDataCenter:DefaultRack:10.91.197.119:8200, volumes:map[], Ip:10.91.197.119, Port:8200, PublicUrl:10.91.197.119:8200, Dead:false] error Post http://10.91.197.119:8200/admin/assign_volume: dial tcp 10.91.197.119:8200: getsockopt: connection timed out
133 ubuntu 16.04 64
158 119 ubuntu14.04 64
通过每台机器的排查发现是master机无法向外通信,原因不明,继续排查。
但通过换一台机器问题解决
weedfs getsockopt: connection timed out的更多相关文章
- kubernetes dashboard 安装时出现9090: getsockopt: connection refused错误
转载于:https://blog.csdn.net/lucy06/article/details/79082302 安装kubernetes dashboard时,出现错误: Error: 'dia ...
- ssh启动报错:org.dom4j.DocumentException: Connection timed out: connect Nested exception: Connection timed out: connect
ssh项目启动报错: org.dom4j.DocumentException: Connection timed out: connect Nested exception: Connection t ...
- rabbitMQ Connection timed out
在VM中部署了一个rabbitMQ server ,在物理机上按照rabbitMQ官网上的 java的教程访问VM中的rabbitMQ报如下错误: Exception in thread " ...
- nginx 报错 upstream timed out (110: Connection timed out)解决方案
nginx 作PHP的web接口服务器. 在线上发现时不时经常崩溃.504,导致接口访问无响应回复. 查看日志: [error] 11618#0: *324911 upstream timed out ...
- 压测 502 日志报错 upstream timed out (110: Connection timed out)
环境介绍 服务器:centos6.5服务:nginx proxy 问题描述: 压测 开发同事 的开发环境项目没事,但是 线上机器 命中%50 ,大量502 php的某些页面打不开,页面提示gatewa ...
- hibernate3.0 org.dom4j.DocumentException: Connection timed out: connect Nested exception:
hibernate3.0 org.dom4j.DocumentException: Connection timed out: connect Nested exception: 所报异常: 严重 ...
- nginx 报错 upstream timed out (110: Connection timed out)解决方案【转】
转自 nginx 报错 upstream timed out (110: Connection timed out)解决方案 - 为程序员服务http://outofmemory.cn/code-sn ...
- 项目的ip地址更改,用git从远程提取代码出现错误,提示为 network error connection timed out
昨天公司的ip进行了修改,在今天从远程提取代码的过程中提示network error connection timed out错误,从网上看了一下解决方法 1:打开项目文件夹,点击查看 2:勾选隐藏的 ...
- AndroidStudio升级后出现Refresh gradle project和connection timed out的原因和解决方法
笔者发现现在升级AndroidStudio不需要FQ了,于是在看到了升级提醒后手贱点击了升级.可悲剧的一幕发生了, 正在写的一个项目从上到下密密麻麻的错误,看了一下提示要求升级Gradle 那就升级吧 ...
随机推荐
- python使用xlrd模块读写excel
1.行列索引均从0开始2.int数据被读成float数据,解决办法,if type(value) == float and value%1 == 0,value= int(value)模块读 #!/u ...
- SPOJ bsubstr
题目大意:给你一个长度为n的字符串,求出所有不同长度的字符串出现的最大次数. n<=250000 如:abaaa 输出: 4 2 1 1 1 spoj上的时限卡的太严,必须使用O(N)的算法那才 ...
- 重载Python FTP_TLS 实现Implicit FTP Over TLS方式下载文件
对于Python2.7来说,内置的FTP_TLS类并不支持Implicit FTP Over TLS加密方式的FTP Server操作,为支持Implicit FTP Over TLS加密方式,必须重 ...
- 用Maven新建Web项目时报错
在cmd下,用mvn命令 mvn archetype:create -DgroupId=org.seckill -DartifactId=seckill -DarchetypeArtifactId=m ...
- VS2010中App_Code文件夹的问题
在VS2010中新建一个Web Application,然后新建一个app_Code文件夹, 在app_code文件夹下建一个ClassHelper类. 然后在index页面中使用ClassHelpe ...
- 设置maven默认的JDK版本
在pom文件中添加如下 : <build> <plugins> <plugin> <groupId>org.apache.maven.plugins&l ...
- java和h5 canvas德州扑克开发中(一)
先附上我的德州扑克测试地址 http://120.26.217.116:8080/LxrTexas/texasIndex.html 我和一个朋友的德州扑克历时一个多月开发,目前已经基本可玩. 前端主要 ...
- eclipse 安装svn插件
1.下载最新的Eclipse,我的版本是3.7.2 indigo(Eclipse IDE for Java EE Developers)版 如果没有安装的请到这里下载安装:http://ecli ...
- 【菜鸟学习jquery源码】数据缓存与data()
前言 最近比较烦,深圳的工作还没着落,论文不想弄,烦.....今天看了下jquery的数据缓存的代码,参考着Aaron的源码分析,自己有点理解了,和大家分享下.以后也打算把自己的jquery的学习心得 ...
- ORA-12519, ORA-00020异常产生原因及解决方案
近期在做项目的过程中,使用oracle时碰到了如下两个异常: ORA-12519, TNS:no appropriate service handler found: ORA-00020:maximu ...