Welcome Guest | Login

Mongrel Cluster throws directory listing of /public

My recently configured mongrel cluster stopped working suddenly - I tried to issue mongrel::cluster restart first and then restarted my mongrel cluster manually. It still doesn't work even though everything looks good looking at processes, accessing the same application through fcgi etc.

Q1) How can I troubleshoot/fix this problem?

Q2) How can I prevent the directory listing being shown when something goes wrong with the mongrel cluster?

2007-10-03 12:14 AM

Pirkka, the command you should be entering is:

mongrel_rails cluster::restart
Let us know what error you receive after entering the above command.

2007-10-03 01:23 AM

Oops. Yep, that's what I meant. mongrel_rails cluster::restart does not give an error, it just gives

stopping port 4***0
stopping port 4***1
starting port 4***0
starting port 4***1

and now I have fresh pair of mongrel processes. Still, the website serves up the directory listing of /public.

2007-10-03 01:36 AM

Looks like this was a DNS problem: the application is hosted on a subdomain and the DNS entry was pointing to a wrong IP that was actually serving my app's public folder on a DIFFERENT SERVER altogether. My bad, sorry!

2007-10-03 02:21 AM


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