Arthur Neves
Arthur Neves

Reputation: 12128

mongodb DBException

Any clue on this exception?

[conn1026] DBException in process: could not initialize cursor across all shards because : can't map file memory @ set1/192.168.1.1:27018,192.168.1.2:27018,192.168.1.3:27018

this is happening after I lost some mongoD instances and they are up again..

Upvotes: 0

Views: 126

Answers (1)

Arthur Neves
Arthur Neves

Reputation: 12128

So I figured what was the problem. In that set1, the second machine had a file database files were owned by root and not by mongodb user. Dont ask me why this was like that, anyways, I just changed the permissions on those files and everything was back to normal..

Upvotes: 1

Related Questions