Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This setting crashes mongodb when MONGO_URL is set #6

Closed
shoehn opened this issue Apr 25, 2013 · 4 comments
Closed

This setting crashes mongodb when MONGO_URL is set #6

shoehn opened this issue Apr 25, 2013 · 4 comments

Comments

@shoehn
Copy link

shoehn commented Apr 25, 2013

Hello,

when I try to start your setting as described in the README.md everything works perfect as long as I use the embedded minimongo.

Trying to use a real mongodb the script kills my mongodb.

I am on OSX 10.8 using Node v0.10.4 and Meteor 0.6.2.1

Did you encounter this issue? Starting the meteor app without the testing infrastructure works as expected.

Best regards

Sebastian

@xolvio
Copy link
Collaborator

xolvio commented Apr 25, 2013

Hey Sebastian. I haven't gotten around to setting up an external mongo yet. I'll do that and see what the problem is. When you say "kills the mongodb", what do you mean?

@shoehn
Copy link
Author

shoehn commented Apr 25, 2013

It stops the mongo instance, so that it is no longer running. I did not figure out yet whether mongo crashes or the scripts stop it.

That's what I find in the logs:

Thu Apr 25 09:58:42 got signal 15 (Terminated: 15), will terminate after current cmd ends

So terminating mongod is the right answer to this signal. But as I said I will try to figure out which application sends the signal.

@xolvio
Copy link
Collaborator

xolvio commented Apr 25, 2013

Aha. It's line 29 in gruntfile.js You can see when RTD starts, it kills mongod just in case. Obviously this is not a good idea when you have a separate running mongod server :-) You should remove that line.

You may also want to use a different database for the mirrorApp (line 44)

@shoehn
Copy link
Author

shoehn commented Apr 25, 2013

Thank you very much. That is really fast support. This solved the issue. Should have found that myself, but I did not think about the possibility that the gruntfile shuts down mongod ;-)

@shoehn shoehn closed this as completed Apr 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant