求助 关于suse 11 +heartbeat 双机的配置失败
时间:2010-10-15
来源:互联网
大家好,我在各个论坛上找了很久都没有找到相关的资料与标准文档。以便我排错,所以不得不在这里求助于大家了,希望高手们可以回复我的问题。
双机环境 VM 共享磁盘 800M
linux1 10.1.1.1 (心跳) 192.168.3.126
linux2 10.1.1.2 (心跳)192.168.3.125
VIP 192.168.3.130
/etc/hosts 文件
10.1.1.1 linux1
10.1.1.2 linux2
192.168.3.126 suse1 suse1
192.168.3.125 suse2 suse2
192.168.3.130 suse
/etc/ha.d/ha.cf 文件内容
node linux1
node linux2
keepalive 2
deadtime 30
warntime 10
initdead 120
auto_failback on
bcast eth1
ping 10.1.1.1
ping 10.1.1.2
respawn hacluster /usr/lib/heartbeat/ipfail
/etc/ha.d/authkeys
auth 2
2 crc
#2 sha1 HI!
#3 md5 Hello!
/etc/ha.d/haresources
suse 192.168.3.130 apache2
集群软件版本
linux-m653:~ # rpm -q heartbeat
heartbeat-2.0.9-59.1
系统内核
Linux linux-m653 2.6.27.19-5-pae #1 SMP 2009-02-28 04:40:21 +0100 i686 i686 i386 GNU/Linux
共享 裸设备
linux1
Disk /dev/sdc: 3145 MB, 3145728000 bytes
255 heads, 63 sectors/track, 382 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe8a0c420
Device Boot Start End Blocks Id System
/dev/sdc1 1 382 3068383+ 83 Linux
Disk /dev/sdd: 3145 MB, 3145728000 bytes
255 heads, 63 sectors/track, 382 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/sdd doesn't contain a valid partition table
Disk /dev/sdc: 3145 MB, 3145728000 bytes
255 heads, 63 sectors/track, 382 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe8a0c420
Device Boot Start End Blocks Id System
/dev/sdc1 1 382 3068383+ 83 Linux
Disk /dev/sdd: 3145 MB, 3145728000 bytes
255 heads, 63 sectors/track, 382 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/sdd doesn't contain a valid partition table
----------------------------------------
启动heartbeat 失败
linux-m653:~ # /etc/init.d/heartbeat start
Starting High-Availability services/usr/lib/heartbeat/ha_logd: error while loading shared libraries: libltdl.so.3: cannot open shared object file: No such file or directory
/usr/lib/heartbeat/ha_logd: error while loading shared libraries: libltdl.so.3: cannot open shared object file: No such file or directory
starting logd failed
2010/10/15_15:03:14 INFO: Resource is stopped
/usr/lib/heartbeat/heartbeat: error while loading shared libraries: libltdl.so.3: cannot open shared object file: No such file or directory
failed
无法打开共享 文件或目录
作者: sloin 发布时间: 2010-10-15

作者: sloin 发布时间: 2010-10-15
作者: sloin 发布时间: 2010-10-15
你的机器应该缺少了一个heartbeat的依赖包libtool-ltdl,不知道你的heartbeat是用rpm安装的么,如果是的话应该提示缺少依赖包
作者: wzy2001_117 发布时间: 2010-10-15
作者: sloin 发布时间: 2010-10-15
作者: sloin 发布时间: 2010-10-15
作者: sloin 发布时间: 2010-10-15
用rpm -ql查一下你安装ltdl的rpm包都有什么文件,有没有/usr/lib64/libltdl.so.3
我的系统是CentOS的,不知道和suse有什么区别
我机器的执行结果是
[root@CentOS53 ~]# rpm -ql libtool-ltdl-1.5.22-7.el5_4
/usr/lib64/libltdl.so.3
/usr/lib64/libltdl.so.3.1.4
/usr/share/doc/libtool-ltdl-1.5.22
/usr/share/doc/libtool-ltdl-1.5.22/COPYING.LIB
/usr/share/doc/libtool-ltdl-1.5.22/README
作者: wzy2001_117 发布时间: 2010-10-15
作者: sloin 发布时间: 2010-10-15
package libtool-ltdl-1.5.22-7.el5_4 is not installed

作者: sloin 发布时间: 2010-10-15
rpm -ql libtool-ltdl-1.5.22-7.el5_4
package libtool-ltdl-1.5.22-7.el5_4 is not installed
作者: sloin 发布时间: 2010-10-15
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28