Hello everybody.
I’m trying to run an app with passenger, but having some problems…
In apache2.conf I’m using:
ServerName 10.10.2.15
Include /etc/apache2/sites-enabled/[^.#]
Then at /etc/apache2/sites-available/cadamostras I have
ServerName 10.10.2.15 DocumentRoot
/home/cassio/web/cadamostras/public RailsPoolIdleTime 650 ErrorLog
/var/log/cadamostras/error.log LogLevel info
I ran a2ensite cadamostras to enable it.
But when I point my browser to http://10.10.2.15 or at
http://10.10.2.15/cadamostras I get this error:
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable
to complete your request.
Please contact the server administrator, [no address given] and inform
them
of the time the error occurred, and anything you might have done that
may
have caused the error.
More information about this error may be available in the server error
log.
Apache/2.2.3 (Ubuntu) Phusion_Passenger/1.0.5 Server at 10.10.2.15 Port
80
Looking at /var/log/cadamostras/error.log I can see this:
Mon Jun 23 15:19:17
2008http://www.workingwithrails.com/forums/4-ask-a-rails-expert/topics/error[client
10.10.2.5] ** Unexpected error in Passenger: Cannot spawn application
‘/home/cassio/web/cadamostras’: Could not write ‘spawn_application’
command
to the spawn server: Broken pipe (32)
does anyone knows what can be the problem?
thank you!