[SERVER-5397] couldn't connect to server 127.0.0.1 shell/mongo.js:84 Created: 25/Mar/12  Updated: 11/Jul/16  Resolved: 30/Mar/12

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure, Usability
Affects Version/s: 2.0.4
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: chen_xinjie Assignee: Unassigned
Resolution: Done Votes: 0
Labels: mongpdb;CMD;USB
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

USB flash disk
CMD command


Participants:

 Description   

I was install mongodb on USB flash disk yesterday,
But now I can't use the cmd command to connect it.
what's happened and how to solve.
is the mongodb couldn't install on USB flash disk?
Or,A fantastic things I was doing?



 Comments   
Comment by chen_xinjie [ 26/Mar/12 ]

Oh,God!
I print the command error!
--dbpath=H:\mongodb\data\db
Not --dbpath -H:\mongodb\data\db!

Comment by chen_xinjie [ 26/Mar/12 ]

I did it when I first install,And I can db.MyDbName.insert and so on.But now I can't find the dbpath which on my USB flash disk,and couldn't find MongoDb server on the task manager.

Comment by Scott Hernandez (Inactive) [ 25/Mar/12 ]

Please make sure that you are running the server. What does 'ps auxwww | grep mongod' show? Is there a running server process? If you are on windows you can look in the task manager under all processes.

If you don't see it then your problem is most likely that you need to start the server by running mongod.

Comment by Eliot Horowitz (Inactive) [ 25/Mar/12 ]

Did you start the server?

Generated at Thu Feb 08 03:08:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.