bechbox-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Sep-15 12:47 UTC
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://megl-M/mm4gK0xp1/SzgSGea1oA@public.gmane.org/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://megl-M/mm4gK0xp1/SzgSGea1oA@public.gmane.org/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://megl-M/mm4gK0xp1/SzgSGea1oA@public.gmane.org/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 http://www.bechbox.dk --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
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, bechbox-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <bechbox-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > 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://megl-M/mm4gK0xp1/SzgSGea1oA@public.gmane.org/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://megl-M/mm4gK0xp1/SzgSGea1oA@public.gmane.org/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://megl-M/mm4gK0xp1/SzgSGea1oA@public.gmane.org/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 > > http://www.bechbox.dk > > > > >-- Charles Brian Quinn self-promotion: www.seebq.com highgroove studios: www.highgroove.com slingshot hosting: www.slingshothosting.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Yeah - maybe I''m just being too impatient ;-) I''ll wait a few hours and try again. /megl On 9/15/06, Charles Brian Quinn <cbquinn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > 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, bechbox-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <bechbox-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > 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://megl-M/mm4gK0xp1/SzgSGea1oA@public.gmane.org/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://megl-M/mm4gK0xp1/SzgSGea1oA@public.gmane.org/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://megl-M/mm4gK0xp1/SzgSGea1oA@public.gmane.org/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 > > > > http://www.bechbox.dk > > > > > > > > > > > > -- > Charles Brian Quinn > self-promotion: www.seebq.com > highgroove studios: www.highgroove.com > slingshot hosting: www.slingshothosting.com > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Wait a minute ... what if I did create the sub domain AFTER checking out the repository ... does that have anything to say? On 9/15/06, Mikkel Bech <bechbox-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Yeah - maybe I''m just being too impatient ;-) I''ll wait a few hours > and try again. > > /megl > > On 9/15/06, Charles Brian Quinn <cbquinn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > 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, bechbox-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <bechbox-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > 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://megl-M/mm4gK0xp1/SzgSGea1oA@public.gmane.org/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://megl-M/mm4gK0xp1/SzgSGea1oA@public.gmane.org/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://megl-M/mm4gK0xp1/SzgSGea1oA@public.gmane.org/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 > > > > > > http://www.bechbox.dk > > > > > > > > > > > > > > > > > > > -- > > Charles Brian Quinn > > self-promotion: www.seebq.com > > highgroove studios: www.highgroove.com > > slingshot hosting: www.slingshothosting.com > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
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 Bech <bechbox-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Wait a minute ... what if I did create the sub domain AFTER checking > out the repository ... does that have anything to say? > > On 9/15/06, Mikkel Bech <bechbox-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Yeah - maybe I''m just being too impatient ;-) I''ll wait a few hours > > and try again. > > > > /megl > > > > On 9/15/06, Charles Brian Quinn <cbquinn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > 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, bechbox-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <bechbox-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > > > > 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://megl-M/mm4gK0xp1/SzgSGea1oA@public.gmane.org/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://megl-M/mm4gK0xp1/SzgSGea1oA@public.gmane.org/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://megl-M/mm4gK0xp1/SzgSGea1oA@public.gmane.org/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 > > > > > > > > http://www.bechbox.dk > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Charles Brian Quinn > > > self-promotion: www.seebq.com > > > highgroove studios: www.highgroove.com > > > slingshot hosting: www.slingshothosting.com > > > > > > > > > > > > > > > > >-- Charles Brian Quinn self-promotion: www.seebq.com highgroove studios: www.highgroove.com slingshot hosting: www.slingshothosting.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---