Date: Tue, 11 Jun 2013 09:55:39 -0400 From: Paul Mather <paul@gromit.dlib.vt.edu> To: freebsd-ports@freebsd.org Subject: www/rubygem-passenger now requires bash? Message-ID: <DFDFB371-63D0-430F-8E4E-77119578DDD8@gromit.dlib.vt.edu>
next in thread | raw e-mail | index | archive | help
I'm running FreeBSD/amd64 8-STABLE (r250276) and, yesterday, updated = www/rubygem-passenger from 3.0.19 to 4.0.5 via portmaster. Although the = port upgraded without error, the resultant Passenger no longer works: it = complains it can't find "bash" and Rails apps won't spawn. I don't have shells/bash installed, and didn't need to with version = 3.0.19 of the www/rubygem-passenger port. The shells/bash port isn't = listed as a runtime dependency for www/rubygem-passenger in its = Makefile, either. If I install shells/bash and also put a symlink from /usr/bin/bash to = /usr/local/bin/bash then Passenger will run once again. I don't like = this solution, though. Does anyone know of a way of running the = Passenger 4.0.5 port without needing bash? I've included at the end a snippet from httpd-error.log showing the = behaviour of the new Passenger 4.0.5 prior to the workaround I put in = place mentioned in the preceding paragraph. Cheers, Paul. PS: Please Cc: me on replies because I am not subscribed to this list. =3D=3D=3D=3D=3D [ 2013-06-10 16:09:54.8007 60992/0x8010041c0 = agents/Watchdog/Main.cpp:440 ]: Options: { 'analytics_log_user' =3D> = 'nobody', 'default_group' =3D> 'nobody', 'default_python' =3D> 'python', = 'default_ruby' =3D> 'ruby', 'default_user' =3D> 'nobody', 'log_level' =3D>= '0', 'max_instances_per_app' =3D> '0', 'max_pool_size' =3D> '6', = 'passenger_root' =3D> = '/usr/local/lib/ruby/gems/1.9/gems/passenger-4.0.5', 'pool_idle_time' =3D>= '300', 'temp_dir' =3D> '/tmp', 'union_station_gateway_address' =3D> = 'gateway.unionstationapp.com', 'union_station_gateway_port' =3D> '443', = 'user_switching' =3D> 'true', 'web_server_pid' =3D> '60991', = 'web_server_type' =3D> 'apache', 'web_server_worker_gid' =3D> '80', = 'web_server_worker_uid' =3D> '80' } [ 2013-06-10 16:09:54.9242 60994/0x8012041c0 = agents/HelperAgent/Main.cpp:555 ]: PassengerHelperAgent online, = listening at unix:/tmp/passenger.1.0.60991/generation-0/request [ 2013-06-10 16:09:55.0451 60996/0x8016041c0 = agents/LoggingAgent/Main.cpp:271 ]: PassengerLoggingAgent online, = listening at unix:/tmp/passenger.1.0.60991/generation-0/logging [ 2013-06-10 16:09:55.0458 60992/0x8010041c0 = agents/Watchdog/Main.cpp:564 ]: All Phusion Passenger agents started! [Mon Jun 10 16:09:55 2013] [notice] Digest: generating secret for digest = authentication ... [Mon Jun 10 16:09:55 2013] [notice] Digest: done [Mon Jun 10 16:09:56 2013] [notice] Apache/2.2.24 (FreeBSD) DAV/2 = Phusion_Passenger/4.0.5 mod_ssl/2.2.24 OpenSSL/0.9.8y configured - - resuming normal operations PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) PassengerWatchdog (cleaning up...): environment corrupt; missing value = for (cleaning up...) [ 2013-06-10 16:11:40.4441 60994/0x80151cac0 Pool2/Spawner.h:159 ]: [App = 61400 stderr] Cannot execute "bash": No such file or directory (errno=3D2)= [ 2013-06-10 16:11:40.4505 60994/0x80151b940 = Pool2/Implementation.cpp:774 ]: Could not spawn process for group = /home/pmather/rails_testing/demo#default: An error occured while = starting up the preloader. (backtrace support disabled during compile time) [ 2013-06-10 16:11:40.4510 60994/0x80120a200 = agents/HelperAgent/RequestHandler.h:1889 ]: [Client 23] Cannot checkout = session. An error occured while starting up the preloader. Error page: Cannot execute "bash": No such file or directory (errno=3D2)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DFDFB371-63D0-430F-8E4E-77119578DDD8>