Quoting Daniel Molina (dmol...@opennebula.org):
> 
> Include it before the if:
>      logger.error(rackinput.class)
>      if (rackinput.class == Tempfile)

I did just that, restarted apache and tried again. I can't spot the
value in the logs, can you? Passenger errors are logged in apache error log
(not vhost) log. I did check all logs but didn't find anything.

[ 2013-11-29 09:49:54.3785 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr] NameError - uninitialized constant 
PhusionPassenger::Utils::RewindableInput:
[ 2013-11-29 09:49:54.3786 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/one/sunstone/sunstone-server.rb:413:in `block 
in <top (required)>'
[ 2013-11-29 09:49:54.3786 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1212:in 
`call'
[ 2013-11-29 09:49:54.3786 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1212:in 
`block in compile!'
[ 2013-11-29 09:49:54.3787 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/sinatra/base.rb:785:in `[]'
[ 2013-11-29 09:49:54.3787 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/sinatra/base.rb:785:in 
`block (3 levels) in route!'
[ 2013-11-29 09:49:54.3787 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/sinatra/base.rb:801:in 
`route_eval'
[ 2013-11-29 09:49:54.3787 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/sinatra/base.rb:785:in 
`block (2 levels) in route!'
[ 2013-11-29 09:49:54.3787 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/sinatra/base.rb:822:in 
`block in process_route'
[ 2013-11-29 09:49:54.3788 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/sinatra/base.rb:820:in 
`catch'
[ 2013-11-29 09:49:54.3788 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/sinatra/base.rb:820:in 
`process_route'
[ 2013-11-29 09:49:54.3788 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/sinatra/base.rb:784:in 
`block in route!'
[ 2013-11-29 09:49:54.3788 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/sinatra/base.rb:783:in `each'
[ 2013-11-29 09:49:54.3788 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/sinatra/base.rb:783:in 
`route!'
[ 2013-11-29 09:49:54.3789 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/sinatra/base.rb:886:in 
`dispatch!'
[ 2013-11-29 09:49:54.3789 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/sinatra/base.rb:719:in 
`block in call!'
[ 2013-11-29 09:49:54.3789 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/sinatra/base.rb:871:in 
`block in invoke'
[ 2013-11-29 09:49:54.3789 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/sinatra/base.rb:871:in 
`catch'
[ 2013-11-29 09:49:54.3789 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/sinatra/base.rb:871:in 
`invoke'
[ 2013-11-29 09:49:54.3790 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/sinatra/base.rb:719:in 
`call!'
[ 2013-11-29 09:49:54.3790 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/sinatra/base.rb:705:in `call'
[ 2013-11-29 09:49:54.3790 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/rack/commonlogger.rb:33:in 
`call'
[ 2013-11-29 09:49:54.3790 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:225:in `context'
[ 2013-11-29 09:49:54.3790 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:220:in `call'
[ 2013-11-29 09:49:54.3790 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       
/usr/lib/ruby/vendor_ruby/rack/protection/xss_header.rb:18:in `call'
[ 2013-11-29 09:49:54.3791 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       
/usr/lib/ruby/vendor_ruby/rack/protection/path_traversal.rb:16:in `call'
[ 2013-11-29 09:49:54.3791 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       
/usr/lib/ruby/vendor_ruby/rack/protection/json_csrf.rb:18:in `call'
[ 2013-11-29 09:49:54.3791 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       
/usr/lib/ruby/vendor_ruby/rack/protection/base.rb:49:in `call'
[ 2013-11-29 09:49:54.3791 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       
/usr/lib/ruby/vendor_ruby/rack/protection/base.rb:49:in `call'
[ 2013-11-29 09:49:54.3792 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       
/usr/lib/ruby/vendor_ruby/rack/protection/frame_options.rb:31:in `call'
[ 2013-11-29 09:49:54.3792 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/rack/nulllogger.rb:9:in 
`call'
[ 2013-11-29 09:49:54.3792 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/rack/head.rb:11:in `call'
[ 2013-11-29 09:49:54.3792 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/rack/methodoverride.rb:21:in 
`call'
[ 2013-11-29 09:49:54.3792 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1334:in 
`block in call'
[ 2013-11-29 09:49:54.3793 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1416:in 
`synchronize'
[ 2013-11-29 09:49:54.3793 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       /usr/lib/ruby/vendor_ruby/sinatra/base.rb:1334:in 
`call'
[ 2013-11-29 09:49:54.3793 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       
/usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:77:in
 `process_request'
[ 2013-11-29 09:49:54.3793 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:140:in
 `accept_and_process_next_request'
[ 2013-11-29 09:49:54.3794 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:108:in
 `main_loop'
[ 2013-11-29 09:49:54.3794 25391/7f15dc523700 Pool2/Implementation.cpp:1291 ]: 
[App 25479 stderr]       
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:441:in `block (3 
levels) in start_threads'
[ 2013-11-29 09:49:54.3794 25391/7f15dc523700 Pool2/Implementation.cpp:1280 ]: 
[App 25479 stderr] 
[ 2013-11-29 09:49:54.3994 25407/7fe34cff1700 apache2/Hooks.cpp:718 ]: 
Unexpected error in mod_passenger: write() failed: Broken pipe (errno=32)
  Backtrace:
     in 'void Hooks::sendRequestBody(const Passenger::FileDescriptor&, 
boost::shared_ptr<Passenger::BufferedUpload>&)' (Hooks.cpp:1215)
     in 'int Hooks::handleRequest(request_rec*)' (Hooks.cpp:532)

Gr. Stefan

-- 
| BIT BV  http://www.bit.nl/        Kamer van Koophandel 09090351
| GPG: 0xD14839C6                   +31 318 648 688 / i...@bit.nl

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to