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)

2
votes
2answers
3k views

solved: puppet master REST API returns 403 when running under passenger works when master runs from command line

I am using the standard auth.conf provided in puppet install for the puppet master which is running through passenger under Nginx. However for most of the catalog, files and certitifcate request I get ...
0
votes
1answer
42 views

Passenger nginx install doesn't come with a service to restart nginx?

How do you restart nginx on a Ubuntu passenger-nginx install? I installed passenger, and then it automatically installed nginx. However there's no command to restart nginx anywhere. I tried service ...
0
votes
1answer
91 views

How to investigate requests per second that are coming in?

If I have a server that is running Nginx + Passenger (mod_rails) how would I figure out how many requests a second are coming in?
-1
votes
1answer
577 views

How can I configure apache to respond 400 when request contains an invalid byte sequence?

On web application someone is making invalid HTTP request containing invalid bytes. According to RFC 3986, section 2 only ASCII characters are allowed in the HTTP Request line. However I am receiving ...
1
vote
1answer
528 views

Proper Passenger + Apache Permissions to fix error “No such file or directory - config/environment.rb”

I am having a problem with Passenger not being able to start due to an apparently common issue in which Passenger claims: No such file or directory - config/environment.rb. I have searched the web ...
1
vote
2answers
178 views

Site available on internal network, but not from external networks

I've got a ruby on rails application running on apache2 with phusion-passenger. The application works flawlessly on the local trusted network, but I can't access it on our wireless (untrusted) or any ...
3
votes
1answer
205 views

Installation issues with Passenger with Apache on OS X 10.8

I'm trying to get Passenger working on Mountain Lion after the upgrade from 10.7, but I'm having issues when running passenger-install-apache2-module: g++ ext/apache2/HelperAgent.cpp -o ...
0
votes
1answer
394 views

Installed Redmine, now phpmyadmin results in “Cannot start Ruby on Rails application”

I recently installed Redmine on an Ubuntu 12.04 + Apache server, and it is working fine. However, my phpmyadmin site is giving me a bizarre error when I go to https://phpmyadmin.example.com: Here ...
3
votes
1answer
537 views

Why is my Rails application hanging?

I have a Rails application of moderate complexity running under Apache/Passenger which becomes unresponsive after periods of idleness. It takes several minutes to respond, but can be temporarily ...
0
votes
0answers
264 views

Passenger connection reset by peer issue

I am new to ruby on rails. I am using passenger 3.0.17 to deploy my ruby 3.2.6 project. My project is working fine but i got 500 internal error when i try to upload files on server. I checked my ...
2
votes
0answers
204 views

Passenger on apache hangs taking up all application processes with very high CPU IO Wait

I'm running a set of rails apps on a server under Apache/Passenger. One of the apps keeps getting into a state where the load on the machine gets very high and the machine becomes unresponsive with ...
0
votes
1answer
74 views

Passenger Enterprise edition - “Mass Deployment” clarification

We're thinking about purchasing a license for Passenger Enterprise, and I'm looking for a better explanation about the "Mass Deployment" feature in Passenger Enterprise Edition. Say you have Rails 3 ...
0
votes
1answer
84 views

Start Redmine automatically

I use Redmine with Passenger, RVM and Linux. To start Redmine I use next commands: su redmine cd /www/public/redmine rvmsudo passenger start -p 85 -d --user=pass What is the best way to start it ...
0
votes
2answers
257 views

Install passenger with yum-installed nginx

Is it possible to install passenger into nginx that has been installed previously using yum? I need to provide a directory prefix for the install-nginx-module, just wondering where that would be on ...
3
votes
1answer
190 views

passenger and apache memory usage

On a "CentOS release 6.2 (Final)" server (with Ruby 1.9.3 and Rails 3.2), and using more memory than expected. Looking at passenger-memory-stats I see a couple of HUGE httpd processes... any thoughts ...
1
vote
4answers
79 views

is it possible to have two web servers hosted at different places share the same domain name?

say I have a wordpress site: https://www.foobar.com and I want to have an entry point to a rails app at a certain subdirectory within that same domain: https://www.foobar.com/rails_app I know this ...
3
votes
1answer
127 views

Application specific environment on the same server in Nginx/Passenger

I have two Rails applications (say app1 and app2) deployed using Nginx/Passenger. The server definition in nginx.conf looks like this: server { rails_env demo; client_max_body_size ...
1
vote
1answer
727 views

Puppet master fails to run under nginx+passenger configuration as rack app, works when run as system service

I get the error [anadi@bangda ~]# tail -f /var/log/nginx/error.log [ pid=19741 thr=23597654217140 file=utils.rb:176 time=2012-09-17 12:52:43.307 ]: *** Exception LoadError in ...
2
votes
0answers
169 views

Phusion Passenger setting PassengerPreStart does not activate using service httpd start

I'm running Phusion Passenger on RHEL, hosting a Rails application. I can successfully start up a passenger instance on Apache startup using the Passenger setting PassengerPreStart, but only if I ...
2
votes
1answer
413 views

Apache2 graceful restart stops proxying requests to passenger

Issue with apache mod proxy, it stops proxying requests after a graceful restart but not all the time. It seems to happen only on a Sunday when a graceful restart is triggered by logrotate. [Sun ...
0
votes
1answer
508 views

500 error with deploying rails application via apache2+passenger

I finally completed my own app, so the only work left is deploying the app. I'm using Ubuntu 10.04 and apache2(installed by apt-get), so I'm trying to deploy through passenger. I installed passenger ...
0
votes
1answer
192 views

Problems getting Squirrelmail and passenger working on apache

I'm trying to have a setup where I want to run a squirrelmail and Passenger on the same apache server, having a url point to squirrelmail and everything else handled by passenger. I've gotten so far ...
-1
votes
2answers
130 views

Restart one specific application only

I am using an apache webserver which has several applications on it. I need to restart one specific ruby on rails application. In the phusion passenger documentation, it mentions that there are 2 ...
0
votes
2answers
486 views

Using RVM in Puppet manifests

I'm currently digging deeper into Puppet and with several manifests I encounter problems regarding the installed ruby version or rubygems. I would guess that others probably also run in such problems. ...
0
votes
1answer
113 views

Confused about CNAME and subdomains

I have an app that sits at exampleapplication.com. It's a rails application sitting on an Apache/Passenger stack. The app is set up to use subdomain constraints to point to user accounts (e.g. ...
1
vote
1answer
69 views

Passenger not respecting settings

I have the following settings in my Apache config (not in one of the vhosts but globally): RailsSpawnMethod smart RailsAppSpawnerIdleTime 0 PassengerMinInstances 2 PassengerMaxPoolSize 5 ...
0
votes
1answer
397 views

Host multiple Rack apps on one server with multiple ports (using Apache and Passenger)

I've search online and been reading documentation for Apache, Passenger, Rack, etc, but have yet to find a solution to my problem. I have several Rack (ruby)-based apps, located in ...
3
votes
1answer
1k views

Rails Passenger Nginx cannot load such file — bundler

I have set up Rails, Passenger, nginx, and PostgreSQL on Ubuntu Server 12.04LTS. Upon trying to access the application/website, however, I am greeted with an error page saying that the application ...
0
votes
2answers
982 views

Rails application only showing Nginx default page

I am having problems with my Rails application that will use Nginx and Passenger. I've already deployed the application and have setup the nginx config file as such: server { listen 80; ...
-1
votes
1answer
321 views

Is AMD Opteron 3280, 8 cores, 32 GB DDR3 RAM will able to run 200 rails application and 200 mysql database [duplicate]

Possible Duplicate: Can you help me with my capacity planning? I am planning to hosing an rails application + Mysql in dedicated server maximum 200 replicated rails application with 200 ...
0
votes
1answer
112 views

Passenger not running continuously

I am wondering if somebody could inform me of the correct behaviour for a Rails app running through Rack/Passenger, as I am seeing some unusual behaviour on a production system which has never been ...
2
votes
1answer
255 views

Apache2: mod_wsgi and passenger do not get along

I'm trying to run an instance of apache2 on an ubuntu server with two virtual hosts. One for redmine(phusion passenger), and one for ReviewBoard(mod_wsgi). I haven't created a single server ...
0
votes
1answer
117 views

PostgreSQL 9.1 won't restore because “a user is connected”

I'm transferring a database as part of transferring a website. I've not used PostgreSQL before, so assume that I don't know much about it (I primarily use MySQL). We cannot directly connect the ...
1
vote
2answers
438 views

EC2, Ubuntu, RVM, Rails, Passenger, Apache — requests to my domain just time out

Problem: I believe I've done everything required to deploy my app, but when I go to my new URL, I get a "problem loading page, server took too long to respond" error from the browser. Stats: I'm ...
0
votes
1answer
104 views

Installing Passenger on CentOS 6.0 with the view to running my Puppet Master via Passenger

I'm attempting to configure Puppet to run via Passenger. I'm using this guide I've hit a bit of a brick wall. When I attempt to reload apache, I get the following error: [Sun Jul 15 19:38:44 2012] ...
0
votes
1answer
308 views

State of the art deploying Rails applications with git

I'm looking to group together the information on the current best practices for deploying a Rails application on a server I run (rather than, say, Heroku). The application is developed by multiple ...
2
votes
3answers
2k views

Multiple Rails apps on same subdomain?

I recently decided to try out Rails. When working with PHP, I simply had all of my PHP projects in the same directory. For example, I may have http://ubuntu/app1, http://ubuntu/app2, etc. I created a ...
3
votes
0answers
120 views

Rails with phusion passenger and wordpress

We had a site developed using on ruby on rails. It had Website Web services for mobile app Admin panel to manage data. We started using wordpress to manage site content. We have finished ...
1
vote
3answers
267 views

What are the benefits of running a app server in user space, like Unicorn, as opposed to as sudo?

I've been using Phusion Passenger + Rails/Sinatra for a lot of projects. Passenger runs under the main Nginx or Apache process. But I'm interested in Unicorn, partly because it runs in user space. ...
1
vote
1answer
212 views

Showing Directory Root When Launching Rails App Using Apache2 and Passenger

I have done the following in an attempt to host a Rails 3.2.3 application using Apache 2.2.21 and Passenger 3.0.13: Installed gem Passenger rvmsudo passenger-install-apache2-module Added website ...
1
vote
0answers
181 views

Tuning Ruby + Rails + Nginx + Passenger [closed]

I have an app that is responding pretty slowly. Most of the response time is Ruby, (800 ms per request!) however the load on the server is pretty low. It's a VPS with 4 cores and 4 gigs of ram, and ...
1
vote
0answers
1k views

vhost configuration for owncloud

I'm using apache2 for hosting owncloud. I configured a vhost file for owncloud, but every time I go on the site my browser downloads a ruby file. Here is my vhost configuration: <VirtualHost ...
2
votes
1answer
509 views

Cannot Install Phusion Passenger 3.0.13 with Nginx 1.2.1

I installed gem Passenger which installed 3.0.13. Then I executed passenger-install-nginx-module which is what the Nginx instructions on http://www.modrails.com said to do. It installs the latest ...
0
votes
1answer
543 views

Rails app deployment challenge, not finding database table in production.log

I'm trying to setup PasswordPusher as my first ruby app ever. Building and running the webrick server as instructed in README works fine. It was only when I tried to add Apache ProxyPass and ...
0
votes
3answers
3k views

Passenger error: No such file or directory - config/environment.rb

I installed Redmine on MacOSX Server 10.6.8 according to this installation description. So far everything works fine: When I start webrick the server serves the Redmine pages. The gems and redmine are ...
2
votes
1answer
4k views

Where do Passenger logs go?

I have a Rails application running on CentOS with Apache/Passenger, and I have a little problem: I don't have any logs for my Rails Application, What am I missing? This is my apache conf : ...
0
votes
1answer
150 views

Easy way to launch several rails apps on the server

I have several rails applications on my server. Each application uses its own rvm gemset. I'm using Thin as web server for each application, this servers installs as a gem separately for each ...
1
vote
1answer
258 views

Apache running as user 'apache', but files it creates are owned by 'nobody'

I have apache httpd 2.2 running as user 'apache'. However, any files it creates are owned by 'nobody'. Also, it can only access things that are accessible by user 'nobody'. It sure seems like apache ...
0
votes
0answers
95 views

Dynamically enable passenger in nginx

I have a virtual host configured in nginx that will do 'dynamic virtual hosting': server { if ($host ~* www\.(.*)) { set $host_without_www $1; rewrite ^(.*)$ ...
2
votes
1answer
2k views

Setting passenger with Apache virtual hosts?

I am setting up a new server which I intend to host multiple Ruby on Rails applications on. The server is running Ubuntu 10.04 LTS and I have set the Apache virtual hosts up so each application has ...