![]() It also runs the daemon as root rather than _mongo. The instructions linked above describe a way to fix this but they ignore the fact that many of the directories are already created and owned by the user "_mongo". ![]() Sun Nov 3 11:05:10.924 Error: couldn't connect to server 127.0.0.1:27017 at src/mongo/shell/mongo.js:145Ġ 76771 1 0 11:05AM ? 0:00.00 /opt/local/bin/daemondo -label=mongodb -start-cmd sudo -u _mongo /opt/local/bin/mongod -dbpath /opt/local/var/db/mongodb -logpath /opt/local/var/log/mongodb/mongodb.log -logappend -pid=execĠ 76772 76771 0 11:05AM ? 0:00.01 sudo -u _mongo /opt/local/bin/mongod -dbpath /opt/local/var/db/mongodb -logpath /opt/local/var/log/mongodb/mongodb.log -logappendĥ00 76773 76772 0 11:05AM ? 0:00.49 /opt/local/bin/mongod -dbpath /opt/local/var/db/mongodb -logpath /opt/local/var/log/mongodb/mongodb.The macports version of MongoDB does not come pre-configured and will not run after installing until you change some settings. > Scanning binaries for linking errors: 100.0% > Installing mongodb Activating mongodb Cleaning mongodb Replying to committed the fixes in r112860 though I split it into a few patches, one per upstream change.Ģ.4.8 is building fine on Mavericks but mongo shell is still not working: When both ports will be installed on same machine, only one should be "active" at a time: doing it that way it would be possible to switch from "development" to "production" (and back) simply by changing the active mongodb port on this machine. ![]() In the future, the "production" port would increment even versions and the "development" port would increment odd versions. The existing 2.4.7 mongodb "production" port should require XCode 4, redirecting Mavericks users to mongodb-dev port. Which means the next "production" release that builds on Mavericks will be 2.6 - in many months from now.įor Mavericks users a new mongodb-dev 2.5.x port that would compile on XCode 5 should be provided ASAP - assuming the issue was really fixed in the 2.5 branch indeed. Since a port is supposed to provide the original package, patching the official 2.4.7 to build on Mavericks is hardly an option. In my understanding the Mavericks issue was addressed in the 2.5 branch 2 months ago and will never reach the 2.4: this is why we are stuck in this issue today. May be we could agree on a different terminolgy: even (2.4) standing for "production" and odd (2.5) for "development". 2.5.x is the latest unstable/development series.īut they do have a 2.4 "nightly" classified as "unstable". When the second digit is odd, it is unstable/development. Replying to the second digit is even, it is stable. Since this is a trouble ticket and not a help forum, please direct questions about the above directly to my email. I'm not a Python user, but I think y'all can use pip to install your extension. I just duplicated a file that already existed in /opt/local/var/db/php> and changed its extension= declaration to mongo.so. You will need to follow the install directions to make sure the. If you are using PHP, install the needed extension via pecl: MacPorts will not know mongodb is installed, so any libraries that have it as a prereq will not build. Sudo -u _mongo > -dbpath /opt/local/var/db/mongodb -logpath /opt/local/var/log/mongodb/mongodb.log -logappend ![]() You can then start the server up manually with (assuming default paths): ![]() If you MUST get mongo running now, download the binaries from . For those of us who run with scissors in dark rooms filled with marbles and install major OS releases on the first day: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |