Internal error when accessing from another machine
Added by m p about 15 years ago
About your application's environment
Ruby version 1.8.7 (i486-linux)
RubyGems version 1.3.1
Rails version 2.1.2
Active Record version 2.1.2
Action Pack version 2.1.2
Active Resource version 2.1.2
Action Mailer version 2.1.2
Active Support version 2.1.2
Edge Rails revision unknown
Application root /var/www/redmine
Environment production
Database adapter mysql
Database schema version 101
Ubuntu Jaunty 9.04
i followed the instructions given here:http://www.redmine.org/wiki/1/HowTo_Install_Redmine_in_Ubuntu
i managed to get up to Testing the Installation and it works fine both locally and from another machine.
next i did the Start Application Boot Time step and edited my crontab to add the following line:
@reboot cd /opt/redmine/redmine-0.8.6 ; rm -f log/mongrel.pid ; mongrel_rails start -e production -p 3000 -d
problem now is that i can access it locally but not from another machine it gives me an 500 Internal Server Error
below is what i get in my production.log
/!\ FAILSAFE /!\ Wed Nov 18 12:12:57 +0200 2009
Status: 500 Internal Server Error
Operation not permitted - /var/www/redmine/tmp/sessions//ruby_sess.2ed7ecbbc550ff6a
/var/www/redmine/vendor/rails/actionpack/lib/action_controller/cgi_ext/session.rb:68:in `chmod'
/var/www/redmine/vendor/rails/actionpack/lib/action_controller/cgi_ext/session.rb:68:in `initialize'
/usr/lib/ruby/1.8/pstore.rb:322:in `transaction'
/usr/lib/ruby/1.8/pstore.rb:321:in `catch'
/usr/lib/ruby/1.8/pstore.rb:321:in `transaction'
/var/www/redmine/vendor/rails/actionpack/lib/action_controller/cgi_ext/session.rb:67:in `initialize'
/usr/lib/ruby/1.8/cgi/session.rb:279:in `new'
/usr/lib/ruby/1.8/cgi/session.rb:279:in `initialize_without_cgi_reader'
/var/www/redmine/vendor/rails/actionpack/lib/action_controller/cgi_ext/session.rb:39:in `initialize'
/var/www/redmine/vendor/rails/actionpack/lib/action_controller/cgi_process.rb:132:in `new'
/var/www/redmine/vendor/rails/actionpack/lib/action_controller/cgi_process.rb:132:in `session'
/var/www/redmine/vendor/rails/actionpack/lib/action_controller/cgi_process.rb:168:in `stale_session_check!'
/var/www/redmine/vendor/rails/actionpack/lib/action_controller/cgi_process.rb:116:in `session'
/var/www/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:1139:in `assign_shortcuts_without_flash'
/var/www/redmine/vendor/rails/actionpack/lib/action_controller/flash.rb:166:in `assign_shortcuts'
/var/www/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:523:in `process_without_filters'
/var/www/redmine/vendor/rails/actionpack/lib/action_controller/filters.rb:568:in `process_without_session_management_support'
/var/www/redmine/vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
/var/www/redmine/vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
/var/www/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
/var/www/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
/var/www/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
/var/www/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
/var/www/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
/var/www/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
/usr/lib/ruby/1.8/mongrel/rails.rb:76:in `process'
/usr/lib/ruby/1.8/mongrel/rails.rb:74:in `synchronize'
/usr/lib/ruby/1.8/mongrel/rails.rb:74:in `process'
/usr/lib/ruby/1.8/mongrel.rb:159:in `process_client'
/usr/lib/ruby/1.8/mongrel.rb:158:in `each'
/usr/lib/ruby/1.8/mongrel.rb:158:in `process_client'
/usr/lib/ruby/1.8/mongrel.rb:285:in `run'
/usr/lib/ruby/1.8/mongrel.rb:285:in `initialize'
/usr/lib/ruby/1.8/mongrel.rb:285:in `new'
/usr/lib/ruby/1.8/mongrel.rb:285:in `run'
/usr/lib/ruby/1.8/mongrel.rb:268:in `initialize'
/usr/lib/ruby/1.8/mongrel.rb:268:in `new'
/usr/lib/ruby/1.8/mongrel.rb:268:in `run'
/usr/lib/ruby/1.8/mongrel/configurator.rb:282:in `run'
/usr/lib/ruby/1.8/mongrel/configurator.rb:281:in `each'
/usr/lib/ruby/1.8/mongrel/configurator.rb:281:in `run'
/usr/bin/mongrel_rails:129:in `run'
/usr/lib/ruby/1.8/mongrel/command.rb:212:in `run'
/usr/bin/mongrel_rails:282
Replies (3)
FIXED---RE: Internal error when accessing from another machine - Added by m p about 15 years ago
never mind.
Seems to be working fine now
RE: Internal error when accessing from another machine - Added by m p almost 15 years ago
this seems to have popped up again,
can anybody help -- am using redmine 0.8.7 now
RE: Internal error when accessing from another machine - Added by m p almost 15 years ago
found the answer here http://code.google.com/p/phusion-passenger/issues/detail?id=232
if anyone is interested