Linux.ChinaUnix.net
ChinaUnix | Linux首页 | 新闻 | 博客 | 文章 | 专栏 | 新手 | 方案 | 图书 | 下载 | 人才 | 手册 | wiki | 搜索     
Linux论坛
  会员: 密码: 免费注册 | 忘记密码 | 会员登录 | 搜索 | 帮助 


奥运快报: 
奥运热点:
 

hb_gui on 2.0.8: Can't connect to server

首页 » CU论坛 » Linux » 汇总贴列表 » 集群和虚拟机 »  
[打印] [订阅] [收藏] [推荐给朋友] [本帖文本页]
wangdonsy (拒绝在玩)
圣骑士




UID:134166
注册:2004-2-18
最后登录: 2008-09-04
帖子:109
精华:0

可用积分:620 (稍有积蓄)
信誉积分:100
专家积分:0 (本版:0)
空间积分:0
推广积分:0

状态:...离线...

[资料] [站内短信] [Blog]


顶部
1楼 发表于 2008-6-26 10:05 
Upon installation of heartbeat and its assorted RPMs, I've found that the
symlink to haclient.py is incorrect. It should be:

/usr/bin/hb_gui -> /usr/lib/heartbeat-gui/haclient.py

After setting the ip, username and password, the console returns the
following error:

TypeError: mgmt_connect() argument 4 must be string, not None

After looking at the function call, it seems the port assignment was
missing:

ret = mgmt_connect(ip, username, password, port)

This is a bit misleading, but OK. Adding the ":694" after the IP/hostname
seems to make it happy.

My real problem is trying to connect to the server. it keeps saying that it
"Can't connect to server". I've made sure that heartbeat is running and it
is listening on that port (netstat says it is), but I can't seem to connect.

Is anyone else having these problems? I've thought about downgrading to
2.0.7, but not sure if that's the right thing to do here.



您对本贴的看法:鲜花[0] 臭蛋[0]
空间积分可以换礼品了! | 有奖跟帖:服务器节能,奖50-100元图书 | 致电800-858-2903,了解DELL如何为你量身订制笔记本 | 送2G U盘
rainbow
精灵



UID:11441
注册:2002-6-27
最后登录: 2008-08-13
帖子:209
精华:0

可用积分:181 (白手起家)
信誉积分:100
专家积分:0 (本版:0)
空间积分:0
推广积分:0

状态:...离线...

[资料] [站内短信] [Blog]


顶部
2楼 发表于 2008-6-26 16:10 
在ha.cf中配置mgmt要启动,参考 :

apiauth         mgmtd   uid=root
respawn         root    /usr/lib/heartbeat/mgmtd -v

应该是 可以 访问的。



您对本贴的看法:鲜花[0] 臭蛋[0]
空间积分可以换礼品了! | 有奖跟帖:服务器节能,奖50-100元图书 | 致电800-858-2903,了解DELL如何为你量身订制笔记本 | 送2G U盘

首页 » CU论坛 » Linux » 汇总贴列表 » 集群和虚拟机 »

 


Copyright © 2001-2008 ChinaUnix.net All Rights Reserved     联系我们:

感谢所有关心和支持过ChinaUnix的朋友们    转载本站内容请注明原作者名及出处

京ICP证041476号


清除 Cookies - Linux时代 - Archiver - WAP - TOP

Processed in 0.039326 second(s), 5 queries , Gzip enabled