Passenger表示没有错误,但rails应用程序无法加载

时间:2013-11-01 15:22:57

标签: ruby-on-rails apache passenger

因此,经过几天的故障排除让Passenger加载我的rails应用程序之后,当我导航到我的域有关gemset错误和数据库角色无法登录时,我之前收到了一些不错的小乘客错误。我相信我已修复了这些设置错误,但现在当我导航到我的域时,我什么也得不到。没有错误页面,没有。我在错误日志中找不到任何指示问题所在的位置。我怀疑问题可能与权限有关,但我不知道如何诊断这是否正确或如何解决它。这是我的错误日志的样子:

[Fri Nov 01 10:10:14 2013] [notice] caught SIGTERM, shutting down
[Fri Nov 01 10:10:15 2013] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Fri Nov 01 10:10:15 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[ 2013-11-01 10:10:15.0461 3060/7f2d05770720 agents/Watchdog/Main.cpp:574 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nobody', 'default_python' => 'python', 'default_ruby' => '/home/krstck/.rvm/wrappers/ruby-1.9.3-p448/ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_instances_per_app' => '0', 'max_pool_size' => '6', 'passenger_root' => '/home/krstck/.rvm/gems/ruby-1.9.3-p448/gems/passenger-4.0.23', 'pool_idle_time' => '300', 'temp_dir' => '/tmp', 'union_station_gateway_address' => 'gateway.unionstationapp.com', 'union_station_gateway_port' => '443', 'user_switching' => 'true', 'web_server_pid' => '3059', 'web_server_type' => 'apache', 'web_server_worker_gid' => '48', 'web_server_worker_uid' => '48' }
[ 2013-11-01 10:10:15.1385 3063/7f0d05adc720 agents/HelperAgent/Main.cpp:619 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.3059/generation-0/request
[ 2013-11-01 10:10:15.1523 3068/7f5fe481f7e0 agents/LoggingAgent/Main.cpp:318 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.3059/generation-0/logging
[ 2013-11-01 10:10:15.1528 3060/7f2d05770720 agents/Watchdog/Main.cpp:761 ]: All Phusion Passenger agents started!
[Fri Nov 01 10:10:15 2013] [notice] Digest: generating secret for digest authentication ...
[Fri Nov 01 10:10:15 2013] [notice] Digest: done
[ 2013-11-01 10:10:15.3630 3082/7fad84082720 agents/Watchdog/Main.cpp:574 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nobody', 'default_python' => 'python', 'default_ruby' => '/home/krstck/.rvm/wrappers/ruby-1.9.3-p448/ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_instances_per_app' => '0', 'max_pool_size' => '6', 'passenger_root' => '/home/krstck/.rvm/gems/ruby-1.9.3-p448/gems/passenger-4.0.23', 'pool_idle_time' => '300', 'temp_dir' => '/tmp', 'union_station_gateway_address' => 'gateway.unionstationapp.com', 'union_station_gateway_port' => '443', 'user_switching' => 'true', 'web_server_pid' => '3080', 'web_server_type' => 'apache', 'web_server_worker_gid' => '48', 'web_server_worker_uid' => '48' }
[ 2013-11-01 10:10:15.4069 3085/7fa13a7d6720 agents/HelperAgent/Main.cpp:619 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.3080/generation-0/request
[ 2013-11-01 10:10:15.4172 3090/7f6893bad7e0 agents/LoggingAgent/Main.cpp:318 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.3080/generation-0/logging
[ 2013-11-01 10:10:15.4177 3082/7fad84082720 agents/Watchdog/Main.cpp:761 ]: All Phusion Passenger agents started!
[Fri Nov 01 10:10:15 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 Phusion_Passenger/4.0.23 configured -- resuming normal operations

以下是乘客记忆统计数据的输出:

--------- Apache processes ---------
PID   PPID  VMSize    Private  Name
------------------------------------
3080  1     471.2 MB  0.2 MB   /usr/sbin/httpd
3100  3080  471.2 MB  0.1 MB   /usr/sbin/httpd
3101  3080  471.2 MB  0.1 MB   /usr/sbin/httpd
3102  3080  471.2 MB  0.1 MB   /usr/sbin/httpd
3103  3080  471.2 MB  0.1 MB   /usr/sbin/httpd
3104  3080  471.2 MB  0.1 MB   /usr/sbin/httpd
3105  3080  471.2 MB  0.1 MB   /usr/sbin/httpd
3106  3080  471.2 MB  0.1 MB   /usr/sbin/httpd
3107  3080  471.2 MB  0.1 MB   /usr/sbin/httpd
### Processes: 9
### Total private dirty RSS: 1.36 MB


-------- Nginx processes --------

### Processes: 0
### Total private dirty RSS: 0.00 MB


---- Passenger processes -----
PID   VMSize    Private  Name
------------------------------
3082  209.8 MB  0.2 MB   PassengerWatchdog
3085  497.1 MB  0.3 MB   PassengerHelperAgent
3090  207.7 MB  0.5 MB   PassengerLoggingAgent
### Processes: 3
### Total private dirty RSS: 1.08 MB

这是乘客身份:

Version : 4.0.21
Date    : 2013-11-01 10:35:58 -0500
Instance: 3080
----------- General information -----------
Max pool size : 6
Processes     : 0
Requests in top-level queue : 0

----------- Application groups -----------

我还需要包括其他什么吗?加载我的应用程序会有什么影响?

0 个答案:

没有答案