Re: [Radiant] Missing pid - Bad Gateway - after restart
Johan Bichel Lindegaard wrote: > After trying to restart radiant on my (mt) (gs) server with 'mtr restart > radiant' i get a 502 bad gateway error when accessing from http This happened to me when I killed my app files and uploaded new files without stopping the rails process on the server first. Basically the server was looking for the old PID since the service was not stopped before swapping the files. I've also seen this when my config/environment.rb file was set for Rails 1.2.6 when Rails 1.2.5 was the latest version installed on the server. This was solved by setting the following line: RAILS_GEM_VERSION = '1.2.5' unless defined? RAILS_GEM_VERSION So in addition to checking log/mongrel.log, check log/production.log as well. -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Missing pid - Bad Gateway - after restart
Well, I get '502 bad gateway error when accessing from http' generally when I removed and then add a rails application to the gridserver. So try and do a '$ mtr generate_htaccess '. Also I was recently getting the 'application started, but pid file was not found, ...' error. First I decided to reinstall the whole app...stupid choice. All I had to do was check the log/mongrel.log to see that I forgot to install the needed plugins for the rails app. So take a gander at your mongrel log, the answer might be in there. -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant