MongoDB 5.0 enterprise edition installation error

Hi,

I am installing mongodb 5.0 enterprise edition in a RHEL 7+ server following the Mongo installation docs. After completing all the steps successfully getting the below error while starting the mongo service. It would be great if somebody helps to resolve the issue.

Error message

Jul 26 20:19:07 inkolovdglxvm175 mongod[32692]: auxpropfunc error invalid parameter supplied
Jul 26 20:19:07 inkolovdglxvm175 mongod[32692]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: ldapdb
Jul 26 20:19:07 inkolovdglxvm175 mongod[32692]: ldapdb_canonuser_plug_init() failed in sasl_canonuser_add_plugin(): invalid parameter supplied
Jul 26 20:19:07 inkolovdglxvm175 mongod[32692]: _sasl_plugin_load failed on sasl_canonuser_init for plugin: ldapdb
Jul 26 20:19:07 inkolovdglxvm175 mongod[32690]: ERROR: child process failed, exited with 100
Jul 26 20:19:07 inkolovdglxvm175 mongod[32690]: To see additional information in this output, start without the "--fork" option.

Thanks in advance

Welcome to the MongoDB Community Forums @Saibal_Kar !

Please provide a few more details to help understand the issue:

  • What is your exact RHEL server version?

  • Can you confirm if you installed via the yum package manager or using the .tgz tarball?

  • Have you changed any configuration parameters related to LDAP configuration?

It looks like you are missing the prerequisite SASL libraries which should be installed automatically via yum but must be manually installed if you are using the tgz install.

If these dependencies are missing in your RHEL7 install, you can try the following (copied from the tgz install tutorial):

sudo yum install cyrus-sasl cyrus-sasl-gssapi cyrus-sasl-plain krb5-libs libcurl net-snmp openldap openssl xz-libs

Regards,
Stennie

The RHEL version is 7.7
I used yum package manager for the installation
I’ve not changed anything related to LDAP & I have the below SASL libraries present in the server.


cyrus-sasl-2.1.26-23.el7.x86_64
cyrus-sasl-ldap-2.1.26-23.el7.x86_64
cyrus-sasl-scram-2.1.26-23.el7.x86_64
cyrus-sasl-lib-2.1.26-23.el7.x86_64
cyrus-sasl-devel-2.1.26-23.el7.x86_64
cyrus-sasl-gssapi-2.1.26-23.el7.x86_64
cyrus-sasl-ntlm-2.1.26-23.el7.x86_64
cyrus-sasl-gs2-2.1.26-23.el7.x86_64
cyrus-sasl-sql-2.1.26-23.el7.x86_64
cyrus-sasl-plain-2.1.26-23.el7.x86_64
cyrus-sasl-md5-2.1.26-23.el7.x86_64


So please let me know if anything is missed