I am trying to create collection in mongo, on the server running ubuntu
creating collection from the shell
db.createCollection('collName')
{
"errmsg" : "exception: assertion util/mmap.cpp:169",
"code" : 0,
"ok" : 0
}
I tried to google about it but with no success.
Any ideas how to handle this?
PS. I am not out of space and I volume is writeable
Ok, I found the problem
When mongo was just installed, one should have to create directories for its data
after this restart mongo