-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Major - P3
-
None
-
Affects Version/s: 3.0.1
-
Component/s: Packaging
-
None
-
Environment:Linux dev01 3.16.0-31-generic #41~14.04.1-Ubuntu SMP Wed Feb 11 19:30:13 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
-
ALL
-
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
-
None
I am following the steps here:
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/
When I try to connect to my local instance
$mongo
it does not work, I receive the following error:
mongo MongoDB shell version: 3.0.1 connecting to: test 2015-03-25T09:14:34.807+0000 W NETWORK Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused 2015-03-25T09:14:34.808+0000 E QUERY Error: couldn't connect to server 127.0.0.1:27017 (127.0.0.1), connection attempt failed
I looked into the conf file and it looks like the bind_ip entry is not valid, since it contains "spaces":
bind_id = 127.0.0.1
where it should be
bind_id=127.0.0.1