apache - Phusion-passenger crash -


i'm using passenger apache run ruby application. i've noticed passenger crashes time time (apache still working), , need manually restart apache make work again.

a @ log makes me think occurs when apache changes log file (archives current create new one). tail -f on tha apache errors log file looks like:

tail: ‘/var/log/apache2/error.log’ has become inaccessible: no such file or directory                                            tail: ‘/var/log/apache2/error.log’ has appeared;  following end of new file                                                      [ 2013-10-06 05:05:27.2678 10498/7f3f0cf82740 agents/watchdog/main.cpp:459 ]: options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nogroup', 'default_python' => 'python', 'default_ruby' => '/usr/bin/ruby1.9.1', 'default_user' => 'nobody', 'log_level' => '0', 'max_instances_per_app' => '0', 'max_pool_size' => '6', 'passenger_root' => '/var/lib/gems/1.9.1/gems/passenger-4.0.14', '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' => '18659', 'web_server_type' => 'apache', 'web_server_worker_gid' => '1000', 'web_server_worker_uid' => '1001' }                                                                 [sun oct 06 05:05:27 2013] [error] *** passenger not initialized because of error: unable start phusion passenger watchdog because encountered following error during startup: tried reuse existing server instance directory /tmp/passenger.1.0.18659, has wrong permissions                                                                              [sun oct 06 05:05:27 2013] [notice] apache/2.2.22 (ubuntu) php/5.4.9-4ubuntu2.2 phusion_passenger/4.0.14 configured -- resuming normal operations 
  • the message mentions file in /tmp wrong permissisons, why wrong? should be? how make them right?
  • the last message "resuming normal operations" seems wrong since passenger down. bug? mean?
  • what should prevent happening?

ah, see on version 4.0.14. please upgrade latest version, 4.0.20. versions prior 4.0.17 or didn't support /tmp directories setgid flag.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -