Capistrano getaddrinfo error?

I’m having troubles setting up Capistrano on Dreamhost … here’s the
EXACT steps I took, almost following the guide from nubyonrails.com:

On server:

cd svn/
mkdir rails.bechbox.dk
svnadmin create ~/svn/rails.bechbox.dk

Local:

~/rails megl$ ls
blog portfolio rails.bechbox.dk
rails.ubtesten.info tags
~/rails megl$ svn import rails.bechbox.dk
svn+ssh://[email protected]/home/megl/svn/rails.bechbox.dk -m “import”

and then svn adds all the files in rails.bechbox.dk

~/rails megl$ svn co
svn+ssh://[email protected]/home/megl/svn/rails.bechbox.dk
rails.bechbox.dk
svn: Failed to add directory ‘rails.bechbox.dk/test’: object of the
same name already exists

~/rails megl$ mv rails.bechbox.dk rails.bechbox.dk_presvn
~/rails megl$ svn co
svn+ssh://[email protected]/home/megl/svn/rails.bechbox.dk
rails.bechbox.dk

~/rails/rails.bechbox.dk megl$ cap -A .
exists config
create config/deploy.rb
exists lib/tasks
create lib/tasks/capistrano.rake
Loaded suite /usr/local/bin/cap
Started

Finished in 0.000458 seconds.

0 tests, 0 assertions, 0 failures, 0 errors

And then I change the deploy.rb to the one from nubyonrails.com and
make the necessary changes in there

So far so good! But now it goes haywire:

~/rails/rails.bechbox.dk megl$ rake remote:exec ACTION=setup
(in /Users/megl/rails/rails.bechbox.dk)
loading configuration
/usr/local/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/recipes/standard.rb
loading configuration ./config/deploy.rb

  • executing task setup
  • executing “mkdir -p -m 775 /home/megl/rails.bechbox.dk/releases
    /home/megl/rails.bechbox.dk/shared/system &&\n mkdir -p -m 777
    /home/megl/rails.bechbox.dk/shared/log &&\n mkdir -p -m 777
    /home/megl/rails.bechbox.dk/shared/pids”
    servers: [“rails.bechbox.dk”]
    rake aborted!
    getaddrinfo: No address associated with nodename

(See full trace by running task with --trace)

I’ve done the exact same thing with another project on the same server
a while ago, and that went fine. Any ideas what I might be doing wrong
here?

Thanks in advance!!

Mikkel

Interesting, seems like a simple problem resolving the domain
rails.bechbox.dk.

I just did a dig lookup on your name and can’t find it:

rails.bechbox.dk. IN A

but I can see:

bechbox.dk. 3600 IN A 208.97.163.60

can you check your dns, or use the www server instead?

On 9/15/06, [email protected] [email protected] wrote:

~/rails megl$ svn co
~/rails/rails.bechbox.dk megl$ cap -A .

  • executing task setup
    I’ve done the exact same thing with another project on the same server


Charles Brian Q.
self-promotion: www.seebq.com
highgroove studios: www.highgroove.com
slingshot hosting: www.slingshothosting.com

Yeah - maybe I’m just being too impatient :wink: I’ll wait a few hours
and try again.

/megl

Wait a minute … what if I did create the sub domain AFTER checking
out the repository … does that have anything to say?

yeah but in your svn statements, you were using the bechbox.dk domain
too.

your dns is at 3600 second updates, it should propogate by now…

On 9/15/06, Mikkel B. [email protected] wrote:

On 9/15/06, Charles Brian Q. [email protected] wrote:

svn+ssh://[email protected]/home/megl/svn/rails.bechbox.dk -m “import”
~/rails megl$ svn co

(in /Users/megl/rails/rails.bechbox.dk)
getaddrinfo: No address associated with nodename

highgroove studios: www.highgroove.com
slingshot hosting: www.slingshothosting.com


Charles Brian Q.
self-promotion: www.seebq.com
highgroove studios: www.highgroove.com
slingshot hosting: www.slingshothosting.com