heartbeat3.0.4 启动时报错ERROR: Cannot open config file [/usr/etc/ha.d//ha.cf]

SZ深呼吸 2011-04-09 11:50:07
[root@lvsserver208 ha.d]# service heartbeat start
Starting High-Availability services: [FAILED]
heartbeat[8893]: 2011/04/09_11:45:46 ERROR: Cannot open config file [/usr/etc/ha.d//ha.cf]
heartbeat[8893]: 2011/04/09_11:45:46 info: An annotated sample /usr/etc/ha.d//ha.cf file is provided in the documentation.
heartbeat[8893]: 2011/04/09_11:45:46 info: Please copy it to /usr/etc/ha.d//ha.cf, read it, customize it, and try again.
heartbeat[8893]: 2011/04/09_11:45:46 ERROR: Heartbeat not started: configuration error.
heartbeat[8893]: 2011/04/09_11:45:46 ERROR: Configuration error, heartbeat not started.

这个文件是存在的,不知道是什么问题打不开,权限给了最大的也不行


...全文
295 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
yp_kkp 2012-03-30
  • 打赏
  • 举报
回复
楼主问题解决了吗?我也遇到一样的问题,如何解决的,貌似是安装时的问题,想卸载重装的,但卸载不完全,问题依然存在
steptodream 2011-04-09
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 baiydn 的回复:]

路径问题
按网上的一些教程,那些配置文件都在/etc/ha.d/里
这个它怎么会到/usr/etc/ha.d里去找了
[/Quote]
这就是你的不认真了 提示错误的第一句就是ERROR: Cannot open config file [/usr/etc/ha.d//ha.cf]
可是你却说文件存在
SZ深呼吸 2011-04-09
  • 打赏
  • 举报
回复
路径问题
按网上的一些教程,那些配置文件都在/etc/ha.d/里
这个它怎么会到/usr/etc/ha.d里去找了
steptodream 2011-04-09
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 baiydn 的回复:]

-rwxrwxrwx 1 root root 10498 04-09 11:05 ha.cf

RHEL5.3
[/Quote]
你把selinux关闭试试 setenforce 0
SZ深呼吸 2011-04-09
  • 打赏
  • 举报
回复
-rwxrwxrwx 1 root root 10498 04-09 11:05 ha.cf

RHEL5.3
steptodream 2011-04-09
  • 打赏
  • 举报
回复
ls -l /usr/etc/ha.d//ha.cf
给我们看看权限

啥系统

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