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)

1
vote
0answers
55 views

Strange behavior when benchmarking a Rails application

I was making some benchmarks on my Rails application before releasing it in production. When running Apache benchmarks with only 2000 requests and 10 concurrency level I have seen that the last 20% of ...
0
votes
2answers
5k views

passenger-status - ERROR: Phusion Passenger doesn't seem to be running

My server is: Server version: Apache/2.2.11 (Ubuntu) Server built: Aug 16 2010 17:44:11 My ruby version ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-linux]. I've installed passenger 3.0.7 ...
2
votes
1answer
576 views

Passenger - “Auto-kill” rogue processes?

I'm running a Ruby on Rails application with Passenger + Apache. There's also a perl mailing list server (Sympa) running with mod_perl. I have root and sh access to the server (an Ubuntu machine). ...
1
vote
1answer
613 views

NGINX: How do I calculate an optimal no. of worker processes and worker connections?

Our web app is running on a Linode 2048 server at the moment (~ 2048 GB of RAM) The MYSQL database is on another linode of it's own so this server is really only handling NGINX and and the Rails ...
1
vote
2answers
121 views

apache2 VirtualHost server and passenger behaviour

i've installed a phusion-passenger website in Apache2, the site sits at 192.168.0.50 in my network. here it is the VirtualHost element <VirtualHost *:80> ServerName my_web_host ...
0
votes
1answer
492 views

Apache2 + Phusion Passenger - either different port, or all pages overridden

I'm serving several PHP sites on Apache2. Now I'm trying to also serve a Rails app with mod_passenger. Thing is: when I set mod_passenger to listen on railsapp.com:81, it works. Also the PHP sites ...
0
votes
1answer
383 views

Phusion Passenger + Apache: LoadError — No such file or directory [solved]

I run Apache2 with Phusion Passenger (installed from gem) with Ruby 1.8 on Debian 6. It gives me the following LoadError: libMagickCore.so.4: cannot open shared object file: No such file or directory ...
1
vote
1answer
119 views

Point domain to rails route

This might not be possible, but I have a nginx server running with one domain x.com, and I have y.com that's pointing to the same server, but I would like that domain to end up running a rails route. ...
2
votes
1answer
245 views

How to host 2 versions of Rails app on Ubuntu server

I am trying to host multiple versions (dev and staging) of a Rails app on the same server, but I am not currently able to access both via the browser. I am running with Apache2, Passenger, Rails 3, ...
1
vote
1answer
52 views

When you have a server and don't use RVM, do you sudo gem install or just gem install?

When you set up a Linux server with Ruby on Rails on it, and you're not using RVM, is the best practice to sudo gem install [gem] or gem install [gem]. I'm using the second approach, and storing my ...
1
vote
1answer
2k views

403 Forbidden

