Mongod using config option show no result on screen

Hey,

when I run the mongod using the config option, it does not do anyitng. Posted the snapshot.
Here is the contents of the config.cfg.

storage:
dbPath: “/data/db”
journal:
enabled: “true”

where to write logging data.

systemLog:
destination: file
logAppend: true
path: “/data/log/mongod.log”

network interfaces

net:
port: 27000
bindIp: “127.0.0.1,192.168.103.100”

processManagement:
fork : true


Last login: Tue Dec 24 01:06:17 2019 from 10.0.2.2
vagrant@m103:~$ mongod --config “/shared/mongod.cfg”

image

@munish_79545 it’s against forum guidelines to post possible answers to labs. Suggest you edit your post and remove the contents of your config file.

This option is not part of the requirement so you don’t need it.

Press Ctrl+C or Ctrl+D to cancel, then try running it again.

1 Like

Hi @munish_79545,

In addition to @007_jb,

In order to see the currently running mongod processes, you can run this command :

ps -ef | grep mongod

Please feel free to get back to us if the issue still persists.

Thanks,
Shubham Ranjan
Curriculum Support Engineer