I just installed mongodb server on my ubuntu using this command:
sudo apt-get install mongodb-server
But I can't start it.
When I try to run the server, it says:
masious@ubuntu:/var/log/mongodb$ mongod
mongod --help for help and startup options
mongod: symbol lookup error: mongod: undefined symbol:
_ZN7pcrecpp2RE4InitEPKcPKNS_10RE_OptionsE
Best Answer
While this is a simple matter of reading the manual, I'm going to post an answer as it may come back again and again as "sys admins" start managing MongoDB without reading the manual:
...
Ref: Install MongoDB on Ubuntu
Now obviously you did not install the mongodb-org package. So perhaps the one distributed on Ubuntu repo is different... but again, that goes back to not reading the manual. I won't quote how to install MongoDB as per the manual as I already put the link above anyway.