歡迎您光臨本站 註冊首頁

heartbeat剛安裝就出啟動不了

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

heartbeat剛安裝就出啟動不了

今天剛試裝了heartbeat-2.1.3 但是裝完之後再/etc/rc.d里並沒有啟動文件,然後我到  cd /usr/lib/heartbeat/ 下執行一個可執行文件 heartbeat ,但是報錯:
logd is already running
Starting High-Availability services:
2008/02/29_18:20:30 INFO:  Running OK
2008/02/29_18:20:31 CRITICAL: Resource 192.168.1.254 is active, and should not be!
2008/02/29_18:20:31 CRITICAL: Non-idle resources can affect data integrity!
2008/02/29_18:20:31 info: If you don't know what this means, then get help!
2008/02/29_18:20:31 info: Read the docs and/or source to /usr/share/heartbeat/ResourceManager for more details.
CRITICAL: Resource 192.168.1.254 is active, and should not be!
CRITICAL: Non-idle resources can affect data integrity!
info: If you don't know what this means, then get help!
info: Read the docs and/or the source to /usr/share/heartbeat/ResourceManager for more details.
2008/02/29_18:20:31 CRITICAL: Non-idle resources will affect resource takeback!
2008/02/29_18:20:31 CRITICAL: Non-idle resources may affect data integrity!
                                                           
heartbeat: udpport setting must precede media statementsheartbeat: 2008/02/29_18:20:31 ERROR: Invalid user id name
heartbeat: 2008/02/29_18:20:31 ERROR: Bad uid list
heartbeat: 2008/02/29_18:20:31 ERROR: Invalid apiauth directive
heartbeat: 2008/02/29_18:20:31 info: Syntax: apiauth client
heartbeat: 2008/02/29_18:20:31 info: Where uidlist is a comma-separated list of uids,
heartbeat: 2008/02/29_18:20:31 info: and gidlist is a comma-separated list of gids
heartbeat: 2008/02/29_18:20:31 info: One or the other must be specified.
heartbeat: 2008/02/29_18:20:31 ERROR: Invalid user id name
heartbeat: 2008/02/29_18:20:31 ERROR: Bad uid list
heartbeat: 2008/02/29_18:20:31 ERROR: Invalid apiauth directive
heartbeat: 2008/02/29_18:20:31 info: Syntax: apiauth client
heartbeat: 2008/02/29_18:20:31 info: Where uidlist is a comma-separated list of uids,
heartbeat: 2008/02/29_18:20:31 info: and gidlist is a comma-separated list of gids
heartbeat: 2008/02/29_18:20:31 info: One or the other must be specified.
heartbeat: 2008/02/29_18:20:31 ERROR: Invalid group name
heartbeat: 2008/02/29_18:20:31 ERROR: Bad gid list
heartbeat: 2008/02/29_18:20:31 ERROR: Invalid apiauth directive
heartbeat: 2008/02/29_18:20:31 info: Syntax: apiauth client
heartbeat: 2008/02/29_18:20:31 info: Where uidlist is a comma-separated list of uids,
heartbeat: 2008/02/29_18:20:31 info: and gidlist is a comma-separated list of gids
heartbeat: 2008/02/29_18:20:31 info: One or the other must be specified.
heartbeat: 2008/02/29_18:20:31 ERROR: Invalid group name
heartbeat: 2008/02/29_18:20:31 ERROR: Bad gid list
heartbeat: 2008/02/29_18:20:31 ERROR: Invalid apiauth directive
heartbeat: 2008/02/29_18:20:31 info: Syntax: apiauth client
heartbeat: 2008/02/29_18:20:31 info: Where uidlist is a comma-separated list of uids,
heartbeat: 2008/02/29_18:20:31 info: and gidlist is a comma-separated list of gids
heartbeat: 2008/02/29_18:20:31 info: One or the other must be specified.
heartbeat: 2008/02/29_18:20:31 ERROR: Bad permissions on keyfile , 600 recommended.
heartbeat: 2008/02/29_18:20:31 ERROR: Authentication configuration error.

大家幫我看看是甚麼問題?
《解決方案》

回復 #1 yingweixu 的帖子

源碼安裝完之後,通過/etc/init.d/heartbeat就可以啟動
另外啟動heartbeat需要hacluster用戶,並且屬組是haclient,這個用戶和組樓主都沒有建立。
《解決方案》

日誌上報得錯很明白啊!這樣也發出來問

[火星人 ] heartbeat剛安裝就出啟動不了已經有544次圍觀

http://coctec.com/docs/service/show-post-7569.html