Unable to start mongod node 1 replicaset - M103 [Lab: Deploy a Replica Set] - RESOLVED

Hi fellow users,

I already did successful set up for replica set [3 nodes] in my local windows machine.

But, while doing lab i am facing issue to start mongod instance on respective nodes.

  1. Following changes i did in mongod_1.conf

     storage:
       dbPath: /var/mongodb/db/1
     net:
       bindIp: localhost
       port: 27001
     security:
       authorization: enabled
       keyFile: /var/mongodb/pki/m103-keyfile
     systemLog:
       destination: file
       path: /var/mongodb/logs/mongod1.log
       logAppend: true
     processManagement:
       fork: true
     replication:
       replSetName: m103-example
    
  2. Start mongod instance through integrated IDE : mongod -f mongod_1.conf

  3. Got message [attached image] : child process started successfully, parent exiting

Can someone point out mistake that i am doing in this lab : Deploy a replica set

Able to resolve issue. Got bit confused between my local windows machine and linux environment integrated IDE ( – fork ) started mongo db as bacground service :slight_smile:

1 Like

Hi @Kunal_Kumar, welcome to the community.
We are glad that you were able to resolve the issue.

In case you have any doubts, please feel free to reach out to us.

Thanks & Regards.
Sourabh Bagrecha,
Curriculum Services Engineer

1 Like