# Capistrano - freezes & I don't get prompted for password?

**URL:** <https://www.ruby-forum.com/t/capistrano-freezes-i-dont-get-prompted-for-password/99970>\
**Category:** Rails\
**Created:** [July 26, 2006, 1:17pm UTC](https://www.ruby-forum.com/t/capistrano-freezes-i-dont-get-prompted-for-password/99970 "2006-07-26T13:17:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![greg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/71c47a/32.png) [@greg](https://www.ruby-forum.com/u/greg)\
**Post date:** [July 26, 2006, 1:17pm UTC](https://www.ruby-forum.com/t/capistrano-freezes-i-dont-get-prompted-for-password/99970/1 "2006-07-26T13:17:30Z")

</div>

Hi,

Just having a problem trying to get capistrano working to the remote  
server. I’ve set things up per the below to links, but when I enter  
“cap setup” (or “rake remote:exec ACTION=setup” - I assume they are the  
same) then things FREEZE and it never asks me for a password. I have to  
kill the “cmd” window.

Is there a way to get some level of trace or debug on why capistrano is  
freezing up on me?

Links  
[http://wiki.dreamhost.com/index.php/Capistrano#Resources](http://wiki.dreamhost.com/index.php/Capistrano#Resources)  
[http://manuals.rubyonrails.com/read/chapter/98#page297](http://manuals.rubyonrails.com/read/chapter/98#page297)

Output where it freezes at:

- executing “mkdir -p -m 775 \<\>/releases  
\<\>/shared/system &&\n mkdir -p  
-m 777 \<\>/shared/log”  
servers: [“\<\>”]

tks

---

<div class="post-metadata">

**Author:** ![greg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/71c47a/32.png) [@greg](https://www.ruby-forum.com/u/greg)\
**Post date:** [July 26, 2006, 2:07pm UTC](https://www.ruby-forum.com/t/capistrano-freezes-i-dont-get-prompted-for-password/99970/2 "2006-07-26T14:07:11Z")

</div>

Oh - perhaps I should have mentioned I’m running on WINDOWS XP.

Is this an issue? Is there a way to get Capistrano working on an XP box?

Greg H. wrote:

> Hi,
> 
> Just having a problem trying to get capistrano working to the remote  
> server. I’ve set things up per the below to links, but when I enter  
> “cap setup” (or “rake remote:exec ACTION=setup” - I assume they are the  
> same) then things FREEZE and it never asks me for a password. I have to  
> kill the “cmd” window.
> 
> Is there a way to get some level of trace or debug on why capistrano is  
> freezing up on me?
> 
> Links  
> [http://wiki.dreamhost.com/index.php/Capistrano#Resources](http://wiki.dreamhost.com/index.php/Capistrano#Resources)  
> [Peak Obsession](http://manuals.rubyonrails.com/read/chapter/98#page297)
> 
> Output where it freezes at:
> 
> - executing “mkdir -p -m 775 \<\>/releases  
> \<\>/shared/system &&\n mkdir -p  
> -m 777 \<\>/shared/log”  
> servers: [“\<\>”]
> 
> tks

---

<div class="post-metadata">

**Author:** ![greg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/71c47a/32.png) [@greg](https://www.ruby-forum.com/u/greg)\
**Post date:** [July 26, 2006, 11:42pm UTC](https://www.ruby-forum.com/t/capistrano-freezes-i-dont-get-prompted-for-password/99970/3 "2006-07-26T23:42:35Z")

</div>

FYI - got caught out again by XP and the winsock stack. Had to issue a  
“netsh winsock reset” to correct things after which the remote  
capistrano commands starting working (not freezing). If there are any  
XP networking guru’s in the house I’d be interested in knowing how to  
fix this permanently? 🙂

Greg H. wrote:

> Oh - perhaps I should have mentioned I’m running on WINDOWS XP.
> 
> Is this an issue? Is there a way to get Capistrano working on an XP box?
> 
> Greg H. wrote:
> 
> > Hi,
> > 
> > Just having a problem trying to get capistrano working to the remote  
> > server. I’ve set things up per the below to links, but when I enter  
> > “cap setup” (or “rake remote:exec ACTION=setup” - I assume they are the  
> > same) then things FREEZE and it never asks me for a password. I have to  
> > kill the “cmd” window.
> > 
> > Is there a way to get some level of trace or debug on why capistrano is  
> > freezing up on me?
> > 
> > Links  
> > [http://wiki.dreamhost.com/index.php/Capistrano#Resources](http://wiki.dreamhost.com/index.php/Capistrano#Resources)  
> > [Peak Obsession](http://manuals.rubyonrails.com/read/chapter/98#page297)
> > 
> > Output where it freezes at:
> > 
> > - executing “mkdir -p -m 775 \<\>/releases  
> > \<\>/shared/system &&\n mkdir -p  
> > -m 777 \<\>/shared/log”  
> > servers: [“\<\>”]
> > 
> > tks

---

<div class="post-metadata">

**Author:** ![greg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/71c47a/32.png) [@greg](https://www.ruby-forum.com/u/greg)\
**Post date:** [July 27, 2006, 12:32am UTC](https://www.ruby-forum.com/t/capistrano-freezes-i-dont-get-prompted-for-password/99970/4 "2006-07-27T00:32:35Z")

</div>

Try running with --trace on to see if there’s any other input, i.e.:

rake remote:exec ACTION=setup --trace

or

rake remote:setup --trace

You didn’t define any passwords (:password or :svn\_password) did you?  
Nor  
did you mess with any ssh\_keys – since it’s using net/ssh and needle,  
there’s a possiblity those could be the culprits. I also heard problems  
on  
some macs who had ruby in /usr/bin .

If you found out what it was, mind posting?

–  
Charles Brian Q.

> **[seebq.com - The Shameless Self-Promotion of Charles Brian Quinn](https://www.seebq.com/)**
>
> seebq.com is the shameless self-promotional site of Charles Brian Quinn, or SeeBQ.
