Project

General

Profile

Redmin 500 error. I need help!!!

Added by Andrey Batanov over 13 years ago

Please help me understand the problem. You should start with the support of passenger

@
uname -a
Linux CentOS 2.6.35.4-rscloud #8 SMP Mon Sep 20 15:54:33 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

ruby -v
ruby 1.8.7 (2009-12-24 patchlevel 248) [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 2010.01

rails -v
Rails 2.3.5
@


[debug] ssl_engine_pphrase.c(469): unencrypted RSA private key - pass phrase not required
[info] Configuring server for SSL protocol
[debug] ssl_engine_init.c(406): Creating new SSL context (protocols: SSLv2, SSLv3, TLSv1)
[debug] ssl_engine_init.c(730): Configuring RSA server certificate
[debug] ssl_engine_init.c(769): Configuring RSA server private key
[info] Loading certificate & private key of SSL-aware server
[debug] ssl_engine_pphrase.c(469): unencrypted RSA private key - pass phrase not required
[info] Configuring server for SSL protocol
[debug] ssl_engine_init.c(406): Creating new SSL context (protocols: SSLv2, SSLv3, TLSv1)
[debug] ssl_engine_init.c(730): Configuring RSA server certificate
[debug] ssl_engine_init.c(769): Configuring RSA server private key
[client 92.47.39.107] Rails Error: Unable to access log file. Please ensure that /var/www/user/data/www/projects.site.com/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
[error] [client 92.47.39.107] /var/www/user/data/www/projects.site.com/vendor/rails/actionpack/lib/action_controller/cgi_process.rb:25:in `dispatch_cgi'
[error] :
[error] undefined method `stdinput' for nil:NilClass
[error] (
[error] NoMethodError
[error] )
[error] \tfrom /var/www/user/data/www/projects.site.com/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:101:in `dispatch_cgi'
[error] \tfrom /var/www/user/data/www/projects.site.com/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:27:in `dispatch'
error] \tfrom dispatch.cgi:10
[error] Premature end of script headers: dispatch.cgi

gem list --local

@
  • LOCAL GEMS ***
    actionmailer (2.3.5)
    actionpack (2.3.5)
    activerecord (2.3.5)
    activeresource (2.3.5)
    activesupport (2.3.5)
    cgi_multipart_eof_fix (2.5.0)
    daemon_controller (0.2.5)
    daemons (1.1.0)
    fastthread (1.0.7)
    file-tail (1.0.5)
    gem_plugin (0.2.3)
    mongrel (1.1.5)
    mysql (2.8.1)
    passenger (3.0.0)
    rack (1.1.0, 1.0.1)
    rails (2.3.5)
    rake (0.8.7)
    spruz (0.2.2)
    @

Replies (3)

RE: Redmin 500 error. I need help!!! - Added by Andrey Batanov over 13 years ago

@
RAILS_ENV=YOUR_ENVIRONMENT script/about
./script/../config/../vendor/rails/railties/lib/initializer.rb:386:in `read': No such file or directory - /var/www/user/data/www/projects.site.com/config/environments/YOUR_ENVIRONMENT.rb (Errno::ENOENT)
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:386:in `load_environment'
from /var/www/user/data/www/projects.site.com/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:379:in `load_environment'
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:137:in `process'
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
from /var/www/sozoapps/data/www/projects.sozoapps.com/config/environment.rb:20
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /var/www/sozoapps/data/www/projects.sozoapps.com/vendor/rails/railties/lib/commands/about.rb:1
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from script/about:4

@

RE: Redmin 500 error. I need help!!! - Added by Andrey Batanov over 13 years ago

RAILS_ENV=production script/about
About your application's environment
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.3.6
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Edge Rails revision unknown
Application root /var/www/user/data/www/projects.site.com
Environment production
Database adapter mysql
Database schema version 20100819172912

About your Redmine plugins
Redmine Charts 0.1.0
Redmine Wiki Extensions plugin 0.2.4

RE: Redmin 500 error. I need help!!! - Added by Felix Schäfer over 13 years ago

You're writing of passenger, but the errors you show involve cgi, which one are you trying to use?

    (1-3/3)