symbol lookup error:undefined symbol: rb_str_new_static

308 views
Skip to first unread message

Gregor Mitzka

unread,
Apr 17, 2015, 7:09:23 AM4/17/15
to phusion-...@googlegroups.com
Hey everybody,

I am new with Passenger and I try to get things started. But I have an problem I cannot solve at my own and there doesn't seem to be much information about this. When I try to start my rails app I get an error like this:

[ 2015-04-17 13:03:08.0517 15740/7f84ec1a3700 App/Implementation.cpp:287 ]: Could not spawn process for application [edited]: An error occurred while starting up the preloader. It exited before signalling successful startup back to Phusion Passenger.
 
Error ID: ae45bc90
 
Error details saved to: /tmp/passenger-error-FAz9bs.html
 
Message from application: An error occurred while starting up the preloader. It exited before signalling successful startup back to Phusion Passenger. Please read <a href="https://github.com/phusion/passenger/wiki/Debugging-application-startup-problems">this article</a> for more information about this problem.<br>
<h2>Raw process output:</
h2>
<pre>
/usr/bin/ruby: symbol lookup error: /usr/local/lib/ruby/gems/2.2.0/gems/json-1.8.2/lib/json/ext/parser.so: undefined symbol: rb_str_new_static
</pre>

Is there anybody who has an idea about what would solve the problem? I also posted an issue request at the ruby bugtracker but to me it seems like an issue of Passenger.

Thanks for help and any advice.

Regards,
Gregor

PS: I'm running on Ubuntu 14.4 LTS, Passenger 5.0.6 and Ruby 2.2.2.

Tinco Andringa

unread,
Apr 20, 2015, 10:37:38 AM4/20/15
to phusion-...@googlegroups.com
Hi,

This is likely not a problem in Passenger. rb_str_new_static I think is a very new feature of Ruby, one of your gems has a problem with it. If you look in the error file Passenger generated for you (in /tmp/passenger-error-FAz9bs.html) there should be a longer stack trace that could give a hint to what gem is having the problem.

Kind regards,
Tinco

On Fri, Apr 17, 2015 at 1:09 PM, Gregor Mitzka <gregor...@gmail.com> wrote:
Hey everybody,

I am new with Passenger and I try to get things started. But I have an problem I cannot solve at my own and there doesn't seem to be much information about this. When I try to start my rails app I get an error like this:

[ 2015-04-17 13:03:08.0517 15740/7f84ec1a3700 App/Implementation.cpp:287 ]: Could not spawn process for application /var/www/vhosts/cityconflict.com/v2.cityconflict.com: An error occurred while starting up the preloader. It exited before signalling successful startup back to Phusion Passenger.

 
Error ID: ae45bc90
 
Error details saved to: /tmp/passenger-error-FAz9bs.html
 
Message from application: An error occurred while starting up the preloader. It exited before signalling successful startup back to Phusion Passenger. Please read <a href="https://github.com/phusion/passenger/wiki/Debugging-application-startup-problems">this article</a> for more information about this problem.<br>
<h2>Raw process output:</
h2>
<pre>
/usr/bin/ruby: symbol lookup error: /usr/local/lib/ruby/gems/2.2.0/gems/json-1.8.2/lib/json/ext/parser.so: undefined symbol: rb_str_new_static
</pre>
Is there anybody who has an idea about what would solve the problem? I also posted an issue request at the ruby bugtracker but to me it seems like an issue of Passenger.

Thanks for help and any advice.

Regards,
Gregor

PS: I'm running on Ubuntu 14.4 LTS, Passenger 5.0.6 and Ruby 2.2.2.

--
You received this message because you are subscribed to the Google Groups "Phusion Passenger Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phusion-passen...@googlegroups.com.
To post to this group, send email to phusion-...@googlegroups.com.
Visit this group at http://groups.google.com/group/phusion-passenger.
To view this discussion on the web visit https://groups.google.com/d/msgid/phusion-passenger/62f77014-ec06-4987-9ada-e2b54194b6ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Phusion | Web application deployment, scaling and monitoring solutions

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)
Reply all
Reply to author
Forward
0 new messages