Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Passenger: The application spawner server exited unexpectedly: Connection closed

I was trying to deploy Redmine to Apache with mod_passenger on CentOS 6.3 but having the error :

The application spawner server exited unexpectedly: Connection closed

I installed the latest version (3.0.18) of passenger using gem.

After various failed attempts I decided to delete passenger from "gem uninstall passenger" and install it again using "yum install rubygem-passenger" instead. The installed version was "3.0.17"

Then it started working. Still don't know why exactly.

like image 862
Yuta Avatar asked Dec 06 '25 12:12

Yuta


1 Answers

I also had same issue and figured out.

You may have RailsBaseURI directives in your apache config file. If you're using Rails 3, it should be changed to RackBaseURI.

See these

  • Passenger error - PhusionPassenger::ClassicRails::ApplicationSpawner::Error
  • http://wiki.railsplayground.com/railsplayground/show/How+To+use+Phusion+Passenger
  • http://www.modrails.com/documentation/Users%20guide%20Apache.html
like image 92
Sanghyun Lee Avatar answered Dec 08 '25 01:12

Sanghyun Lee



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!