Has anyone experienced this before? Any ideas on how to troubleshoot my issue. Any help would be greatly appreciated. Thx.
Getting "Application error (Rails)"
- Northfo
- Posts: 7
- Starts: 1
- Wiki Edits: 0
I followed the deployment tutorial to a T - I even did it twice. I am getting the same error in my browser window "Application error (Rails)". What is strange is that nothing is being written to the log files. Most of the common mistakes and errors that I have read about in this forum should be picked up by the logs but mine are blank.
Has anyone experienced this before? Any ideas on how to troubleshoot my issue. Any help would be greatly appreciated. Thx.
Has anyone experienced this before? Any ideas on how to troubleshoot my issue. Any help would be greatly appreciated. Thx.
- William
- Posts: 1051
- Starts: 32
- Wiki Edits: 56
Hi there, make sure the production.log is chmod 666 - if you're still having trouble contact support. This error usually means a database.yml issue if not a problem with your code.
Cheers,
~William
Cheers,
~William
2006-12-17 03:08 AM
- Northfo
- Posts: 7
- Starts: 1
- Wiki Edits: 0
Thx, William. I tried what you suggested and it did not seem to work. Nevertheless, I gave up and logged on the next day. My site was magically up and running with no issues. This to me seems like a cache issue -- it was showing me a cached error page and not reflecting any of my changes when I was troubleshooting. What are your thoughts?
Also, I read about FastCGI caching and tried the "killall -usr1 dispatch.fcgi" command and it gives me the following message:
dispatch.fcgi(12788): Operation not permitted
dispatch.fcgi(11860): Operation not permitted
dispatch.fcgi(2645): Operation not permitted
dispatch.fcgi(18645): Operation not permitted
dispatch.fcgi(29508): Operation not permitted
dispatch.fcgi(29644): Operation not permitted
dispatch.fcgi(3617): Operation not permitted
dispatch.fcgi(3723): Operation not permitted
dispatch.fcgi(27091): Operation not permitted
dispatch.fcgi(21561): Operation not permitted
dispatch.fcgi(21694): Operation not permitted
dispatch.fcgi(3328): Operation not permitted
dispatch.fcgi(32726): Operation not permitted
dispatch.fcgi(19022): Operation not permitted
dispatch.fcgi(23963): Operation not permitted
dispatch.fcgi(30739): Operation not permitted
dispatch.fcgi(20659): Operation not permitted
dispatch.fcgi(32265): Operation not permitted
dispatch.fcgi(17290): Operation not permitted
dispatch.fcgi(26603): Operation not permitted
dispatch.fcgi(21979): Operation not permitted
dispatch.fcgi(22093): Operation not permitted
dispatch.fcgi(7440): Operation not permitted
dispatch.fcgi(7670): Operation not permitted
dispatch.fcgi(7865): Operation not permitted
dispatch.fcgi(11160): Operation not permitted
dispatch.fcgi(11163): Operation not permitted
dispatch.fcgi(11285): Operation not permitted
dispatch.fcgi(22308): Operation not permitted
dispatch.fcgi: no process killed
Any ideas?
Also, I read about FastCGI caching and tried the "killall -usr1 dispatch.fcgi" command and it gives me the following message:
dispatch.fcgi(12788): Operation not permitted
dispatch.fcgi(11860): Operation not permitted
dispatch.fcgi(2645): Operation not permitted
dispatch.fcgi(18645): Operation not permitted
dispatch.fcgi(29508): Operation not permitted
dispatch.fcgi(29644): Operation not permitted
dispatch.fcgi(3617): Operation not permitted
dispatch.fcgi(3723): Operation not permitted
dispatch.fcgi(27091): Operation not permitted
dispatch.fcgi(21561): Operation not permitted
dispatch.fcgi(21694): Operation not permitted
dispatch.fcgi(3328): Operation not permitted
dispatch.fcgi(32726): Operation not permitted
dispatch.fcgi(19022): Operation not permitted
dispatch.fcgi(23963): Operation not permitted
dispatch.fcgi(30739): Operation not permitted
dispatch.fcgi(20659): Operation not permitted
dispatch.fcgi(32265): Operation not permitted
dispatch.fcgi(17290): Operation not permitted
dispatch.fcgi(26603): Operation not permitted
dispatch.fcgi(21979): Operation not permitted
dispatch.fcgi(22093): Operation not permitted
dispatch.fcgi(7440): Operation not permitted
dispatch.fcgi(7670): Operation not permitted
dispatch.fcgi(7865): Operation not permitted
dispatch.fcgi(11160): Operation not permitted
dispatch.fcgi(11163): Operation not permitted
dispatch.fcgi(11285): Operation not permitted
dispatch.fcgi(22308): Operation not permitted
dispatch.fcgi: no process killed
Any ideas?
2007-01-06 10:59 AM
- Northfo
- Posts: 7
- Starts: 1
- Wiki Edits: 0
Pls disregard. I finally started getting log info again and I traced it to an issue with my acts_as_rateable plugin. I went through my app file for file and there are no differences between the my production app and my dev app. I also re-installed acts_as_rateable. I am running on windows and I'm wondering if this would be an issue between the different environments.
2007-01-06 04:09 PM
- William
- Posts: 1051
- Starts: 32
- Wiki Edits: 56
Besides shebang lines and permissions issues, there shouldn't be much difference between the two environments, assuming the same gems (i.e. Rails, too) are the same versions...
Cheers,
~William
Cheers,
~William