Welcome Guest | Login

mongrel cluster timing out

I set up my app and configure the mongrel cluster:
mongrel_rails cluster::configure -N 3 -p 4000 -e production -c /var/www/{appname}/ -a 127.0.0.1 --user mongrel --group mongrel
When I start up the cluster, it doesn't output any error messages and there are no messages in the logs (log.mongrel.4000.log, etc.)
When I try to access the app through a browser, using {ip}:4000, it times out.  Is there a specific set of ports that are open for my use, or could something else be wrong.  I don't see any signs of activity in the mongrel production log.

2008-03-17 02:20 AM

I could see your mongrels are running as user mongrel. Please note your app is owned by root and you need to configute it for your user. Also there seems to be 2 clusters of mongrels running one in 4000 range of ports and another 8000. You need to kill one of the cluster. However I've opened all the ports in firewall now. Please double check all these.

2008-03-17 06:27 AM

Well, the error is changed.  It no longer times out, but dies immediately with an "unable to connect" error.  I killed the 8000 mongrel processes.  I set ownership for the entire directory to mongrel (previously, I had only chowned the tmp/pids/public directories).  Still no app, though, and no helpful clues in the logs.

2008-03-18 07:26 AM

Hi - Could you please post a  support ticket with all the details and how you are trying to access your apps. We will look into this and will get back to you. Thank you

2008-03-18 09:53 AM

HostingRails Support

Hello Guest! In order to post you must be an active client with us, please log in or sign up.