Apache configuration fails with Error 500, while Mongrel works fine

View: New views
3 Messages — Rating Filter:   Alert me  

Parent Message unknown Apache configuration fails with Error 500, while Mongrel works fine

by Алексей Данченков :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear All,

Fresh installation of Radiant by the book (
$ radiant radiant -d mysql
$ rake development db:bootstrap
) fails with Apache configuration, but works fine with Mongrel (
$ script/server -e development
)

The other Rails application seem to work just fine on both servers.

The Error 500 is followed with the messages:

A source file that the application requires is missing

Error Message
no such file to load -- application (MissionSourceFile)

Exception class
Passenger::Unknown Error

Apache configuration is also by the book:

LoadModule passenger_module
/usr/lib/ruby/gems/1.8/gems/passenger-2.0.4/ext/apache2/mod_passenger.so
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.0.4
PassengerRuby /use/bin/ruby18

I would appreciate any ideas, as the production server is Apache/mod_rails

Sincerely, Alexei
_______________________________________________
Radiant mailing list
Post:   Radiant@...
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: Apache configuration fails with Error 500, while Mongrel works fine

by Sean Cribbs-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That's likely occurring inside an extension that has not been updated to
work with Radiant 0.8+.   From Radiant 0.7 to 0.8 the
ApplicationController class moved to application_controller.rb from
application.rb.

Try running `script/console production` from within your deployment
directory.

Sean

Алексей Данченков wrote:

> Dear All,
>
> Fresh installation of Radiant by the book (
> $ radiant radiant -d mysql
> $ rake development db:bootstrap
> ) fails with Apache configuration, but works fine with Mongrel (
> $ script/server -e development
> )
>
> The other Rails application seem to work just fine on both servers.
>
> The Error 500 is followed with the messages:
>
> A source file that the application requires is missing
>
> Error Message
> no such file to load -- application (MissionSourceFile)
>
> Exception class
> Passenger::Unknown Error
>
> Apache configuration is also by the book:
>
> LoadModule passenger_module
> /usr/lib/ruby/gems/1.8/gems/passenger-2.0.4/ext/apache2/mod_passenger.so
> PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.0.4
> PassengerRuby /use/bin/ruby18
>
> I would appreciate any ideas, as the production server is Apache/mod_rails
>
> Sincerely, Alexei
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@...
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
>  


_______________________________________________
Radiant mailing list
Post:   Radiant@...
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: Apache configuration fails with Error 500, while Mongrel works fine

by john muhl-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

you might try upgrading passenger; if i remember right older versions
of passenger are incompatible with rails apps since the change from
controllers/application.rb to controllers/application_controller.rb

On Mon, Nov 2, 2009 at 12:22 PM, Алексей Данченков
<danchenkoff@...> wrote:

> Dear All,
>
> Fresh installation of Radiant by the book (
> $ radiant radiant -d mysql
> $ rake development db:bootstrap
> ) fails with Apache configuration, but works fine with Mongrel (
> $ script/server -e development
> )
>
> The other Rails application seem to work just fine on both servers.
>
> The Error 500 is followed with the messages:
>
> A source file that the application requires is missing
>
> Error Message
> no such file to load -- application (MissionSourceFile)
>
> Exception class
> Passenger::Unknown Error
>
> Apache configuration is also by the book:
>
> LoadModule passenger_module
> /usr/lib/ruby/gems/1.8/gems/passenger-2.0.4/ext/apache2/mod_passenger.so
> PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.0.4
> PassengerRuby /use/bin/ruby18
>
> I would appreciate any ideas, as the production server is Apache/mod_rails
>
> Sincerely, Alexei
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@...
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
_______________________________________________
Radiant mailing list
Post:   Radiant@...
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant