500 internal server error

127 views
Skip to first unread message

gryzzly

unread,
Dec 31, 2009, 11:59:11 AM12/31/09
to Phusion Passenger Discussions
I am running ubuntu on VPS and I am so tired of trying to deploy
Redmine with Passenger.
Please help, if you know how. Or maybe you would suggest the right
place to ask this?

I am getting this in my apache error log:

/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- fastthread (LoadError)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:
31:in `require'
from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.8/lib/
phusion_passenger/utils.rb:28
from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.8/bin/passenger-
spawn-server:53:in `require'
from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.8/bin/passenger-
spawn-server:53
[ pid=5500 file=ext/apache2/Hooks.cpp:727 time=2009-12-31
18:35:59.322 ]:
Unexpected error in mod_passenger: Cannot spawn application '/home/
misha/html/redmine': The spawn server has exited unexpectedly.
Backtrace:
in 'virtual boost::shared_ptr
Passenger::ApplicationPoolServer::Client::get(const
Passenger::PoolOptions&)' (ApplicationPoolServer.h:471)
in 'int Hooks::handleRequest(request_rec*)' (Hooks.cpp:523)

This ‘fastthread’ is installed (if I do ‘gem list’, I can see it in
the list), so I think there is a problem with GEM_PATH.

If I do ‘require ‘fastthread” in irb, I get:

LoadError: no such file to load -- fastthread
from (irb):1:in `require'
from (irb):1

Very confused :(

Happy New Year!

Anuj Dutta

unread,
Dec 31, 2009, 1:15:10 PM12/31/09
to phusion-...@googlegroups.com


2009/12/31 gryzzly <mrej...@gmail.com>

--

You received this message because you are subscribed to the Google Groups "Phusion Passenger Discussions" group.
To post to this group, send email to phusion-...@googlegroups.com.
To unsubscribe from this group, send email to phusion-passen...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/phusion-passenger?hl=en.



You do not have two versions of ruby installed by any chance?

Anuj

--
Anuj DUTTA

gryzzly

unread,
Jan 1, 2010, 9:51:47 AM1/1/10
to Phusion Passenger Discussions
Anuj, thank you for your answer.

How can I check if I have? (generally I shouldn't)

On Dec 31 2009, 8:15 pm, Anuj Dutta <dutta.a...@googlemail.com> wrote:
> 2009/12/31 gryzzly <mrejz...@gmail.com>

> > phusion-passen...@googlegroups.com<phusion-passenger%2Bunsu...@googlegroups.com>

gryzzly

unread,
Jan 1, 2010, 10:23:42 AM1/1/10
to Phusion Passenger Discussions
Well, I've found the solution for my problem. (somehow after reading
this thread: http://old.nabble.com/ruby-gems---%3E-no-such-file-to-load---fastthread-td24273459.html
-- "You need to install gems separately for Passenger using the Ruby
Enterprise Edition.")

I just installed Ruby Enterprise Edition for Ubuntu, reinstalled
passenger mod for apache and after apache restart everything worked.

Finally! Thank you, Santa :)

Anuj Dutta

unread,
Jan 1, 2010, 6:24:14 PM1/1/10
to phusion-...@googlegroups.com


2010/1/1 gryzzly <mrej...@gmail.com>

Anuj, thank you for your answer.

How can I check if I have? (generally I shouldn't)



Every version of ruby has its own copy of rubygems. If you do ls -l /usr/local/lib/ruby/site_ruby (replace this with the path you have on your machine) you will see two different directories for different versions of ruby. So, if you installed REE, then you will have to install the gems for it seperately. I hope it makes sense.


Anuj


To unsubscribe from this group, send email to phusion-passen...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/phusion-passenger?hl=en.





--
Anuj DUTTA
Reply all
Reply to author
Forward
0 new messages