search for: phusionpasseng

Displaying 20 results from an estimated 28 matches for "phusionpasseng".

Did you mean: phusionpassenger
2012 Jul 19
5
Detecting unicorn / defining after_fork after master startup
...Is there an established way for adding an after_fork hook after Unicorn has already started up? I''m aware of the ability to do this via the config file but I don''t want my users to have to add something to their unicorn config file. Is there an equivalent to passenger''s PhusionPassenger.on_event(:starting_worker_process) method? Thanks! -Matt
2017 Mar 05
1
How to automatically confirm importing repo key?
Hi, I'm trying to set up provisioning LXC container running CentOS. And among other things, I need to install nginx + passenger from a non-official repo (the docs: https://www.phusionpassenger.com/library/install/nginx/install/oss/el7/). With this playbook: - hosts: all tasks: # https://docs.ansible.com/ansible/yum_repository_module.html - name: Add repository yum_repository: # from https://oss-binaries.phusionpassenger.com/yum/definitions/el-passenger.repo...
2010 Feb 28
5
Passenger and Puppet problems
Cant seem to get Passenger to work on my test server. Keep getting the following error in access_log *** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner (no such file to load -- rack/builder) (process 1998): from config.ru:1 Rack was installed from gem and is in the gempath. puppetversion 0.24.8 (both server and client) passenger (2.2.5) rack (1.0.1) rake (0.8.3) RHEL 5.3 httpd 2.2.3-22 ruby 1.8.5 The config.ru...
2009 Sep 10
2
passenger with ruby enterprise edition
Hi I am failing to start apache2 with ruby enterprise edition and passenger 2.2.5 [Wed Sep 09 17:38:20 2009] [notice] Apache/2.2.11 (Ubuntu) mod_ssl/2.2.11 OpenSSL/0.9.8g Phusion_Passenger/2.2.5 configured -- resuming normal operations *** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner (no such file to load -- puppet) (process 16544): from /opt/ruby-enterprise-1.8.6-20090610/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'' from /opt/ruby-enterprise-1.8.6-20090610/lib/ruby/site_ruby/1.8/rubygems/cus...
2013 Aug 29
4
Weird behaviour using ssl connection (OpenSSL::SSL::SSLError)
Hi guys when I execute the piece of code bellow on RoR console it works fine: url = URI.parse("https://us1.api.mailchimp.com/2.0/helper/ping") request = Net::HTTP::Post.new(url.path) http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request.body = "{\"apikey\": \"myapikey\"}" response = http.start
2010 Nov 16
2
Passenger cannot load Rack
I am getting the following error in my Apache error log when trying to run my puppetmaster as a rack app with Passenger: *** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner (no such file to load -- rack) (process 32373): Apache will start up without error, but as soon as a puppet client connects, the error is thrown. Passenger is dying at a "require ''rack''" statement in the rack application spawner code. In ol...
2013 Feb 22
1
upgraded to puppet 1.2.22 from 1.2.21 and get error
[ pid=1870 thr=69908823898540 file=utils.rb:176 time=2013-02-22 16:39:47.170 ]: *** Exception RuntimeError in PhusionPassenger::Rack::ApplicationSpawner (can''t activate rack (~> 1.1.0, runtime) for [], already activated rack-1.5.2 for []) (process 1870, thread #<Thread:0x7f29d53af358>): from ./config/../vendor/rails/railties/lib/initializer.rb:271:in `require_frameworks'' from ./config/.....
2010 Nov 09
2
AMQP and Unicorn (mq gem)
...e made a simple mod to Qusion for it to monkey patch unicorn too. The code looks like: /vendor/plugins/qusion/lib/amqp.rb module AMQP def self.start_web_dispatcher(amqp_settings={}) @settings = settings.merge(amqp_settings) case Qusion::ServerSpy.server_type when :passenger PhusionPassenger.on_event(:starting_worker_process) do |forked| if forked EM.kill_reactor Thread.current[:mq], @conn = nil, nil end Thread.new { start } die_gracefully_on_signal end when :standard Thread.new { start } die_gracefully_on_si...
2017 Mar 12
2
How do I confirm importing repo key without user intervention?
> what about importing the key beforehand > rpm --import keyfile That's what I do. But when I try to install a package from that (passenger) repository manually, yum wants my confirmation: # curl --fail -sSLo /etc/yum.repos.d/passenger.repo https://oss-binaries.phusionpassenger.com/yum/definitions/el-passenger.repo # grep gpgkey /etc/yum.repos.d/passenger.repo gpgkey=https://packagecloud.io/gpg.key gpgkey=https://packagecloud.io/gpg.key # rpm --import 'https://packagecloud.io/gpg.key' # yum install passenger Loaded plugins: fastestmirror passenger/7/x86_64/s...
2012 Mar 29
25
Unable to deploy to Apache
...y not have been started. Please start that service. Further information about the error may have been written to the application''s log file. Please check it in order to analyse the problem. Error message: unable to open database file (SQLite3::CantOpenException) Exception class: PhusionPassenger::UnknownError Application root: /home/rubys/work/depot Backtrace --------------------------------------------------------------------------------------------------------------- This is the error in /var/log/httpd/error_log *** Exception PhusionPassenger::UnknownError in PhusionPassenger::...
2010 Dec 26
1
Sqlite gem not found with rails3
Hello, I am migrating a rails app to rails3, however I am hanging with an error about gem not found. Error message: Could not find sqlite3-ruby-1.3.2 in any of the sources (Bundler::GemNotFound) Exception class: PhusionPassenger::UnknownError When I do $ gem list sqlite3-ruby-1.3.2 *** LOCAL GEMS *** (and the same result with sudo gem list ) However, when I do gem list sqlite3-ruby *** LOCAL GEMS *** sqlite3-ruby (1.3.2, 1.3.0) How can I make rails3/passenger environment see the right gems? How can...
2010 Jun 24
8
Passenger barfs.
...le=ext/apache2/Hooks.cpp:706 time=2010-06-24 10:48:40.476 ]: The backend application (process 7077) did not send a valid HTTP response; instead, it sent nothing at all. It is possible that it has crashed; please check whether there are crashing bugs in this application. *** Exception TypeError in PhusionPassenger::Rack::ApplicationSpawner (can''t convert Array into String) (process 7077): from /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138:in `union'' from /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138 from /usr/lib/ruby/site_ruby/1.8/rub...
2015 Aug 13
1
CentOS-6, SELInux, Ruby-on-Rails, Passenger and Kernel-2.6.32
...without success, to get SELinux and Passenger -- essentially a fast-cgi replacement Apache module built specifically for Rails -- to run together. I have found that the latest versions of the Passenger Apache module are supposed to work on CentOS-6, but not with the stock kernel. See: https://www.phusionpassenger.com/library/walkthroughs/deploy/ruby/ownserver/apache/oss/el6/install_passenger.html#step-1:-upgrade-your-kernel,-or-disable-selinux My questions are: Are there really really grave implications of using the kernel-ml form epel repo to get a sufficiently modern kernel to finally get Passenger and...
2017 Mar 12
2
How do I confirm importing repo key without user intervention?
Hi, Sorry for asking it again. I just thought I asked the question the wrong way. Too much unnecessary details. And therefore, got no replies. I'm configuring a server from, say, a script (automatically). I need it to be done without user saying, "Yes, it's okay to import the key." I was told to run the following command: yum makecache -y --disablerepo=*
2017 Mar 12
0
How do I confirm importing repo key without user intervention?
...bout importing the key beforehand > >> rpm --import keyfile > > That's what I do. But when I try to install a package from that > (passenger) repository manually, yum wants my confirmation: > > # curl --fail -sSLo /etc/yum.repos.d/passenger.repo > https://oss-binaries.phusionpassenger.com/yum/definitions/el-passenger.repo > > # grep gpgkey /etc/yum.repos.d/passenger.repo > gpgkey=https://packagecloud.io/gpg.key > gpgkey=https://packagecloud.io/gpg.key > > > # rpm --import 'https://packagecloud.io/gpg.key' > > # yum install passenger > Load...
2009 May 04
1
Passenger 2.2.1 error?
Hi, I am running my rails 2.3.2 app on Passenger 2.2.1. There''s a simple page like render :text => "Hello" And it crashes about every 1 out of 5 refreshes. Is there any known issue with Passenger 2.2.1? Thanks. Sam -- Posted via http://www.ruby-forum.com/.
2009 Jun 22
0
Passenger 2.2.2 error
Hi, I deployed an rails 2.3.2 app on passenger 2.2.2. I get the following error sometimes. Is it something I can fix in my app or not? Passenger encountered the following error: The application spawner server exited unexpectedly: Broken pipe Exception class: PhusionPassenger::Railz::ApplicationSpawner::Error Backtrace: # File Line Location 0 /dh/passenger/lib/phusion_passenger/railz/application_spawner.rb 117 in `spawn_application'' 1 /dh/passenger/lib/phusion_passenger/spawn_manager.rb 265 in `spawn_rails_application'' 2 /dh/passenger/lib/phusion_pas...
2009 Sep 23
6
Dreamhost launch issues. What gems are used in my rails app?
...ed. Please install all libraries that this application requires. Further information about the error may have been written to the application''s log file. Please check it in order to analyse the problem. Error message: no such file to load -- application (MissingSourceFile) Exception class: PhusionPassenger::UnknownError Application root: /home/[domain]/store.[domain].com/current Backtrace: # File Line Location 0 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb 31 in `gem_original_require'' 1 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb 31 in `require'' 2 /...
2012 Sep 07
7
passenger-install-apache2-module fails
Hi I have installed passenger on many machine and this is my 3rd puppet master on CentOS 6. This one is giving me problems and I have been trying with different gem versions and still no go. When I run passenger-install-apache2-module I get this error: Sorry its really long so I copied to a text doc attached to this post. Any Idea on whats going wrong. I have not had a problem with this before
2015 Dec 22
0
Announcing release for Phusion Passenger 4.0 on CentOS Linux 7 x86_64 SCL
...d application server designed to be fast, robust and lightweight. The rh-passenger40 Software Collection can also be used with Apache HTTP Server from the httpd24 Software Collection. To do so, install the rh-passenger40-mod_passenger package. For more on the Phusion Passenger, see https://www.phusionpassenger.com. The SCLo SIG in CentOS ---------------------- The Software Collections SIG group is an open community group co-ordinating the development of the SCL technology, and helping curate a reference set of collections. In addition to the Phusion Passenger collections being released here, we a...