Questions tagged [phusion-passenger]

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 webservers and is written in C++.

More about Phusion Passenger: http://www.modrails.com/

480 questions
3
votes
0 answers

Multiple ruby on rails web apps running on one directory in Apache without modifying/adding all the time

What I am trying to do is to create multiple ruby apps in one Apache directory and when I go to http://localhost/appname the ruby app resolves without problems. However, I want to do this dynamically so I do not have to add a new in…
3
votes
1 answer

Running Ruby methods via cron having issues

So I have a method that is run every 10 minutes (Background.cron) to be exact. Background.cron loops through a set of database rows and if certain criteria are met, an ActionMailer method is run to send out an email. But what seems to be happening…
Shpigford
  • 169
  • 1
  • 5
3
votes
4 answers

how can we run multiple applications with different domain & port numbers in apache

I Have two applications running on my server with domains x.abc.com admin.x.abc.com x.abc.com is running on port 80 admin.x.abc.com is running on port 8080 I can able to access x.abc.com from browser, but when I try admin.x.abc.com, it is…
loganathan
  • 240
  • 2
  • 13
3
votes
1 answer

Node.js app deployment on AWS using Otto

When trying to use Otto to deploy a Node.js application, the deployed application is not reachable. I have created a minimal application that simply listens on port 80 and answers status requests: var express = require('express'); var app =…
jpsecher
  • 111
  • 7
3
votes
1 answer

Switching ruby versions with Passenger, getting error

I switched from 2.2.5 to 2.1.5 recently and noticed that I get an attempt to compile and download the interpreter as such: [ 2015-10-25 11:15:15.3328 8841/b6ad5b40 age/Cor/CoreMain.cpp:793 ]: Disconnecting long-running connections for process 16579,…
Cenoc
  • 197
  • 12
3
votes
0 answers

Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

My server on Centos 6.6 went down Phusion Passanger refuses to start of with following error: stdin: is not a tty /etc/init/delayed_job.conf: line 7: description: command not found start: Unable to connect to system bus: Failed to connect to socket…
skatkov
  • 33
  • 1
  • 6
3
votes
1 answer

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 Passenger), and authentication to the application is…
voretaq7
  • 79,345
  • 17
  • 128
  • 213
3
votes
1 answer

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 explaination. App 13214 stderr: Trying: App 13214…
vutran
  • 153
  • 7
3
votes
1 answer

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 happens if all 40 sessions are active (processing a…
bmurtagh
  • 763
  • 2
  • 6
  • 13
3
votes
1 answer

Setting PassengerDefaultRuby in Apache2

I'm experiencing a server error, which tells me that it cannot detect essential gems such as rake. Research suggests that there's a miscommunication between Phusion Passenger and RVM. RVM recommends setting PassengerDefaultRuby in the server's…
nullnullnull
  • 137
  • 1
  • 6
3
votes
1 answer

TCP 443 Connection goes into server but never reaches Apache2 (Passenger)

We have some weird problems, when external servers try to connect to our Website on Port 443(TCP) which is an Apache2+Passenger and a Rails Application. The problem only happens rarely. I started to investigate that by enabling iptables logging…
3
votes
3 answers

Apache mod_headers not working

I have a Rails application served using Apache 2 and Phusion Passenger. As a security measure I'm trying to supress all server-related HTTP headers. I've successfully turned off the Apache ones, but I'm having trouble using mod_headers to supress…
John Topley
  • 2,045
  • 3
  • 16
  • 17
3
votes
1 answer

Sporatic 502 errors with Ruby on Rails site running on Nginx

My Ruby on Rails site is throwing sporadic 502 errors. It is running on Nginx, installed with Passenger, and is hosted on a server running Ubuntu 10.04. It seems that the errors are becoming more and more sparse, but they're still causing a…
3
votes
4 answers

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 a 403 response. ### Authenticated paths - these…
Anadi Misra
  • 527
  • 2
  • 9
  • 22
3
votes
1 answer

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 agents/apache2/PassengerHelperAgent -Iext -Iext/common…
Griff
  • 31
  • 2