This repository has been archived by the owner on Jan 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
Cannot start MongoDB #10
Comments
I re-added the homebrew plist and it works like it should. Here's the diff (ignoring whitespace with --- homebrew.mxcl.mongodb.plist 2012-08-08 10:01:46.000000000 +0200
+++ com.remysaissy.mongodbprefspane.plist 2012-08-08 10:04:24.000000000 +0200
@@ -2,8 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
+ <key>KeepAlive</key>
+ <false/>
<key>Label</key>
- <string>homebrew.mxcl.mongodb</string>
+ <string>com.remysaissy.mongodbprefspane</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/mongod</string>
@@ -13,15 +15,13 @@
</array>
<key>RunAtLoad</key>
<true/>
- <key>KeepAlive</key>
- <false/>
- <key>UserName</key>
- <string>mange</string>
- <key>WorkingDirectory</key>
- <string>/usr/local</string>
<key>StandardErrorPath</key>
<string>/usr/local/var/log/mongodb/output.log</string>
<key>StandardOutPath</key>
<string>/usr/local/var/log/mongodb/output.log</string>
+ <key>UserName</key>
+ <string>mange</string>
+ <key>WorkingDirectory</key>
+ <string>/usr/local</string>
</dict>
</plist> No real differences there. It must be something with the prefpane, or something. I don't get it. |
Hi Mange, |
Is there a good way to test this? Changing the command to |
Sorry, I didn't see your message before. |
I changed the command to |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I realize most of the information here is useless for debugging. Help me collect information for you. I cannot figure out how to debug this further.
I installed the prefpane and could not start the instance. I started the Lingon program to edit my launchctl files and noticed that it had not migrated my plist since I wasn't using the one that comes with Homebrew. It's exactly the same commandline and all, I just modified the name.
Here's the commandline:
So I tried editing the one that was created by the prefpane to use the same commandline. That didn't work.
I then removed all plists about MongoDB, loaded the ones from the Homebrew install like the instructions and then started the prefpane again. The plist was now migrated. Still no go.
I try starting from the commandline using
launctl start com.remysaissy.mongodbprefspane
, but the server does not come up. The logs are not touched.I've unloaded, loaded, started, stopped, changed, etc. until my head hurts. I cannot understand why it's not starting up.
Starting up manually using the same commandline as in the plist works normally.
The text was updated successfully, but these errors were encountered: