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

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://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

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
Peak Obsession

Output where it freezes at:

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

tks

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? :slight_smile:

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
Peak Obsession

Output where it freezes at:

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

tks

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.