librelist archives

« back to archive

Failure Starting Mongrel2?

Failure Starting Mongrel2?

From:
Zed A. Shaw
Date:
2010-08-30 @ 19:46
Hey Everyone,

Looks like there might be a problem with starting mongrel2 after we made
some changes tightening it up.  Here's a really good bug description:

http://mongrel2.org/tktview?name=6ca261e0ee

I haven't heard back, but it looks like if you don't upgrade m2sh then
you won't be able to start mongrel2.  If anyone else ran into this let
me know.  So far I think the fix is to make sure that you installed the
new m2py:

pip uninstall m2py
make clean all install

We'll also be bumping the version number of m2py up to match the
mongrel2 version number so that this get upgraded.

If anyone else has this problem, let me know so I can help you fix it.

As for what changed, we used to load server configs based on host or
name inside mongrel2.  That turned out to be error prone and make it
hard to run multiple servers out of m2sh.  Now we changed it so that it
uses the UUID only.  So if you're manually running them and not using
the python, you start them with:

mongrel2 config.sqlite 34f9ceee-cd52-4b7f-b197-88bf2f0ec378

With this change m2sh is able to do a much better job of starting the
right server and making sure everything is correct, and it can start
multiple servers easily.

Thanks for your time.

-- 
Zed A. Shaw
http://zedshaw.com/