[ ~ ] mongo
MongoDB shell version: 2.0.4
connecting to: test
test[13:23:59]> use admin
switched to db admin
admin[13:24:3]> db.auth("admin",'password')
1
admin[13:24:10]> db.foo.find()
admin[13:24:25]> db.foo.find()
admin[13:24:44]> db.foo.insert({a:1})
SyncClusterConnection::say prepare failed: 9001 socket exception [6] server [ubuntu:20051] ubuntu:20051:{}
admin[13:24:49]> db.foo.find()
error: { "$err" : "socket exception", "code" : 9001 }
admin[13:24:51]> use test
switched to db test
test[13:24:58]> db.foo.find()
error: {
"$err" : "could not initialize cursor across all shards because : socket exception @ replSet2/ubuntu:20011,ubuntu:20012",
"code" : 14827
}
test[13:24:59]> db.printShardingStatus()
Fri Jul 6 13:25:12 uncaught exception: error { "$err" : "socket exception", "code" : 9001 }