Mongodb-server fails to start with selinux enforcing

drago01 drago01 at gmail.com
Wed Nov 19 17:38:24 UTC 2014


On Wed, Nov 19, 2014 at 6:19 PM, Daniel J Walsh <dwalsh at redhat.com> wrote:
>
> On 11/19/2014 09:16 AM, Paul Knox-Kennedy wrote:
>> On a clean installation built from
>> Fedora-Live-Workstation-x86_64-21_Beta-4.iso, I installed mongodb-server
>> but it failed to start due to selinux: "SELinux is preventing mongod
>> from name_bind access on the tcp_socket port 27017."
>>
>> Following the selinux instructions from the journal resolves this:
>> # grep mongod /var/log/audit/audit.log | audit2allow -M mypol
>> # semodule -i mypol.pp
>>
>> Should I bugzilla this, and if so, is it against mongodb or
>> selinux-policy?
> Is this a standard port the mongodb should be listening on?

http://docs.mongodb.org/manual/reference/default-mongodb-port/

Seems like the answer is yes.


More information about the test mailing list