RHEL安裝heartbeat報錯: heartbeat: udpport setting must precede media statements
環境如下:
[[email protected] ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
[[email protected] ~]# uname -a
Linux master 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
[[email protected] ~]#
安裝Heartbeat-2.1.3,出現如下錯誤:
logd is already running Starting High-Availability services: 2013/07/15_16:31:45 INFO: Resource is stopped 2013/07/15_16:31:45 INFO: Resource is stopped [FAILED] heartbeat: udpport setting must precede media statementsheartbeat[4742]: 2013/07/15_16:31:45 ERROR: Invalid user id name [hacluster] heartbeat[4742]: 2013/07/15_16:31:45 ERROR: Bad uid list [hacluster] heartbeat[4742]: 2013/07/15_16:31:45 ERROR: Invalid apiauth directive [ipfail uid=hacluster] heartbeat[4742]: 2013/07/15_16:31:45 info: Syntax: apiauth client [uid=uidlist] [gid=gidlist] heartbeat[4742]: 2013/07/15_16:31:45 info: Where uidlist is a comma-separated list of uids, heartbeat[4742]: 2013/07/15_16:31:45 info: and gidlist is a comma-separated list of gids heartbeat[4742]: 2013/07/15_16:31:45 info: One or the other must be specified. heartbeat[4742]: 2013/07/15_16:31:45 ERROR: Invalid user id name [hacluster] heartbeat[4742]: 2013/07/15_16:31:45 ERROR: Bad uid list [hacluster] heartbeat[4742]: 2013/07/15_16:31:45 ERROR: Invalid apiauth directive [ccm uid=hacluster] heartbeat[4742]: 2013/07/15_16:31:45 info: Syntax: apiauth client [uid=uidlist] [gid=gidlist] heartbeat[4742]: 2013/07/15_16:31:45 info: Where uidlist is a comma-separated list of uids, heartbeat[4742]: 2013/07/15_16:31:45 info: and gidlist is a comma-separated list of gids heartbeat[4742]: 2013/07/15_16:31:45 info: One or the other must be specified. heartbeat[4742]: 2013/07/15_16:31:45 ERROR: Invalid group name [haclient] heartbeat[4742]: 2013/07/15_16:31:45 ERROR: Bad gid list [haclient] heartbeat[4742]: 2013/07/15_16:31:45 ERROR: Invalid apiauth directive [ping gid=haclient] heartbeat[4742]: 2013/07/15_16:31:45 info: Syntax: apiauth client [uid=uidlist] [gid=gidlist] heartbeat[4742]: 2013/07/15_16:31:45 info: Where uidlist is a comma-separated list of uids, heartbeat[4742]: 2013/07/15_16:31:45 info: and gidlist is a comma-separated list of gids heartbeat[4742]: 2013/07/15_16:31:45 info: One or the other must be specified. heartbeat[4742]: 2013/07/15_16:31:45 ERROR: Invalid group name [haclient] heartbeat[4742]: 2013/07/15_16:31:45 ERROR: Bad gid list [haclient] heartbeat[4742]: 2013/07/15_16:31:45 ERROR: Invalid apiauth directive [anon gid=haclient] heartbeat[4742]: 2013/07/15_16:31:45 info: Syntax: apiauth client [uid=uidlist] [gid=gidlist] heartbeat[4742]: 2013/07/15_16:31:45 info: Where uidlist is a comma-separated list of uids, heartbeat[4742]: 2013/07/15_16:31:45 info: and gidlist is a comma-separated list of gids heartbeat[4742]: 2013/07/15_16:31:45 info: One or the other must be specified. heartbeat[4742]: 2013/07/15_16:31:45 ERROR: Bad permissions on keyfile [/opt/heartbeat-2.1.3/etc/ha.d/authkeys], 600 recommended. heartbeat[4742]: 2013/07/15_16:31:45 ERROR: Authentication configuration error. heartbeat[4742]: 2013/07/15_16:31:45 ERROR: Configuration error, heartbeat not started.
看不懂什麼意思,然後google查,無功而返,仔細檢視原來的安裝指導,發現裡面有提到authkeys配置檔案許可權必須為600,
靈光一閃:難道是因為這個?但怎麼看都不像啊。。。。。。
雖然懷疑,但還是抱著死馬當活馬醫的想法,嘗試了一下,oh my god, 果然解決了!
[[email protected] ha.d]# service heartbeat start logd is already running Starting High-Availability services: 2013/07/15_16:33:41 INFO: Resource is stopped 2013/07/15_16:33:41 INFO: Resource is stopped [ OK ]
至於原因,沒有時間詳細研究,有興趣的同學可以試試。
相關推薦
RHEL安裝heartbeat報錯: heartbeat: udpport setting must precede media statements
環境如下: [[email protected] ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.5 (Tikanga) [[email protected]
windows下安裝pywin32報錯:close failed in file object destructor:sys.excepthook is missing lost sys.stderr
ges cep 題解 ssi -i pos 搜索 pyw ima 今晚要寫搜索引擎作業,搭scrapy環境,遇到了下面問題: windows下安裝pywin32報錯:close failed in file object destructor:sys.excepthook
編譯安裝libiconv報錯:./stdio.h:1010:1: error: 'gets' undeclared here (not in a function)
編譯安裝libiconv報錯:./stdio.h:1010:1: error: 'gets' undeclared here (not in a function)錯誤如下: In file included from progname.c:26:0: ./stdio.h:101
pip安裝selenium報錯:Read timed out
cnblogs except clas https lib def connect pack spa 今天打算把selenium降級重新安裝,發現安裝時總是失敗,報如下錯誤: raise ReadTimeoutError(self._pool, None, ‘Read t
anaconda安裝Opencv報錯:Could NOT find PythonLibs: Found unsuitable version "2.7.6",
list open version packages 拷貝 uitable /usr req imp 機器上裝了兩個python,一個是默認的,一個是anaconda。安裝opencv時就報錯了: -- Found PythonInterp: /home/deeplp/an
CentOS7安裝dnf報錯:No package dnf available
package 安裝 math 6.4 sys 報錯 .rpm onf pack 1.百度中提供的安裝辦法 yum install epel-release -y yum install dnf 2. No package dnf available解決辦法 運行一下幾個命
[轉]jmeter安裝啟動報錯:Not able to find Java executable or version. Please check your Java installation
system erro root lease %s cut 問題: 直接 pat 在啟動jmeter過程中,如果出現這個問題: Not able to find Java executable or version. Please check your Java insta
解決Android Studio編譯後安裝apk報錯:Error while Installing APK
剛開始玩 Android ,用Android studio 連線真機做測試,在虛擬機器上沒有問題,但是真機就會報錯 檢查了好多地方,最終發現了問題,網上的常規就不介紹了,大家自己去看別的帖子 手機方面 1.開啟usb除錯 2.開啟usb安全除錯 3.開啟usb安裝(允許通過usb安裝
Neo4j安裝事項報錯:powershell命令提示符出現“不是內部或外部命令,也不是可執行的程式或批處理檔案
這些天因為老闆需求,搗鼓下Neo4j,在win7上按照網上的教程安裝,順風順水;但是在伺服器上(winServer2012R2)安裝卻是報錯:powershell命令提示符出現“不是內部或外部命令,也不是可執行的程式或批處理檔案 解決辦法:在環境變數path後新增上powershell的路徑(C
安裝wkhtmltopdf報錯: wkhtmltox : 依賴: libpng12-0 但無法安裝它
1. 問題描述 在Odoo11(Ubuntu)上要打印發票時,系統提示“找不到wkhtmltopdf”,所以打算安裝wkhtmltopdf。結果安裝失敗。 $ sudo apt install ./wkhtmltox-0.12.2.1_linux-trusty-amd64.deb正在讀取軟體包列
cnpm install 安裝模組報錯:× Install fail! RequestError: connect ECONNREFUSED XXX.XXX.X.XXX
首先,這個報錯的意思是,下載的時候無法連線上 對應的地址。 可使用 cnpm config get registry 命令檢視當前目錄下的registry值是否正確。 PS F:\repository\web_hyzx> cnpm config get re
ubuntu安裝mysql報錯:dpkg: error processing package mysql-server (--configure)
ubuntu安裝mysql過程中電腦突然關機,重新安裝一直報錯: Renaming removed key_buffer and myisam-recover options (if present) Job for mysql.service failed because
android -------- 安裝APK報錯:Installation error: INSTALL_FAILED_UPDATE_INCOMPATIBLE解決方法
記錄一個 DELETE_FAILED_INTERNAL_ERROR Error while Installing APK問題 之前遇到這個問題 方案1 將data/data/目錄下該應用的包名的目錄刪除掉,如:adb shell rm -rf data/data/c
伺服器部署全程記錄(centos6.5) 170217、nginx 安裝時候報錯:make: *** No rule to make target `build', needed by `default'. Stop. centos7 cannot find a valid base
1.安裝nginx 上傳安裝包:put E:\yz_index\installPackage\nginx-1.14.0.tar.gz 解壓:tar zxvf nginx-1.14.0.tar.gz 切換:cd nginx-1.14.0 準備編譯:./configure 編譯:ma
解決pycharm 無法載入pip安裝包報錯:python packing tools not found. install packing tools
Linux下開啟 /opt/pycharm-xxxxx/helpers/packaging_tool.py windows下開啟 C:\Program Files\JetBrains\PyCharm
Keil uv5安裝pack報錯:Cannot copy PDSC file to ".Download" older
目錄問題解決總結 問題 給Keil uv5安裝新的器件pack時報錯。本以為是版本問題,因為以前安裝STM32F4的軟體包時因為安裝的包太新了而報錯。於是這次安裝STM32L0系列時就下了好幾個更低版本的包試試,發現還是報錯:Cannot copy psdc f
docker安裝redis報錯:EACCES: permission denied, mkdir '/bitnami/redis/conf
docker-compose檔案內容見下文,報錯資訊:redis | Error executing 'postInstallation': EACCES: permission denied, mkdir '/bitnami/redis/conf',出現此錯誤是由於d
安裝MySQL報錯:The action ‘Install’ for product ‘MySQL Server 5.7.19’ failed.
今天安裝mysql服務時,出現了一個錯誤, The action ‘Install’ for product ‘MySQL Server 5.7.19’ failed. 如圖所示 嘗試著把檔案解除安裝,重新安裝是沒有用的,最後找到一個這樣的解決辦法: 32位的V
docker安裝redis報錯:EACCES: permission denied, mkdir '/bitnami/redis/conf
docker-compose檔案內容見下文,報錯資訊:redis | Error executing 'postInstallation': EACCES: permission denied, mkdir '/bitnami/redis/conf',出現此錯誤是由於doc
docker安裝啟動報錯:Error starting daemon: SELinux is not supported with the overlay2
環境:centos7命令:systemctl start docker systemctl status docker -l報錯:Error starting daemon: SELinux is not supported with the overlay