logo       

Re: Basis Remote SysAdmin Tasks: msg#00094

lang.ruby.capistrano.general

Subject: Re: Basis Remote SysAdmin Tasks

Others have reported the "Bad file descriptor" error when connecting from windows, and I have no idea what it means. I keep hoping a windows networking guru will step forward and explain it all. Until then... I'm afraid I have nothing to suggest.

- Jamis

On Nov 15, 2007, at 10:15 AM, TB wrote:


Perfect! Thanks, that was just what I needed.

I tried the "simple example" but got this error when I tried it on my
home network:

C:\Documents and Settings\TB\testapp>cap search_libs
You are running Ruby 1.8.6, which has a bug in its threading
implementation.
You are liable to encounter deadlocks running Capistrano, unless you
install
the fastthread library, which is available as a gem:
gem install fastthread
* executing `search_libs'
* executing "ls -al"
servers: ["192.168.0.10"]
connection failed for: 192.168.0.10 (Errno::EBADF: Bad file descriptor
- connect
(2))

I understand the fastthread warning...I am not sure what the "Bad file
descriptor - connect
(2)" error is all about. Here is the search_libs file I made:

task :search_libs, :hosts => "192.168.0.10" do
run "ls -alxl /usr/lib | grep -i xml"
end

Thanks for any help you can send my way.

On Nov 15, 10:04 am, Tobi Reif
<tobiasr...-hcbruqqhhkZl57MIdRCFDg@xxxxxxxxxxxxxxxx> wrote:
On Thu 2007-11-15 TB wrote:



I have read the FAQ where Jamis Buck says you can perform non-rails
tasks by simply using a "capfile."

If I just want to SSH into a box and perform an "ls -al," can you
explain what I should put into that capfile? Are there other
configuration files I need to edit? How do I invoke the process?

Tryhttp://www.capify.org/getting-started/basics

Tobi
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to capistrano- unsubscribe-/JYPxA39Uh5TLH3MbocFFw@xxxxxxxxxxxxxxxx
For more options, visit this group at http://groups.google.com/ group/capistrano
-~----------~----~----~----~------~----~------~--~---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise