0
votes
0answers
78 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
1answer
122 views

Trouble setting up Ruby with Nginx on CentOS 6.5

Following the instructions here: https://www.digitalocean.com/community/articles/how-to-deploy-rails-apps-using-passenger-with-nginx-on-centos-6-5 I get to the point of "Use vim /etc/init.d/nginx to ...
0
votes
0answers
32 views

Phusion Passenger 4.0.10 crash

My website runs normally to me but CTR is very low so I open the error log and see something like from this file: crash log What is this and how can I fix this? P/s: I'm using Phusion Passenger ...
0
votes
1answer
2k views

Uninstall Ruby on Rails on CentOS 6

How can I remove Ruby on Rails and all associated gems? I tried yum remove ruby but get this response: yum remove ruby Loaded plugins: fastestmirror, security Setting up Remove Process No Match for ...
0
votes
1answer
247 views

Ruby/Mongrel installation broken after CentOS upgrade, server won't start

I think my previous questions was somewhat badly formulated. I've got an issue with a CentOS system that is running ruby and a mongrel server which failed after an OS update. Edit: The initial ...
0
votes
1answer
253 views

Redmine (RoR rack app) on uWSGI forgets sessions when ran with more than one process

When I log into redmine it forgets that I was logged after first click on any link or immediately after the login redirect. After I refresh the page a few times, I am still logged in in some of this ...
0
votes
1answer
158 views

Gitorious - ActionController::UnknownHttpMethod when logging in?

I'm going to install Gitorious as a slave server for failover purpose follow this blog post. gitorious.conf NameVirtualHost *:81 <VirtualHost *:81> ServerName gitorious.domain.com ...
0
votes
1answer
298 views

Trouble installing Redmine on CentOS 6.2 - undefined method db for main:object

I am trying to install RedMine on CentOS 6.2 but I am running into difficulties when I try to access the site. Using this guide, I have configured the following in environment.rb: # Load the rails ...
-1
votes
2answers
221 views

rvm doesn't install in centos without root privileges [closed]

I trying to install RVM using deployer user that doesn't had root privileges ant I getting this error: bash: line 439: ./scripts/install: Permission denied Any help? Thank you!
1
vote
0answers
349 views

How to install libv8 using a specific version of g++? [closed]

I'm trying to install therubyracer gem for a rails project - http://stackoverflow.com/questions/13793533/unable-to-install-therubyracer-on-centos-errors-with-v8-and-gcc and i'm thinking that now that ...
1
vote
1answer
95 views

Allow a group to run all files under a certain directory in CentOS

I am trying to set up automatic deployment for my Rails app using Capistrano. Capistrano will need to run sudo kill, and I achieved that without it asking me for a password, by editing the ...
4
votes
1answer
2k views

Can't connect to Ruby on Rails Development Server on Centos 6.3

I've having trouble connecting to my Ruby on Rails development server: When I type in 192.168.0.10:3000 into a web browser on a different the connection just times out. I suspect the problem is with ...
3
votes
1answer
516 views

ruby: invalid opcode

There's a fairly complex application than runs on two VMs (on Xen). Both VMs run CentOS 6.2 with the exact same packages and configuration for every application running (minus networking which is ...
0
votes
1answer
1k views

puppet dashboard fails to start

So here's the situation. I'm running Puppet on CentOS 5.7 64-bit, and on the puppet master I also have puppet-dashboard, however when I try to start it, I see the following: [root@puptest-master ...
0
votes
2answers
552 views

Phusion Passenger can't access mysql

I can connect to the db from terminal. The rails console connects fine also and I can return objects, mod them and do what ever from there. So database.yml must be ok But for some reason the ...
2
votes
2answers
84 views

Is there a convential way to manage Ruby on Rails server dependencies?

We use Chef to set up our servers, but I'm looking for a way to consolidate our server dependencies into a single config file that lives in source control. We use capistrano for deployments, a custom ...
1
vote
1answer
1k views

Can't compile CentOS 5, Ruby 1.9.2 and OpenSSL 1.0.0c [closed]

I'm trying to install Ruby 1.9.2 on CentOS 5.5. I get through most of the make process, but when it tries to compile OpenSSL I get an error. Below is the errror outputted: compiling openssl make[1]: ...
1
vote
1answer
201 views

Apache behaving differently in localhost

I have managed to install Apache2, Passenger and Ruby on Rails on a VPS machine with CentOS 5.5. To check everything is okay, I run in that machine links http://localhost, and the page is displayed ...
2
votes
1answer
4k views

OpenSSL support for Ruby: “Cipher is not a module (TypeError)”

The Problem Our systems admin needed to upgrade the packages on our CentOS 5.4 dev server to match the packages on our production server. The upgrade affected ruby and/or openssl. We run a Ruby on ...
1
vote
2answers
1k views

Log files not being written (Passenger)

Locally, my app runs fine on and writes to it's logs. My production server is running CentOS with an Apache server running Passenger. When trying to debug, I noticed my log files were not being ...