Phusion Passenger (originally called mod_rails or mod_rack) is a Rails application server designed for easy deployment and low maintenance hosting of Rack apps, including Rails, Sinatra, Camping, and other ruby-based web development micro-frameworks. Passenger supports both Apache and NGinx ...

learn more… | top users | synonyms (1)

0
votes
1answer
23 views

Audit says nothing to do, yet puppet won't run with SELinux enforcing

I'm determined to get my puppet master running with SELinux set to enforcing. If I make it permissive, it runs fine. I'm on RHEL 7, with systemd, apache2, passenger 4, and puppet 3. I've gone ...
1
vote
1answer
53 views

How to tell how Apache might be broken and preventing the ruby passenger module from installing

I'm installing a ruby on rails application to a Ubuntu 14.04 server. As part of it, I need to install the passenger module for Apache. When I go to run the "passenger-install-apache2-module" I receive ...
0
votes
0answers
20 views

Rails/Plain HTML living on same server using Passenger and Apache

I'm trying to get the following to work: www.server.com: go to main directory, serve up plain html www.server.com/w: go to /w directory, serve up a php-laden wiki www.server.com/r: go to /r ...
0
votes
1answer
21 views

Log errors from Passenger in vhost error.log

I'm running Phusion Passenger 4.0.40 with nginx. The server is used to host several websites and each has its own error.log file. However if an application crashes during startup, the error message ...
1
vote
1answer
55 views

File descriptor limit in nginx/Passenger app

We're running a Rails app in Passenger 4.0.45 and nginx 1.6.0 (installed by Passenger installer) running on Ubuntu 14.04. Under heavy load Passenger restarts all of the application processes. After ...
3
votes
1answer
39 views

Sharing HTTP session data in Passenger/Rack - What's the Best Current Practice?

My company has a customer-facing web application distributed across several servers for the purpose of load balancing and fault tolerance. The application is written in Ruby (Rack, running under ...
0
votes
0answers
43 views

Passenger permission error

I have a strange permission error when I am trying to start a rails application on passenger/nginx webserver. Here is the error log. Can anyone enlighten me whats wrong? [ 2014-07-01 18:31:01.1992 ...
0
votes
0answers
50 views

How To Get My Rails Phusion Apache App To Use The Correct DocumentRoot

enter code hereOk this is obviously a rookie mistake of some description but I have followed this to the letter and cannot get my rails app public directory to be my document root. the tutorial says ...
0
votes
0answers
14 views

Javascript not working on phusion passenger apache server

I have this strange behaviour. My server works perfectly fine while i issue thin command to boot the server. thin -p 80 -e production But the click function vanishes when i do the same using apache ...
0
votes
2answers
31 views

Skip passenger instance stop on apache2 reload

When apache reloads cofig files all instances of passenger are stopped and must be spawned again, it creates a problem, because spawn of rails application isn't fast process. Is there any workaround ...
0
votes
1answer
83 views

All Passenger processes suddenly hang - backtrace indicates reading POST data?

I've been having problems with my nginx/Passenger server where requests appear to be getting stuck, any subsequent requests don't complete, the queue gets up to its max, and the site starts serving ...
0
votes
1answer
54 views

Restart individual rails apps in nginx+unicorn

I have 15-20 independent rails applications on the same ec2 instance. The rails applications are deployed using apache + passenger with Railsbaseuri. RailsBaseURI /games <Directory ...
0
votes
0answers
43 views

How do I go about rotating nginx + passenger logs?

I've got nginx with passenger running on debian squeeze. passenger's error output goes to master error log, as you may know. And when logrotate rotates the log, ruby applications continue to write to ...
0
votes
0answers
18 views

Tell apt-get install to ignore a dependency [duplicate]

I have used Phusion Passenger's Ubuntu repositories to install nginx-extras and passenger on a clean Ubuntu14.04 server, which already had Ruby2.1.1 installed. It worked perfectly. This is how ...
2
votes
1answer
147 views

Passenger Module Fails On AWS Gem With 'Class Variable Name' Error

Opening Disclaimer: I'm all kinds of newb to the technologies involved in this question. But the Googles, she no yield-a the fruit. I'm trying to deploy a Rails app into production. This app works ...
0
votes
0answers
43 views

Application that works on webrick but fails in passenger

I have a ruby on rails application that starts successfully when I execute rails s -p 3000. But when I deploy it on apache or nginx using passenger, I get this result. The deployment instructions ...
0
votes
1answer
92 views

Why is rails application always running in development mode?

I created rails application, and everything appears to be working fine, but I can't seem to figure out how to run the application in production mode. I specified in the example.com.conf (Apache ...
2
votes
1answer
94 views

Nginx, setup https

I'm trying to setup https on my ubuntu server with NGINX ver 1.4.7 and Phusion Passenger 4.0.41. I created .key and .csr using these two commands sudo openssl genrsa -des3 -out server.key 2048 sudo ...
0
votes
0answers
70 views

NginX configuration to prevent “Slow HTTP Denial of Service”

I'm trying to configure NginX (in combination with Passenger and Rails) to prevent "Slow HTTP Denial of Service". What I'm trying to do to prevent it, is limiting the amount of requests per ...
0
votes
0answers
63 views

Nginx + mod_security without a backend server

I want to start using mod_security for Nginx. However, I have read the official doc and something got my atention: ...
0
votes
0answers
47 views

Redmine on Apache2 - moving passenger docroot + symlinks

I have to upgrade some production servers to ssl, one of them a Redmine host and i don't have experience with apache+passenger. Searches here and other places did not yet provide an answer for my ...
0
votes
0answers
180 views

Simple Rails 4 ActionController::Live example not working with Apache + Passenger

I am attempting to get ready to move our environment to Rails 4 and working through all the issues. Regretfully we are currently on Centos 5.5 so there were some hurdles to jump through just to get ...
0
votes
0answers
17 views

Apache2/Passenger - permission errors after restart

Im using Passenger under apache2 on CentOS 6.3 to manage some applications. Every week the httpd service restarts and in doing so it creates a new folder in /var/tmp/passenger to manage the processes ...
0
votes
1answer
100 views

Rails 4 app + nginx1.4.4 + passenger4.0.37 on a headless Ubuntu12.x server running on a VM on my local machine

At the moment, it gives me a disapointing blank page. No 500, no 404, no errors on the nginx log file, just a snowstorm of interrogations. And its been hours of googling without success. So if anyone ...
0
votes
1answer
80 views

Puppet Master does not seem to be receiving certificate to sign from agent

I wanted to configure DNS round robin on my Puppet 2.7.23 Master servers. I configured 2 Red Hat 6.5 servers with Puppet running via Rack with Passenger on Apache 2.2.15 with mod_ssl. I configured ...
3
votes
1answer
243 views

What does this log mean?

While my application is running (with a lot of traffic), I see this in error log but I dont even understand what it is about. I guess it's optimizing some configuration but I need a more formal ...
2
votes
1answer
179 views

Out-of-order chef recipes causing apt package install to fail

I'm writing a Chef recipe to install among other things nginx and Phusion Passenger. The short summary is that the recipes on my run list are not executing in the order I expect, and that's causing an ...
0
votes
0answers
50 views

install redmine in shared apache server

I'm trying to install Redmine in a shared apache server. This means, I cant make the redmine/public folder my document root. My server is called server1, so I have some html and php pages at: ...
0
votes
0answers
76 views

How to diagnose sporadic performance issues?

I have a web application with very varying response times and can't find out what causes that. That's the (quite complicated) setup: Powerful (i7, 32GB RAM) dedicated server in a German data center, ...
0
votes
0answers
64 views

Serve Rails app With Apache2/Passenger with no domain name

I have VPS, I am already serving a few PHP sites with Apache2. I now want to deploy a Rails app. I have set up the virtualhost in sites-available and enabled it with a2ensite. It looks like this ...
1
vote
1answer
214 views

Installing Phusion Passenger with Ruby 2.1.0

I'm following the guide for installing Passenger on Ubuntu, but when running sudo apt-get install libapache2-mod-passenger it tries to install Ruby 1.9.1. I already have Ruby 2.1.0 (installed via ...
0
votes
2answers
341 views

/etc/init.d/nginx not executable

I searched on the internet for a while now and I don't find a solution so I am asking here: My question is, why is this file (/etc/init.d/nginx) not executeable? I was following the tutorial of Alex ...
0
votes
0answers
74 views

How can I determine why I am getting error 500?

My setup is rails 3.2, with ruby 1.9.3 running on passenger and apache (production environment). I Recently used "mod_rewrite" to set up redirection for http -> https requests, and all went smoothly. ...
0
votes
1answer
446 views

Unable to start the Phusion Passenger - Cannot change the directory - Operation not permitted (errno=1)

I'm running Red Hat Enterprise Linux Server release 6.4 (Santiago) on Amazon EC2. I have installed Phusion Passenger via a gem. When I start httpd I have this error message in less ...
1
vote
2answers
61 views

Why server writes much more than reading the disk

I'm running one Ruby on Rails application, I use Passenger Nginx, Ruby on Rails 3.2, search gem Sunspot (which uses Solr as its search engine). My application works ok with around 6K active users but ...
0
votes
0answers
16 views

Configure nginx+passenger rails+phpmyadmin [duplicate]

I need to setup all routes to my rails server, except one: phpmyadmin path, i try so, my configuration file code: server { listen 80; server_name localhost; location / ...
0
votes
0answers
63 views

Passenger mod configuration using Ubuntu 12.04 Apache2, desperately trying to make a second redmine instance working

I setup some sites already and now I am stuck. My plan was to upgrade redmine (1.3.2) by installing a second redmine (2.4.2), the first redmine session I installed using repository (1.3.2 is the ...
1
vote
0answers
178 views

Rails app (Redmine) on Phusion Passenger is very slow on first request

I've recently deployed a Redmine app (production env) on an AWS server and every time I go to the page after a delay (10+ minues), it take a painfully long time for the page to load. After googling ...
0
votes
1answer
337 views

How to fix NginX/Phusion/Passenger “zsh:1: no such file or directory: passenger/buildout/agents/SpawnPreparer”

Hopefully this is the correct site to ask this question. I've got a webservice I'm attempting to set up using NginX with Phusion Passenger riding a Ruby Sinatra application. The problem is that when ...
2
votes
1answer
286 views

nginx doesn't work after reinstall?

I really have no clue at all where to start looking for an answer to this: I followed the instructions here to set up nginx and passenger for debian. (sudo apt-get nginx-extras passenger) Everything ...
0
votes
1answer
358 views

apt-get dependency issue when installing nginx passenger module

Sorry I Have no idea how to fix the dependency problem. My Ubuntu server is 12.04 64 bit $ sudo apt-get install libcurl4-openssl-dev Reading package lists... Done Building dependency tree Reading ...
0
votes
1answer
280 views

Nginx, Passenger, Rails serving static files but not running app

I've seen other similar questions but none with satisfactory answers, so here goes. I've installed Ruby, Rails, Nginx and Passenger and tried to configure it to all work together. Here is the ...
0
votes
1answer
108 views

Phusion Passenger slow rendering JSON response [closed]

I have a Rails 4 application that returns a large amount of data that is rendered as JSON (23K records/2.8MB document). Testing this call on my laptop using the WEBrick server, the request completes ...
0
votes
0answers
37 views

Passenger package not found after adding phusion repo Ubuntu 12.04

I'm trying to install the official Passenger (and Nginx) packages from Phusion on an Ubuntu 12.04.3 server. I have the following in /etc/apt/sources.list.d/passenger: deb ...
2
votes
1answer
87 views

What happens when Phusion PassengerMaxPoolSize is reached?

The subject of my post pretty much sums up my question: What happens when PassengerMaxPoolSize is reached? For Example: PassengerMaxPoolSize is configured to 40 based off our system specs What ...
4
votes
2answers
2k views

Installing Phusion Passenger 4.0.20 on Ubuntu 13.10

So I'm trying to install Passenger on the newest version of KUbuntu (13.10). I installed Apache2 using the apache2-mpm-worker package using the Muon Package Manager. And these are the commands I ran. ...
0
votes
1answer
67 views

Apache sites file without domain name [closed]

I can't seem to find this on google. I'm trying to put up a quick test site using EC2 and Elastic IP but I'm getting stuck at how to edit the Apache sites file so that I can view the site. It's ...
0
votes
0answers
41 views

Phusion Passenger Apache vHost to Sub Directory

I have a rails app that we're trying to migrate t our servers for DNS purposes. The app generates a user url ex ourapp.com/user1. Say user one wants to point user1.com to their respective ...
0
votes
1answer
117 views

Cannot run grack, passenger occurs error: uninitialized constant GitHttp (NameError)"

I trying to setup web server for publish git repositories on successfully installed and worked redmine server. Passenger occurs error: Web application could not be started uninitialized constant ...
0
votes
1answer
79 views

VPS apache config - Invalid command 'PassengerDefaultRuby' after adding latest passenger gem

used to have this list of rubies in my vps: ruby-1.9.2-p320 [ i686 ] =* ruby-1.9.3-p194 [ i686 ] ruby-1.9.3-p374 [ i686 ] ruby-1.9.3-p392 [ i686 ] today I installed a new app on this vps ...