启动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的更多相关文章

  1. kubernetes dashboard 安装时出现9090: getsockopt: connection refused错误

    转载于:https://blog.csdn.net/lucy06/article/details/79082302 安装kubernetes  dashboard时,出现错误: Error: 'dia ...

  2. 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 ...

  3. rabbitMQ Connection timed out

    在VM中部署了一个rabbitMQ server ,在物理机上按照rabbitMQ官网上的 java的教程访问VM中的rabbitMQ报如下错误: Exception in thread " ...

  4. nginx 报错 upstream timed out (110: Connection timed out)解决方案

    nginx 作PHP的web接口服务器. 在线上发现时不时经常崩溃.504,导致接口访问无响应回复. 查看日志: [error] 11618#0: *324911 upstream timed out ...

  5. 压测 502 日志报错 upstream timed out (110: Connection timed out)

    环境介绍 服务器:centos6.5服务:nginx proxy 问题描述: 压测 开发同事 的开发环境项目没事,但是 线上机器 命中%50 ,大量502 php的某些页面打不开,页面提示gatewa ...

  6. hibernate3.0 org.dom4j.DocumentException: Connection timed out: connect Nested exception:

    hibernate3.0 org.dom4j.DocumentException: Connection timed out: connect Nested exception:   所报异常: 严重 ...

  7. nginx 报错 upstream timed out (110: Connection timed out)解决方案【转】

    转自 nginx 报错 upstream timed out (110: Connection timed out)解决方案 - 为程序员服务http://outofmemory.cn/code-sn ...

  8. 项目的ip地址更改,用git从远程提取代码出现错误,提示为 network error connection timed out

    昨天公司的ip进行了修改,在今天从远程提取代码的过程中提示network error connection timed out错误,从网上看了一下解决方法 1:打开项目文件夹,点击查看 2:勾选隐藏的 ...

  9. AndroidStudio升级后出现Refresh gradle project和connection timed out的原因和解决方法

    笔者发现现在升级AndroidStudio不需要FQ了,于是在看到了升级提醒后手贱点击了升级.可悲剧的一幕发生了, 正在写的一个项目从上到下密密麻麻的错误,看了一下提示要求升级Gradle 那就升级吧 ...

随机推荐

  1. 5G扫盲

    打开手机,连接wifi,如果想要下载一部自己喜欢的高清电影,一般需要半小时左右的时间.5G时代,你可能花费不到1分钟就能完成这些操作.更快的网速.更多的应用意味着更广阔的市场空间,也意味着更激烈的市场 ...

  2. 为什么上传文件的表单里面要加一个属性enctype=multipart/form-data?

    首先知道enctype这个属性管理的是表单的MIME编码.共有三个值可选:1.application/x-www-form-urlencoded2.multipart/form-data3.text/ ...

  3. [转]windows下编译及使用libevent

    http://www.cnblogs.com/luxiaoxun/p/3603399.html Libevent官网:http://libevent.org/ windows 7下编译: 编译环境:  ...

  4. spring mvc 深入学习

    参考文章: 第二章 Spring MVC入门 —— 跟开涛学SpringMVC Spring MVC 3.0 深入总结:http://blog.csdn.net/sunitjy/article/det ...

  5. Ill-conditioned covariance create

    http://www.mathworks.com/matlabcentral/answers/100210-why-do-i-receive-an-error-while-trying-to-gene ...

  6. javascript工具函数

    第一部分 JavaScript工具函数 转义特殊字符为html实体   HtmlEncode: function(str){ return str.replace(/&/g, '&') ...

  7. mac java 安装路径

    google了一下,发现了这篇文章Important Java Directories on Mac OS X,可以使用工具命令"/usr/libexec/java_home"来定 ...

  8. Lab_6_SysOps_AutoScaling_Linux_v2.5

    System Operations - Lab 6: Using Amazon Elastic Load Balancer (Linux) - 2.5 ======================== ...

  9. About SOuP

    http://www.soup-dev.com - SOuP的强大我不必多说. - Maya 也可以开发出象houdini这样有趣的节点,这再soup之前是很难想象的.所以说soup的作者Peter的 ...

  10. Android Studio项目目录结构介绍

    在Android Studio中,提供了以下几种项目结构类型 我们一般常用的有以下两种结构: Project 结构类型 app/build/ app模块build编译输出的目录 app/build.g ...