Mongodb - Error while trying to show server startup warnings: no such cmd

Asked

Viewed 67 times

1

I installed some of the versions of mongodb on a Macbook with Yosemite 10.10.2 and both using the Homebrew and manually installing all gave the same error, except the 1.4.4 which is very old, has already been installed and does not interest me much:

$ mongo
MongoDB shell version: 3.0.0
connecting to: test
Error while trying to show server startup warnings: no such cmd
> 

Error while trying to show server startup warnings: no such cmd

I lost a morning (which I already think is an eternity) researching and I didn’t find much about it. These two links were what apparently came closest to a solution

The latter says he found the solution by updating the server version, but, I also have no idea how it worked for him, certainly forgot something.

Someone’s had that problem before?

  • Can you use the client normally even with the error? I noticed that the prompt is appearing in the screenshot.

  • I couldn’t, I did, but unfortunately I couldn’t figure out why I hadn’t installed anything but Mongo, npm and Homebrew, but I did the system reinstallation and solved.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.