启动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. 【svn】svn 项目地址修改

    1.IDEA修改 确定OK. 2.TortoiseSVN修改 选择项目目录右键->TortoiseSVN->重新定位(Relocate),然后修改URL, 3.Mac OS或Linux客户 ...

  2. arcgis 10.2连接Oracle

  3. javaweb页面上展示动态图片

    HTML <img alt="点击设定" name="CONSTRUCTIONPLANHIS_IMAGE_curr_img_0" src="vi ...

  4. [Linux] -Docker修改空间大小

    Docker默认空间大小分为两个,一个是池空间大小,另一个是容器空间大小. 池空间大小默认为:100G 容器空间大小默认为是:10G 所以修改空间大小也分为两个: 这里使用centos下的yum进行安 ...

  5. Gridview 分多页时导出excel的解决方案

    在开发会遇到将gridview中的数据导入到excel 这样的需求,当girdview有多页数据时按照一般的方式导出的数据只可能是当前页的数据,后几页的数据还在数据库内,没有呈现到页面上,传统的方式是 ...

  6. Ajax服务请求原理 简单总结

    刚开始以为Ajax是一种新的语言,接触之后才知道,ajax是用于服务器交换数据并更新部分网页的Web应用程序的技术. 第一次看到Ajax请求代码时,感觉一脸萌逼,这些代码竟然把后台数据请求过来了,神奇 ...

  7. 黄聪:远程序桌面登录的.NET(C#)开发

    MSTSCLib.dll和MsTscAxWrapper.dll下载:LibDll.rar 远程序桌面登录的.NET开发,可以使用MSTSCLib.dll和MsTscAxWrapper.dll两个转换过 ...

  8. 【学】ECMA6的新特性1

    ECMA6的新特性1 let特性: 1.不允许重复声明 2.没有预解析 3.块级作用域 一对{}包括的区域称为代码块 块级作用域指一个变量或者函数只在该区域才起作用. 例1: console.log( ...

  9. 使用git新建分支以及管理分支

    在进行分支相关的操作前, 我们需要保持主分支干净, 所谓的干净就是没有任何改变(所有更改都已经commit 并 push),那么你可以在任何时候从你的主分支创建一个新分支. 为了方便代码管理,我们应该 ...

  10. git服务器新增仓库

    在已有的git库中搭建新的库,并将本地的git仓库,上传到服务器的git库中,从而开始一个新的项目. 首先是在本地操作: 在本地新建文件夹spider,进入到spider中:如下