I am running these commands through mongo shell in a bash script
db=db.getSiblingDB('admin'); db.shutdownServer(); quit();
but it seems that db is not getting shutdown, this is the response i am getting :
MongoDB shell version: 2.6.10 connecting to: localhost:27000/test 2015-06-27T10:05:54.375+0000 DBClientCursor::init call() failed server should be down...
Any advice on what to do and what is going wrong? I tried to shutdown mms agents first,but that didn't help