Phusion Passenger under FreeBSD's Ruby 1.9.2
Aaron D. Gifford
astounding at gmail.com
Fri Sep 17 23:41:26 UTC 2010
Hi,
I'm trying out Phusion Passenger 3.0.0.pre2 on a FreeBSD 8.1-RELEASE
system running Apache 2.2.16 and Ruby 1.9.2 from FreeBSD's ports
collection. Sadly, the instant I attempt to access or start an app (a
simple Rack app), the Passenger helper agent core dumps.
I'd had success running Passenger 3.0.0.pre1 on a different FreeBSD
8.1 system under Ruby 1.9.1.
It is possible this could be a FreeBSD Ruby 1.9.2 issue?
Info about my install:
# uname -a
FreeBSD example.com 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Fri Aug 6
01:59:16 MDT 2010 root at example.com:/usr/obj/usr/src/sys/MYKERNEL amd64
# pkg_info
apache-2.2.16_1 Version 2.2.x of Apache web server with prefork MPM.
apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.9_2 Apache Portability Library
bash-4.1.7_2 The GNU Project's Bourne Again SHell
ca_root_nss-3.12.6 The root certificate bundle from the Mozilla Project
curl-7.21.1 Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
db42-4.2.52_5 The Berkeley DB package, revision 4.2
expat-2.0.1_1 XML 1.0 parser written in C
gdbm-1.8.3_3 The GNU database manager
gettext-0.18.1.1 GNU gettext package
libiconv-1.13.1_1 A character set conversion library
libssh2-1.2.7,2 A library implementing the SSH2 protocol
mysql-client-5.1.50_1 Multithreaded SQL database (client)
pcre-8.10 Perl Compatible Regular Expressions library
perl-5.12.2_2 Practical Extraction and Report Language
ruby-1.9.2,1 An object-oriented interpreted scripting language
ruby19-mysql-2.8.2 Ruby module for accessing MySQL databases with a C API like
# gem list
*** LOCAL GEMS ***
abstract (1.0.0)
daemon_controller (0.2.5)
erubis (2.6.6)
fastthread (1.0.7)
ffi (0.6.3)
file-tail (1.0.5)
passenger (3.0.0.pre2)
rack (1.2.1)
rake (0.8.7)
rubygems-update (1.3.7)
sequel (3.15.0)
sinatra (1.0)
spruz (0.1.5)
sqlite3 (0.1.1)
>From my Passenger log file, I do get this:
[ pid=36501 thr=0x8016041c0 file=ext/apache2/Hooks.cpp:1319
time=2010-09-17 16:56:24.446 ]: Initializing Phusion Passenger...
[ pid=36505 thr=0x8016041c0
file=ext/common/LoggingAgent/LoggingServer.h:824 time=2010-09-17
16:56:39.533 ]: Flushing all sinks (periodic action)
[ pid=36506 thr=0x8016041c0 file=ext/apache2/Hooks.cpp:859
time=2010-09-17 16:56:39.712 ]: Unexpected error in mod_passenger: The
ApplicationPool server closed the connection before sending a version
identifier.
Backtrace:
in 'Passenger::ApplicationPool::Client*
Passenger::ApplicationPool::Client::connect(const std::string&, const
std::string&, const Passenger::StaticString&)' (Client.h:451)
in 'Passenger::ApplicationPool::Client*
Hooks::getApplicationPool()' (Hooks.cpp:270)
in 'Passenger::SessionPtr Hooks::getSession(const
Passenger::PoolOptions&)' (Hooks.cpp:296)
in 'int Hooks::handleRequest(request_rec*)' (Hooks.cpp:565)
[ pid=36502 thr=0x80105a1c0 file=ext/common/Watchdog.cpp:170
time=2010-09-17 16:56:39.712 ]: Phusion Passenger helper agent crashed
with signal SIGSEGV, restarting it...
I'm looking for any ideas at this point... I will try to downgrade to
Ruby 1.9.1 and see if I can get it working.
Thanks for any tips/pointers/suggestions.
Aaron out.
More information about the freebsd-ruby
mailing list