ROR通过passenger部署在apache上遇到的问题,求救!
vive 2013-01-11 06:03:13 页面上报告We're sorry, but something went wrong. 查log, 指定了passenger输出的log文件,内容如下:
[ pid=1298 thr=140701253511136 file=ext/apache2/Hooks.cpp:1411 time=2013-01-11 17:51:48.553 ]: Initializing Phusion Passenger...
[ pid=1298 thr=140701253511136 file=ext/apache2/Hooks.cpp:1686 time=2013-01-11 17:51:48.569 ]: Shutting down Phusion Passenger...
[ pid=1307 thr=139804418029536 file=ext/common/LoggingAgent/Main.cpp:283 time=2013-01-11 17:51:48.569 ]: Logging agent online, listening at unix:/tmp/passenger.1.0.1298/generation-0/logging.socket
[ pid=1317 thr=140701253511136 file=ext/apache2/Hooks.cpp:1411 time=2013-01-11 17:51:48.603 ]: Initializing Phusion Passenger...
[ pid=1327 thr=140495424186336 file=ext/common/LoggingAgent/Main.cpp:283 time=2013-01-11 17:51:48.624 ]: Logging agent online, listening at unix:/tmp/passenger.1.0.1317/generation-0/logging.socket
[ pid=1322 thr=140154217510656 file=ext/common/ApplicationPool/Pool.h:939 time=2013-01-11 17:51:51.415 ]: Spawning a process for /var/www/GoChessWeibo because there are none for this app group
[ pid=1322 thr=140154217510656 file=ext/common/ApplicationPool/../SpawnManager.h:289 time=2013-01-11 17:51:51.415 ]: Spawning a new application process for /var/www/GoChessWeibo...
/usr/local/rvm/gems/ruby-1.9.3-p362/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `block in require': iconv will be deprecated in the future, use String#encode instead.
[ pid=1322 thr=140154217510656 file=ext/common/ApplicationPool/../SpawnManager.h:410 time=2013-01-11 17:51:53.594 ]: Application process 1357 spawned
[ pid=1322 thr=140154217510656 file=ext/common/Process.h:117 time=2013-01-11 17:51:53.594 ]: Application process 1357 (0x7f782c002b50): created.
[ pid=1334 thr=140701253511136 file=ext/apache2/Hooks.cpp:690 time=2013-01-11 17:51:53.595 ]: Forwarding /users/4 to PID 1357
[ pid=1357 thr=7000200 file=abstract_request_handler.rb:244 time=2013-01-11 17:51:53.596 ]: Entering request handler main loop
[ pid=1357 thr=7000200 file=abstract_request_handler.rb:469 time=2013-01-11 17:51:53.596 ]: Accepting new request on main socket
cache: [POST /users/4] invalidate, pass
基本上找不到有用的报错信息。
代码里面调用puts, 内容是会输出在这个log里面的。可是正常的rails报错跑哪里去了呢?
请各位大神帮帮忙,给点线索,我应该去哪里找error log呢?apache那边的log也没有有用的错误信息。