From owner-freebsd-ports@FreeBSD.ORG Sun Feb 22 22:37:38 2009 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B568C106564A for ; Sun, 22 Feb 2009 22:37:38 +0000 (UTC) (envelope-from cv@gjunka.com) Received: from outbound-mail-39.bluehost.com (outbound-mail-39.bluehost.com [69.89.20.193]) by mx1.freebsd.org (Postfix) with SMTP id 9045C8FC19 for ; Sun, 22 Feb 2009 22:37:38 +0000 (UTC) (envelope-from cv@gjunka.com) Received: (qmail 24296 invoked by uid 0); 22 Feb 2009 22:10:27 -0000 Received: from unknown (HELO host79.hostmonster.com) (74.220.207.79) by outboundproxy2.bluehost.com with SMTP; 22 Feb 2009 22:10:27 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gjunka.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-Identified-User; b=FIF76KF3pnhxMQ1Lesum3w6NcjIneSuKT1wUS9fKwdO1IfhI3GTkCqwIWhwekJZ32GWzBf3+27/TvIs+jPIB9pnSQdpVN5QifszxyrkhRStrWlh5TRvnuUszlX26stIX; Received: from host-87-74-95-72.dslgb.com ([87.74.95.72] helo=[192.168.1.66]) by host79.hostmonster.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LbMXD-00009I-Qv; Sun, 22 Feb 2009 15:10:58 -0700 Message-ID: <49A1CD82.3000905@gjunka.com> Date: Sun, 22 Feb 2009 22:11:14 +0000 From: Grzegorz Junka User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: stas@FreeBSD.org References: <49A1CA3E.6000508@poczta.onet.pl> In-Reply-To: <49A1CA3E.6000508@poczta.onet.pl> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Identified-User: {630:host79.hostmonster.com:gjunkaco:gjunka.com} {sentby:smtp auth 87.74.95.72 authed with cv+gjunka.com} Cc: ports@FreeBSD.org Subject: FreeBSD Port: ruby-1.9.1.0_1,1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2009 22:37:39 -0000 Hi, I am trying to configure edge versions of rails and passenger on ruby 1.9.1. Passenger fails because of a problem in the Ruby port on FreeBSD. The problem is reproducible in irb19: irb(main):001:0> @pid = fork NotImplementedError: fork() function is unimplemented on this machine from (irb):1:in `fork' from (irb):1 from /usr/local/bin/irb19:12:in `
' irb(main):002:0> exit The error in passenger is similar: /root/src/passenger/lib/phusion_passenger/abstract_server.rb:125:in `fork': fork() function is unimplemented on this machine (NotIm plementedError) from /root/src/passenger/lib/phusion_passenger/abstract_server.rb:125:in `start' from /root/src/passenger/lib/phusion_passenger/railz/application_spawner.rb:192:in `start' from /root/src/passenger/lib/phusion_passenger/spawn_manager.rb:260:in `block (2 levels) in spawn_rails_application' from /root/src/passenger/lib/phusion_passenger/abstract_server_collection.rb:121:in `lookup_or_add' from /root/src/passenger/lib/phusion_passenger/spawn_manager.rb:254:in `block in spawn_rails_application' from /root/src/passenger/lib/phusion_passenger/abstract_server_collection.rb:75:in `block in synchronize' from :8:in `synchronize' from /root/src/passenger/lib/phusion_passenger/abstract_server_collection.rb:74:in `synchronize' from /root/src/passenger/lib/phusion_passenger/spawn_manager.rb:253:in `spawn_rails_application' from /root/src/passenger/lib/phusion_passenger/spawn_manager.rb:148:in `spawn_application' from /root/src/passenger/lib/phusion_passenger/spawn_manager.rb:285:in `handle_spawn_application' from /root/src/passenger/lib/phusion_passenger/abstract_server.rb:332:in `main_loop' from /root/src/passenger/lib/phusion_passenger/abstract_server.rb:182:in `start_synchronously' from /root/src/passenger/bin/passenger-spawn-server:46:in `
' [ pid=36607 file=Hooks.cpp:521 time=2009-02-22 20:37:18.199 ]: Unexpected error in mod_passenger: Cannot spawn application '/home/grzesiu/work': The spawn server has exited unexpectedly. Backtrace: in 'virtual boost::shared_ptr Passenger::ApplicationPoolServer::Client::get(const Passenger:: PoolOptions&)' (ApplicationPoolServer.h:424) in 'int Hooks::handleRequest(request_rec*)' (Hooks.cpp:408) Is this a known problem? Is there any way of fixing it? Many thanks in advance for any help. Regards Grzegorz Junka