[Rails] SwitchTower deployment has errors with different :db server

Jamis Buck jamis at 37signals.com
Wed Mar 1 04:25:15 GMT 2006


On Feb 28, 2006, at 7:51 PM, Douglas Tan wrote:

> When I define :db to be a different server than either :web  
> or :app, and run "rake deploy". Switchtower will abort with an  
> Net::SSH::AuthenticationFailed error. The version of Switchtower  
> I'm using is 1.0.0 and the deploy task is the default supplied with  
> Switchtowe.
>
> However, I dont have any problem when :db is changed to the same  
> as :web and :app.

It sounds like the user/password combo you are using for the web and  
app servers is not valid for the db server. Are you sure you can log  
into the db server with the same credentials as those you use on the  
web and app server?

- Jamis


More information about the Rails mailing list