[SERVER-27619] Mongodb 3.2 does Not start After enabling authorization Created: 10/Jan/17  Updated: 10/Jan/17  Resolved: 10/Jan/17

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Heman Assignee: Mark Agarunov
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File mongod.conf     File mongod.log    
Operating System: ALL
Participants:

 Description   

Below I Have Attached My Conf And Log File

  1. mongod.conf
  1. for documentation of all options, see:
  2. http://docs.mongodb.org/manual/reference/configuration-options/
  1. where to write logging data.
    systemLog:
    destination: file
    logAppend: true
    path: /var/log/mongodb/mongod.log
  1. Where and how to store data.
    storage:
    dbPath: /var/lib/mongo
    journal:
    enabled: true
  2. engine:
  3. mmapv1:
  4. wiredTiger:
  1. how the process runs
    processManagement:
    fork: true # fork and run in background
    pidFilePath: /var/run/mongodb/mongod.pid # location of pidfile
  1. network interfaces
    net:
    port: 27017
    bindIp: 127.0.0.1 # Listen to local interface only, comment to listen on all interfaces.

security:
authorization: enabled
#operationProfiling:

#replication:

#sharding:

    1. Enterprise-Only Options

#auditLog:

#snmp:

Error==>
[root@localhost Desktop]# sudo service mongod restart
Restarting mongod (via systemctl): Job for mongod.service failed because the control process exited with error code. See "systemctl status mongod.service" and "journalctl -xe" for details.
[FAILED]



 Comments   
Comment by Mark Agarunov [ 10/Jan/17 ]

Hello hemanparbhakar,

According to the logs, this appears to be a permission issue with the socket file. Please note that SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag. A question like this involving more discussion would be best posted on the mongodb-user group.

Generated at Thu Feb 08 04:15:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.