Displaying 20 results from an estimated 6000 matches similar to: "Errno::EBADF: Bad file descriptor - connect"
2007 Sep 25
0
TCPSocket.new Errno::EBADF: Bad file descriptor error
Im trying to use memcache-client, but there is a line in their where it
calls:
TCPSocket.new(host, port). It fails at this point. I''ve tried just
trying to establish a connection in my script/console with
TCPSocket.new("localhost", 11211)
TCPSocket.new("127.0.0.1", 11211)
TCPSocket.new("<my comp name>", 11211)
TCPSocket.new("<my ip
2006 Nov 06
4
Errno::EBADF (Bad file descriptor)
I posted this to the discussion forum on rubyforge.org, but it appears that
it would have been better to post here.
Does anyone have any advice on how to resolve the problem reported at
http://rubyforge.org/tracker/index.php?func=detail&aid=6284&group_id=1306&atid=5145?
Thanks,
Justin
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2013 Aug 23
5
Ruby 2.0 Bad file descriptor (Errno::EBADF)
hi. i''ve been trying to upgrade my stack to ruby 2.0 but keep getting this on ubuntu (not on my local os x):
/hello/shared/bundle/ruby/2.0.0/gems/unicorn-4.6.3/lib/unicorn/http_server.rb:746:in `for_fd'': Bad file descriptor (Errno::EBADF)
from /hello/shared/bundle/ruby/2.0.0/gems/unicorn-4.6.3/lib/unicorn/http_server.rb:746:in `block in inherit_listeners!''
from
2006 Apr 17
2
Can I catch something like Errno::EBADF with rescue?
All,
I am using Net::HTTP to make requests for URLs in my app. When I get a
bad server, I get "Bad file descriptor - connect(2)" message on a
ERRNO:EBADF error.
Can I catch with rescue or otherwise gracefully react to that error?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2007 Jul 20
2
Errno::EBADF in ClassifiedController#list
Hi
I was working with a tutorial from a book yesterday and I got to a point
where I configuered the routing and it was working fine. And didnt make
any changes to it except for debuging. But today I get the following
error. Any ides on why is doing this ? ? ?
Errno::EBADF in ClassifiedController#list
Bad file descriptor - connect(2)
RAILS_ROOT: ./script/../config/..
--
Posted via
2006 Mar 13
2
Excessive Errno::EBADF with dispatch.fcgi
I''m running Ruby on Rails via FastCGI in an Apache environment, and I
get the following error, a lot.
(from log/fastcgi.crash.log)
[13/Mar/2006:15:52:51 :: 94704] Dispatcher failed to catch: Bad file
descriptor (Errno::EBADF)
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:38:in `close''
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:38:in `each''
2008 Jul 24
0
Errno::EBADF Send an Email in Rails using GMail
Hi,
would someone please help me. I have been desperatley trying to fnd
out for the last two days why the following code is not working. Any
ideas.
I''m running Instant Rails 1.4 / Rails version 1.2.5 / Ruby version
1.8.5 (i386-mswin32) / RubyGems version 1.1.1 / Action Mailer version
1.3.5 / Windows XP.
Here is a description of my emailing application:
in
2009 Mar 21
1
Subsetting data where the condition is that the value of some column contains some substring
I have some data that looks like this:
> dataP
input output corpusFreq pvolOT pvolRatioOT
1 give(my sister, the old book) P 47.0 56016 0.1543651
5 donate(her, the book) P 48.7 68928 0.1899471
9 give(my sister, the book) P 73.4 80136 0.2208333
13 donate(my sister, the old book) P
2004 Jul 01
1
linking .lib and/or .dll files
Hi,
Linking C++ dynamic libraries has become the bane of my R life. I have a
piece of C++ code that I would like to make into a .dll (to call into R).
However, this piece of C++ code needs to be linked with a .dll or .lib -
which I have been created in Visual C++. Is it possible to link this for use
in R? If so, how do I go about doing this is MINGW?
I am running R1.9.0 on WinXP.
Any
2003 Mar 27
1
Blockiness
I tried out Theora to see what the future holds, and see some pros and cons.
As a great plus, I have noticed that, even at the lowest quality (ie. "-v 0"),
the detail, and overally quality is clearly better than anything else available.
On the negative side, at qualities comparable to MPEG4, I've notcied a great
deal of blockiness. It's not as bad as blockiness from other
2008 Aug 27
2
Bad file descriptor with maildir and bzip2 files
Hi,
I'm using the zlib plugin with dovecot 1.1.2 (on Centos 4.5, x86, ext3) and
some bzip2 (version 1.0.2) compressed mail files are causing the following
error to show in the logs when I click on the folder in outlook express.
Aug 27 11:39:15 server-2 dovecot: IMAP(marchive): fstat(maildir) failed: Bad
file descriptor
Aug 27 11:39:17 Info: IMAP(marchive): Loading modules from directory:
2004 Jul 05
3
Randy Bush is a destructive force with a hidden professional agenda
. Monday, July 5, 2004
15:50:06 (-08:00hrs UTC)
Hello asterisk-users,
From the following post:
On Mon, 5 Jul 2004, Joe Baptista wrote:
> On Mon, 5 Jul 2004, Randy Bush wrote:
>> i did not criticize the protocol. remember, my question started
>> with
>>
>> >> i am looking at iax to
2023 May 05
1
6.2 still cannot get hdmi display out on Thinkpad P73 Quadro RTX 4000 Mobile/TU104
On Thu, 4 May 2023 16:32:16 -0700
Marc MERLIN <marc_nouveau at merlins.org> wrote:
> Hi again, I just saw a bunch of commits from all of you (thanks), but
> still can't find info if my thinkpad P73 with Quadro RTX 4000
> Mobile/TU104 is meant to be supported, or not, and if so, how I can
> best report issues beyond what I've already sent.
>
> The intel graphics
2007 May 07
1
Mongrel and EBADF error consuming resources
In the last few weeks I''ve noticed the load average spiking up for 5
minutes at a time (2-3.5 on a system that usually runs around
0.5-1.5). Looking closer I found that one mongrel process and
litespeed are at the top, and using strace I''ve found that they''re
passing the file below, seems to get stuck on single file/EBADF error.
It happens with a number of different
2006 Jun 06
1
Asterisk 1.2.7.1 bad file descriptor
Hi all,
could someone tell me what this does mean "bad file descriptor" when
trying to start asterisk. It goes till the CLI command and then die with
this message. Below an strace output from asterisk -vvvvvvvvvc
It's on debian Sarge kernel 2.6.7 with packages from debian VoIP team.
The server was running fine till now with this version.
Thanks
2013 Dec 12
0
Bad file descriptor on reload under Ruby 2.0
If you''re getting an EBADF (bad file descriptor) error when re-execing
Unicorn under Ruby >= 2.0 (see, e.g,
http://rubyforge.org/pipermail/mongrel-unicorn/2013-August/001858.html),
it''s likely that you''re re-running Unicorn via "bundle exec":
http://developer.zendesk.com/blog/2013/10/09/ruby-2-0-changes-exec-bundler/
The fix is to use a binstub for
2014 Jul 02
2
Error while waiting for input: Bad file descriptor
Hello,
Thanks to recent fix of 'Failed to decrypt and verify packet' issue by Etienne, I decided to upgrade tinc on a few nodes.
I had to go back to 1.1pre9 immediately because tinc on my laptop didn't survive the restart of other nodes. It aborted with the following message:
Error while waiting for input: Bad file descriptor
I could reproduce the issue. Here is strace output:
2005 Nov 03
3
EBADF error?
Hi all,
I get a (usually) reproducible error for only one of my controllers. This
doesn''t happen for any of the other 10+ controllers. I didn''t see anything
weird about file permissions. The "offending" line 142 is quite innocuous
and triggers the error even when that portion of the controller is not even
being run.
.
.
.
141 while
2006 Feb 25
5
WEBrick Bad File Descriptor Error
All of a sudden I have a wierd error when running script/server on a
Windows XP box. Webrick is failing with a bad file descriptor error.
I''m sure it''s conflicting with something in my enviornment, but I
cannot figure out what. I googled the issue and haven''t been able to
find any answer for it.
Although, I did find a workaround. If I''m using a port above
2006 Feb 26
2
Help - WEBrick won''t start - "Bad file descriptor" error
I have been working for a few days on a new (Windows) system, and
suddenly WEBrick won''t start. Full error text is at bottom of message.
It began after I followed Brian Hogan''s (terrific!) instructions for
setting up Eclipse w/Rails in Windows
(http://www.napcs.com/howto/railsonwindows.html). The server started
fine from w/in Eclipse when I reached that part of the instructions,