[碎片空间] GaussDB for DWS维护宝典-安装类故障-安装Ldap错误导致OMS安装失败

问题背景与现象

OMS安装失败。

原因分析

  1. 查看日志,提示Failed to install ldap,具体内容如下:

[2014-12-10 05:52:56] ERROR cleanUpCMD=/opt/huawei/Bigdata/om-0.0.1//ldapserver/ldapserver/ldapserver_wrap.sh [installLdap.sh(cleanup):173](31064)
ERROR:cleanUpCMD=/opt/huawei/Bigdata/om-0.0.1//ldapserver/ldapserver/ldapserver_wrap.sh
[2014-12-10 05:52:56] ERROR Failed to install ldap.scriptName=/ldapserver/ldapserver/ldapserver_wrap.sh,postinstallCMD=/opt/huawei/Bigdata/om-0.0.1//ldapserver/ldapserver/ldapserver_wrap.sh [installLdap.sh(postinstall):212](31064)
ERROR:Failed to install ldap.scriptName=/ldapserver/ldapserver/ldapserver_wrap.sh,postinstallCMD=/opt/huawei/Bigdata/om-0.0.1//ldapserver/ldapserver/ldapserver_wrap.sh
[2014-12-10 05:52:56] ERROR The input parameter is incorrect. [installLdap.sh(install):256](31064)
ERROR:The input parameter is incorrect.
[2014-12-10 05:52:56] ERROR install server failed [installLdap.sh(main):296](31064)
ERROR:install server failed
[2014-12-10 05:52:56] ERROR Failed to install the ldap [installLdap.sh(main):331](31064)

2.查看“/var/log/Bigdata/oldapserver/ldapserver_install.log”,发现如下异常。

2014-12-10 05:52:56 566 linux-126 SlapdServer ERROR ldap server rpm is not installed!
2014-12-10 05:52:56 569 linux-126 SlapdServer ERROR ldap server rpm is not installed!

解决办法

              1. 缺少Ladp的相关rpm包,需要执行preinstall来进行包的添加。