Forum: Ruby on Rails Problem with Phusion passenger V 1.0.5

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
171ea139761951336b844e708d1547ab?d=identicon&s=25 James Byrne (byrnejb)
on 2008-12-17 21:25
OS = CentOS-5.2
Ruby = 1.8.6
Rails = 2.0.2
Passenger = 1.0.5
Redmine = 0.7.3
Apache = 2.2.3

I have created an rsync copy of our company project administration site
and am trying to get Redmine to start on the backup server.  The http
configuration files are identical on the main and backup sites.  The
backup Redmine application directory is an rsync copy of the master
updated every 20 minutes. The version of rails and passenger on the
backup are the same as on the master server.  SELinux settings and file
contexts are the same on both machines and no security errors are
reported.  When the backup server gets a request addressed to the backup
redmine site I get this error:

A source file that the application requires, is missing.

    *
      It is possible that you didn't upload your application files
correctly. Please check whether all your application files are uploaded.
    *
      A required library may not installed. Please install all libraries
that this application requires.

Further information about the error may have been written to the
application's log file. Please check it in order to analyse the problem.

Error message:
    no such file to load -- ./config/boot (MissingSourceFile)
Exception class:
    Passenger::UnknownError
Application root:
    /var/data/pas-redmine
Backtrace:
    #   File   Line   Location
    0   /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb   31   in
`gem_original_require'
    1   /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb   31   in
`require'
    2
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb
496   in `require'
    3
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb
342   in `new_constants_in'
    4
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb
496   in `require'
    5   ./config/environment.rb

Now... the files in this directory tree are in all respects identical to
those on the master server.  There is, and never has been to my
knowledge, a file config/boot.  A file config.boot.rb yes, but not
simply config/boot.  There is not file named boot on the master server
and the file config/boot.rb is identical on both hosts.

Can anyone clue me in as to what is happening here?

Regards,
171ea139761951336b844e708d1547ab?d=identicon&s=25 James Byrne (byrnejb)
on 2008-12-17 21:27
Never mind.  GD SELinux again.
This topic is locked and can not be replied to.