0

I added below code in mongod.conf file for oplog implementation

replication:
           replSetName:rs0
            oplogSizeMB:100
           master:true

After this I restart mongod service but error is coming.

sudo service mongod restart
sakshi
  • 171
  • 1
  • 1
  • 14
  • Can you share a snippet of `/var/log/mongo/mongod.log` (or wherever mongod logs are)? – acsrujan Feb 12 '17 at 07:52
  • `total 1.4G drwxr-xr-x 2 mongod mongod 23 Feb 2 02:44 . drwxr-xr-x. 10 root root 4.0K Feb 12 13:51 .. -rw-r----- 1 mongod mongod 1.4G Feb 12 13:49 mongod.log` – sakshi Feb 12 '17 at 08:24
  • problem is resolved by updating mongodb in 3.4 but now I am not able to connect mongo with oplog – sakshi Feb 12 '17 at 08:25

0 Answers0