Here is my Nginx config: user pass users; worker_processes 1; events { worker_connections 1024; } http { passenger_root /usr/lib64/ruby/gems/1.8/gems/passenger-3.0.7; passenger_ruby ...
0
votes
2answers
178 views

Do I need to install nginx during the passenger installation

I am trying to install Passenger for Nginx: $ gem install passenger $ passenger-install-nginx-module During the installation Passenger want to compile and install Nginx. Is it necessary step? I ...
1
vote
2answers
932 views

Cannot start redmine on ubuntu 10.4

When I try to start redmine 1.1.3 I get this error: Missing the i18n 0.4.2 gem. Please 'gem install -v=0.4.2 i18n' However if I do sudo gem list I get: *** LOCAL GEMS *** actionmailer (2.3.5) ...
11
votes
1answer
426 views

Different ways to restart Apache?

I've got an Apache question here. For my entire career as a developer, I've been restarting Apache like this: sudo /etc/init.d/apache2 restart I just today deployed my first Rails application, but ...
0
votes
1answer
120 views

OSX Server 10.6.7 + Apache2: Setting Up IP-Based Virtual Hosting

I've developed a small Rails app that I need to run on my local network. I got Apache2 and Phusion Passenger set up, and the app is running on the server at http://myapp.dev, but I am not sure how to ...
1
vote
2answers
107 views

Strange error when using Rails with Passenger

I get the following Passenger error: undefined method `post_reset' for Gem:Module Someone knows what this could mean? Thanks!
0
votes
1answer
58 views

Sporadically regular Rails (Passenger) outages

We're running a Rails application under Passenger (via Apache) on an application server. There is a front-end web server (also running Apache setup as a proxy) in front of the application server. ...
1
vote
1answer
343 views

Post requests failing intermittently on a particular network route ~ wtf?

This is a complete head-scratcher. I've got a Rails application running on Passenger. I've tested the services from several different clients (via curl) and found them performing perfectly. EXCEPT ...
2
votes
2answers
2k views

Rails app (Redmine) on Phusion Passenger

I've installed mod_passenger for Apache on my Linux box. The module has compiled correctly and Apache seems to be loading it correctly (no errors with this side of things). BUt when I set up a vhost ...
0
votes
1answer
88 views

Passenger for RoR and LAMP for WordPress

I'm working on setting up my first server on Linode. I have: installed apache installed mysql installed passenger installed php bunch of other things I'm pretty sure my Passenger + rails is ...
2
votes
3answers
4k views

Redmine install not working and displaying directory contents - Ubuntu 10.04

I've gone through the steps to set up and install the redmine project tracking web app on my VPS with Apache2 but I'm running into a situation where instead of displaying the redmine app, I just see ...
1
vote
0answers
334 views

Gitorious 500 Error on adding ssh key

I have configured Gitorious under Nginx and Passenger on Ubuntu. When i try to add ssh key, i get a 500 server error, where gitorious tells me that the responsible personals has been notified. On the ...
0
votes
1answer
2k views

Centos+Apache+Phusion+REE=FAIL

I have been trying to get Phusion Passenger running on 5.6 for the last couple of days with no luck. Initially, I started with Ruby 1.9.2 under RVM since the default Ruby on RHEL-based distros is ...
3
votes
1answer
2k views

Monit is restarting apache2, should I fix the monit config, or the server config?

Monit is restarting apache2 frequently, based on the totalmem > 200m test in my apache2 stanza. I'm not sure that I actually have a problem, or if I should increase the totalmem test in my monit ...
4
votes
1answer
2k views

How to achieve zero downtime with Passenger 3?

In the technology preview posts about Passenger 3 they discussed zero downtime: In Phusion Passenger 3 we’ve implemented zero-downtime web server restart. Phusion Passenger and the web ...
0
votes
2answers
888 views

Default File Permissions (Passenger, Rails, Ubuntu Server)

I've deployed a Rails application that is using page caching and is run via Passenger on Ubuntu Server. Rails caching simply uses Ruby's File.open to write the cached files. Unfortunately these files ...
1
vote
1answer
122 views

Installing both rails2 and rails3 on the same server

I have a VPS running debian lenny, and I currently am running a Ruby on Rails application that uses Rails 2.3.5. This application works fine by itself, and uses Apache 2.2 with mod_rails. I would ...
3
votes
1answer
128 views

Is it normal to have a Ruby process always running in Ubuntu?

I'm running Ubuntu 10.10 with Apache2, RVM (For Ruby) and Passenger (mod_rails). When I look at the "top" application, I always notice the same Ruby process consuming about 1/4 of the memory on my ...
1
vote
3answers
896 views

Phusion Passenger Installation Not Working

I've been trying without success to install the Nginx version of Phusion Passenger (mod_rails) on my server by using the command gem install passenger followed by passenger-install-nginx-module. ...
0
votes
1answer
221 views

To what extent does mod_suexec interact with Passenger?

On a shared server (specifically a DreamHost shared server running Debian, but I don't know if this matters) with mod_suexec activated and with PHP and Python forced to use CGI or FastCGI, would you ...
1
vote
3answers
3k views

I Can't Get Ruby on Rails + Passenger + Apache to Work

I'm sorry if this is a stupid question, but I can't get Ruby on Rails to work on my Apache server. I'm using Phusion Passenger (mod_rails, mod_rack) for app deployment. Here is my RoR-specific ...
0
votes
1answer
1k views

Rails 3 passenger nginx application spawner server error on Synology NAS

Question updated, please read UPD2. I'm trying to deploy app through passenger nginx module on DS710+ (ruby 1.9.2p0 installed). There is syntax error relative to ...
0
votes
1answer
423 views

Installing Redmine on Ubuntu 10.04

I'm having some issues installing Redmine on Ubuntu 10.04. I basically ran the following: sudo apt-get install redmine redmine-sqlite redmine-mysql It walked me through things and I configured ...
0
votes
1answer
311 views

make everything go to https except for one url in rails, nginx, passenger

Hey, I have a rails app and I am already redirecting nearly all traffic to use https. However, there is a particular path in my app which I need accessible by plain http, say somedomain.com/special. ...
1
vote
0answers
626 views

Keep getting 500 Internal Server Error when using Passenger

Every time I restart my server, which is a MediaTemple VPS, our Redmine installation, which is powered by Passenger through Apache, starts giving out 500 Internal Server Errors. It usually starts ...
1
vote
1answer
592 views

Rails application proxy'ed by Apache not serving CSS, Javascript and Images

We deployed a Rails application on a backend server, served via Passenger. This application is served at port 9000, and is configured to use sub_uri. Originally the URL is http://ip.address:9000/, and ...
0
votes
2answers
638 views

Website running on subdomain, how to redirect root to other domain?

I have a Ruby on Rails application running at subdomain (e.g. mydomain.com/site) on nginx with Passenger. Basically what I want it to do is keep application running at subdomain (mydomain.com/site) ...
0
votes
1answer
1k views

Nginx with Passenger setup problems

I'm trying to setup nginx webserver with Passenger support for Ruby on Rails application on Ubuntu 10.04 (on sub URI). All went fine until I tried to access the server/application from the browser. ...
6
votes
1answer
2k views

Nginx & Passenger - failed (11: Resource temporarily unavailable) while connecting to upstream

I have an Nginx and Passenger setup that is proving problematic. At relatively low loads the server seems to get backed up and start churning results like this into the error.log: connect() to ...
1
vote
1answer
1k views

Installing Passenger on ubuntu for ruby 1.9 and rails 3, problem with rvm

I am installing passenger on a Ubuntu server 10.04.2. following this tutorial. When I arrive to the step to install nginx rvmsudo passenger-install-nginx-module I have the following error: Your ...
1
vote
1answer
625 views

2 versions of nginx installed

I had nginx 0.8.54 installed on my Ubuntu 10.10 dev machine with php fastcgi all set up and working. I wanted to start doing some Rails dev so I tried to install Passenger into my existing nginx ...
0
votes
1answer
2k views

Installing Passenger in MacOS X using Brew and RVM

#Install RVM bash <<( curl http://rvm.beginrescueend.com/releases/rvm-install-head ) #Install ruby 1.9.2 rvm install 1.9.2 # Set as default rvm --default 1.9.2 # Install passenger in the ...
1
vote
2answers
69 views

Both our app servers went crazy at the same time. What gives?

Last night at about 4:30am, both our app servers decided to have a seizure. We can't figure out why. Visitor load was low (100 live on the site) and there are no cron jobs scheduled on the servers. ...
2
votes
0answers
344 views

Kill runaway Phusion Passenger child processes with monit?

Is there any way to monitor and kill Phusion child processes that are using too much memory or cpu with monit? There are many examples for Apache, but since Phusion runs in its own process, runaway ...
0
votes
1answer
2k views

Redmine on Apache2 with Passenger issue

I installed Redmine and run it in Apache2 with the Passenger module. Apache2 boots, Passenger module gets loaded and the Redmine welcome page is shown, however when trying to login or navigate to ...
2
votes
1answer
3k views

How can I point Passenger to the correct Gem files when using RVM Gemsets on Ubuntu? Bundler::GemNotFound

I have a Ubuntu server (10.04) with nginx, and Passenger. I've installed RVM on it, and I have a global gemset with Passenger 3.02 installed. My application is within another gemset which has rails, ...
1
vote
1answer
631 views

Rails 3 + Nginx + Passenger — Routing index

I have no index.html file in my public folder. My rails routes file routes this, and it works fine when I run 'rails server' on my machine. I'm trying to deploy the app. I have passenger and nginx ...
0
votes
1answer
2k views

Host Ruby on Rails Tracks on Apache2

I'm having problems getting Tracks to be hosted via Apache2 on Ubuntu 10.04. I've followed several tutorials, but none work. I've got the Tracks git repo in /var/lib/tracks and a symbolic link to ...
1
vote
1answer
787 views

Curl development headers with SSL support for Phusion Passenger 3

Hi When I run passenger-install-apache2-module I get: Checking for required software... GNU C++ compiler... found at /opt/csw/gcc4/bin/g++ Curl development headers with SSL support... not found I ...
0
votes
5answers
1k views

Configure Apache with Ruby on Rails

I'm trying to install Tracks roughly following this guide while trying to configure Apache, but I get the following error when trying to restart Apache: /etc/init.d/apache2: 1: RailsBaseURI: not ...