Error in post2/implementation.cpp: 1156 with passenger 4.0.2 and Ruby 2.0.0

302 views
Skip to first unread message

draxxxeus

unread,
May 9, 2013, 2:06:59 AM5/9/13
to phusion-...@googlegroups.com
had deployed a Sinatra App using passenger gem version 3.0.19 on Ruby 1.9.2-p290 and it was working fine. When I upgraded my Ruby to 2.0.0 and passenger to 4.0.2, I am getting this line in /var/log/httpd/error_log

[ 2013-05-09 10:18:40.7277 6116/41715940 Pool2/Implementation.cpp:1156 ]: [App 6157 stderr] 172.16.24.58 - - [09/May/2013 10:18:40] "GET / " 1146 - 0.0018

Hongli Lai

unread,
May 9, 2013, 4:29:48 AM5/9/13
to phusion-passenger
This is not a problem, your app is just printing text to stderr and Phusion Passenger forwards it to the Apache log file.


On Thu, May 9, 2013 at 8:06 AM, draxxxeus <lucky...@gmail.com> wrote:
had deployed a Sinatra App using passenger gem version 3.0.19 on Ruby 1.9.2-p290 and it was working fine. When I upgraded my Ruby to 2.0.0 and passenger to 4.0.2, I am getting this line in /var/log/httpd/error_log

[ 2013-05-09 10:18:40.7277 6116/41715940 Pool2/Implementation.cpp:1156 ]: [App 6157 stderr] 172.16.24.58 - - [09/May/2013 10:18:40] "GET / " 1146 - 0.0018

--
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?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Phusion | Ruby & Rails deployment, scaling and tuning solutions

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)

Sudeep Agarwal

unread,
May 9, 2013, 4:51:28 AM5/9/13
to phusion-...@googlegroups.com
But, it is showing 500 error on the browser.
> You received this message because you are subscribed to a topic in the
> Google Groups "Phusion Passenger Discussions" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/phusion-passenger/hUoKkdkYiK0/unsubscribe?hl=en-US.
> To unsubscribe from this group and all its topics, send an email to

Hongli Lai

unread,
May 9, 2013, 4:55:18 AM5/9/13
to phusion-passenger
Then you need to look in your Sinatra logs, or the logs of whatever web framework you're using.

Sudeep Agarwal

unread,
May 9, 2013, 5:54:40 AM5/9/13
to phusion-passenger
Well, I am sure if I am correct here but when I run the same app on
Thin or Unicorn I don't get any error and stuff works fine. This is
the configuration i am using in Sinatra:

set :show_exceptions, true
set :raise_errors, true
set :dump_errors, true
set :logging, true

Hongli Lai

unread,
May 9, 2013, 7:25:10 AM5/9/13
to phusion-passenger
Have you tried Phusion Passenger Standalone? Run 'passenger start' in your app directory.

Sudeep Agarwal

unread,
May 9, 2013, 8:06:56 AM5/9/13
to phusion-...@googlegroups.com
This worked. I did passenger-install-apache2-module again and
restarted httpd. And voila! everything is working.

I still don't know what fixed it.

Thanks a lot for your time and help..

Sulabh Jain

unread,
Jul 2, 2013, 5:59:28 PM7/2/13
to phusion-...@googlegroups.com
I have a related issue here: I am getting these log message headers in every line and looks like this started from passenger 4.0.5. I am using rails 3.2 app with nginx web server. Can someone point into right direction to not show this header part or customize it.

 [ 2013-06-28 00:04:48.1030 32288/7fc479f49700 Pool2/Implementation.cpp:1174 ]: [App 32360 stdout]   passenger (4.0.5) lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'

Tinco Andringa

unread,
Jul 16, 2013, 9:44:21 AM7/16/13
to phusion-...@googlegroups.com
Hi Sulabh Jain,

Sorry for the late reaction. I can't really follow what the problem is. Could you paste the complete log of the error occurring, and some context to what you are trying to do? Also are you using the latest version of Passenger?

Kind regards,
Tinco



For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages