Welcome Guest | Login

Problems restarting mongrel

I am just getting my app running on mongrel servers. All has been going well until out of the blue I get the 503 error. I have look through the FAQs and as instructed I have first looked at the ps command and I do not see the mongrel running. So, I tried to restart my mongrel with

mongrel_rails start -e production -p 40xx -d

The first few time I enter this I get nothing in the way of feedback and when I run ps I still do not see the mongrel process running. The is no mongrel.pid file in the log directory so restart or end do not work.

What am I doing wrong?

2008-07-27 03:35 PM

Doug Martin
Hi,

I tried starting mongrel for your site and could see the error being logged into the mongrel.log.

/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': /home/user/app2/config/environment.rb:81: syntax error, unexpected '}', expecting kEND (SyntaxError)

Please always follow the log traces in mongrel.log file to see if there's a problem with your code and then fix the error to get mongrel running.

2008-07-27 04:10 PM


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