Hi everyone
I am not able to complete lab Launching Mongod
Is it possible to get a step by step simple method to follow?
very thanks
Hi everyone
I am not able to complete lab Launching Mongod
Is it possible to get a step by step simple method to follow?
very thanks
You Ctrl-C just before calling mongo. You just killed the server. No wonder why you cannot connect.
Hi Steeve
I try again but it is the same issue
Do you mean you Ctrl-C the server again?
hi Steeve
I Switch off all my terminals and start again the server
Ok, so you have one mongod running and you cannot connect to it with mongo?
The following will confirm us that mongod is running. Please send the output of:
ps -aef | grep mongod | grep -v grep
netstat -tlnp | grep mongod
You have to start mongod before you try to connect with mongo shell.
hi
thanks
what is the folowing steps?
⊠I am lost
These are the steps.
But mongod is not running, so step 2 is not complete. Also make sure to remove the space between the 2 IP address and the comma. I think it causes issues.
I might give up on this course due to the poor ssh configuration from the lectures. I was also unable to complete the labs with ssh ip setup, however I can complete the exercise without ssh ip address setup.
ok I found the mistake
after you type
1.vagrant ssh
2.ENTER mongod --port 27000 --dbpath /data/db --bind_ip 127.0.0.1,192.168.103.100
3 .Open new tab end enter again vagrant ssh
4. paste: mongo admin --host localhost:27000 --eval â
db.createUser({
user: âm103-adminâ,
pwd: âm103-passâ,
roles: [
{role: ârootâ, db: âadminâ}
]
})
â
5. Your are done : enter validate_lab_launch_mongod and copy the KEY. Thats it.
Hi
I am going to sleep
⊠it is not possible to launching againe Mongod
You have done the hard work. Just put that code into the web page for the result.
Just make sure you copy the whole code over. So check the first 3 and last 3 digits, that you paste over, match what see on the command prompt.
I also make sure I donât have any preceding spaces