Nginx: Changing user [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 8 years ago. Improve this question I have root and deployer users in my ubuntu 13.10. I also have nginx, unicorn installed with Rails 4 application. I’m deploying my … Read more

Rails application only showing Nginx default page [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 5 years ago. Improve this question I am having problems with my Rails application that will use Nginx and Passenger. I’ve already deployed the application and have setup the … Read more

Adding Listen 3050 to /etc/apache2/ports.conf causes mysql to crash

I am trying to set up a staging server on a VM on my local PC. Ubuntu 10.4.2 LTS 64 bit server is installed. I have another VM on the same machine running as a full time server, so I set-up port-forwarding on the router to send ssh on 3060 and http on 3050 to … Read more

How do I restart a process someone else is using

I’m pretty new to ops so please don’t mind if use the incorrect terms. I have a program that runs on another box. I need to restart the program after I deploy code to it, via capistrano. I tried sshing into the box to do the restart but it won’t work because the program requires … Read more

Why does amazon ec2 have downtime after deploy when other identical servers do not?

This has puzzled me for the past few months…I’m admittedly new to server administration and I took a stab running a production rails app over at EC2. While I’ve learned a lot and feel pretty comfortable using it, I don’t know the reason why it takes ~ 1-2 minutes for a request to go through … Read more

capistrano-started tomcat dies immediately, ssh’ing the exact same command succeeds

so I was playing around with capistrano and a local dummy raring vm in vbox. everything was fine and my attention shifted to deployments on real machines. A couple of days later I want to deploy to my vm again and the script succeeds but afterwards no tomcat is running. From all the messages that … Read more

Capistrano authentication to server fails but ssh for deploy user works

I’ve been working with capistrano for about a year deploying an app and everything went fine, until a couple of days ago when I got this ** [server_name :: out] fatal: Authentication failed after typing deploy user’s password. Trying to ssh using the same credentials works perfectly. Do you have any idea about what could … Read more

Connection error while deploying a PHP application to Linode using Capistrano

I’m trying to deploy a PHP application onto a Linode server with Capistrano. I’ve installed Ruby and Capistrano, and configured my deploy.rb file (possibly incorrectly). However, when I run cap deploy I receive this error: [deploy:update_code] exception while rolling back: Capistrano::ConnectionError, connection failed for: myusername@lish-atlanta.linode.com (Net::SSH::AuthenticationFailed: myusername) connection failed for: myusername@lish-atlanta.linode.com (Net::SSH::AuthenticationFailed: myusername) Here’s my … Read more