Hi, I just saw Bitnami release Redmine Stack 2.1.2-2 using Ruby 1.9.3, and eagerly tested it. Installation run fine, but when accessed, I could not go beyond Bitnami welcome page. The log showed permission problem when compiling passenger_native_support.so (I'am using Athlon). This is part of the error.log
Phusion Passenger: no passenger_native_support.so found for the current Ruby interpreter. Compiling one...
# mkdir -p /opt/redmine-2.1.2-2/ruby/lib/ruby/gems/1.9.1/gems/passenger-3.9.1.beta/libout/ruby/ruby-1.9.3-athlon-linux Encountered permission error, trying a different directory...
# mkdir -p /usr/sbin/.passenger/native_support/3.9.1.beta/ruby-1.9.3-athlon-linux [ pid=4185 thr=3055549248 file=ext/common/agents/HelperAgent/RequestHandler.h:1731 time=2012-11-18 00:12:14.9978 ]: [Client 18] Cannot checkout session. An error occured while starting up the preloader. Error page: Permission denied - /usr/sbin/.passenger (Errno::EACCES) /opt/redmine-2.1.2-2/ruby/lib/ruby/1.9.1/fileutils.rb:247:in
mkdir' /opt/redmine-2.1.2-2/ruby/lib/ruby/1.9.1/fileutils.rb:247:in
fu_mkdir' /opt/redmine-2.1.2-2/ruby/lib/ruby/1.9.1/fileutils.rb:221:inblock (2 levels) in mkdir_p' /opt/redmine-2.1.2-2/ruby/lib/ruby/1.9.1/fileutils.rb:219:in
reverse_each' ................etc............
I temporarily changed the permission of the folder and restart the aplication. Now the compiling seems to run fine and I can enter Redmine as usual. But there stills some errors or warning? this is part of the error.log:
*** Phusion Passenger: no passenger_native_support.so found for the current Ruby interpreter. Compiling one...
# mkdir -p /opt/redmine-2.1.2-2/ruby/lib/ruby/gems/1.9.1/gems/passenger-3.9.1.beta/libout/ruby/ruby-1.9.3-athlon-linux # cd /opt/redmine-2.1.2-2/ruby/lib/ruby/gems/1.9.1/gems/passenger-3.9.1.beta/libout/ruby/ruby-1.9.3-athlon-linux # /opt/redmine-2.1.2-2/ruby/bin/ruby '/opt/redmine-2.1.2-2/ruby/lib/ruby/gems/1.9.1/gems/passenger-3.9.1.beta/ext/ruby/extconf.rb'
checking for alloca.h... yes
checking for ruby/io.h... yes
creating Makefile
# make compiling /opt/redmine-2.1.2-2/ruby/lib/ruby/gems/1.9.1/gems/passenger-3.9.1.beta/ext/ruby/passenger_native_support.c linking shared-object passenger_native_support.so
/opt/redmine-2.1.2-2/ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `block in require': iconv will be deprecated in the future, use String#encode instead.
[ pid=5265 thr=3056728896 file=ext/common/ApplicationPool2/Spawner.h:139 time=2012-11-18 00:27:47.5774 ]: Background I/O capturer error: Resource temporarily unavailable (errno=11)
[ pid=5259 thr=3075143424 file=ext/common/agents/Watchdog/Main.cpp:984 time=2012-11-18 00:28:02.7326 ]: Some Phusion Passenger agent processes did not exit in time, forcefully shutting down all.
[Sun Nov 18 00:29:35 2012] [notice] caught SIGTERM, shutting down
Although Redmine now seems to run normally (I'v not tested thoroughly), the question remains: why the permission problem (never happened with previous version), and how the later errors(warnings) will affect the functioning?
Thanks