Mon Jul 24 10:24:49 2023 - [info] Reading application default configuration from /etc/mha/mha.cnf.. Parameter name Slave01 -s Slave02 --user is invalid! at /usr/local/share/perl5/MHA/SSHCheck.pm line 148.
时间: 2023-12-13 20:06:06 浏览: 78
MHA-mysql部署.docx
根据引用\[1\]和引用\[2\]的内容,你的配置文件中的参数名"Slave01 -s Slave02 --user"是无效的。这可能是由于你在配置文件中输入了错误的参数。你需要修改配置文件,将参数名更正为有效的参数。然后保存并退出配置文件。之后,你可以再次运行验证命令"masterha_check_ssh -conf=/etc/masterha/app1.cnf"来检查是否修复了错误。
#### 引用[.reference_title]
- *1* [[error][/usr/share/perl5/vendor_perl/MHA/SSHCheck.pm, ln63] Permission denied (publickey,gssapi-ke](https://blog.csdn.net/gsforget321/article/details/120488723)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [错误集:MHA高可用集群部署及故障切换[error][/usr/local/share/perl5/MHA/MasterMonitor.pm, ln427]](https://blog.csdn.net/qq_35456705/article/details/114309872)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文