I am trying to install MongoDB 3.0.0 on one of the sandbox which has RHEL Linux 5.11 64bit
I was able to download all the packages using yum command mentioned in the official document here MongoDB Installation.
I am trying to run following command as per the documentation
semanage port -a -t mongod_port_t -p tcp 27017
and it is giving me below error.
/usr/sbin/semanage port -a -t mongod_port_t -p tcp 27017
libsepol.context_from_record: type mongod_port_t is not defined
libsepol.context_from_record: could not create context structure
libsepol.port_from_record: could not create port structure for range 27017:27017 (tcp)
libsepol.sepol_port_modify: could not load port range 27017 - 27017 (tcp)
libsemanage.dbase_policydb_modify: could not modify record value
libsemanage.semanage_base_merge_components: could not merge local modifications into policy
/usr/sbin/semanage: Could not add port tcp/27017
I have root access on this sandbox but I am really clueless what this means. How can I install MongoDB successfully?