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 那就升级吧 ...
随机推荐
- 批量修改sql server 2008的架构
--批量修改架构.名称为XJADMINATT的所有表修改为dbo-- --把执行的结果,拷贝到命令行,执行命令即可-- declare @name sysname declare csr1 curso ...
- YII rules常见规则
public function rules() { return array( //必须填写 array('email, username, password, ...
- css3 打勾 打叉
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/ ...
- Python入门3
字典 字典四种创建方法: 1. dic = dict() print(dic) # 相当于 dic1 = {} print(dic1) # 输出 {} {} 2. dic = dict(one=1, ...
- View 的 focus 和 selected 状态, TabContainer实现
View的 isFocusableInTouchMode() 默认是 false, 需调用 setFocusableInTouchMode(true) 才为true要让 button 等 view 调 ...
- windows和linux实现文件共享
linux和windows实现共享,需要安装samba服务器 安装步骤: 1.查看是否已经安装samba rpm -q samba 2.如果已经安装,如果你想再次安装,可以卸载 rpm -e samb ...
- SearchBar 修改 cancel button 文字 及颜色
#pragma mark - - (BOOL)searchBarShouldEndEditing:(UISearchBar *)searchBar{ _searchController.searchB ...
- js运动框架之掉落的扑克牌(重心、弹起效果)
玩过电脑自带纸牌游戏的同志们应该都知道,游戏过关后扑克牌会依次从上空掉落,落下后又弹起,直至"滚出"屏幕. 效果如图: 这个案例的具体效果就是:点击开始运动,纸牌会从右上角掉 ...
- Junit4参数化测试实现程序与用例数据分离
http://touchfu.iteye.com/blog/732930 现状:你是不是还在为自己的TestCase代码杂乱无章而苦恼,咎其根本还在于针对不同的用例,输入参数和mock信息的组装全部作 ...
- Django 之 models的 F() 和 Q() 函数
前提: app名称为core,models.py 如下: #coding: utf8 import datetime from django.db import models class Order( ...