Displaying 20 results from an estimated 30 matches for "drbconnerror".
2007 Oct 05
5
DRbConnError when using script/runner
...tart the aaf server:
$ /Library/WebServer/rails/ccdb/current/script/runner -e production
/Library/WebServer/rails/ccdb/current/script/ferret_start
/opt/local/lib/ruby/1.8/drb/drb.rb:736:in `open'': druby://localhost:9090
- #<Errno::ECONNREFUSED: Connection refused - connect(2)>
(DRb::DRbConnError)
from /opt/local/lib/ruby/1.8/drb/drb.rb:729:in `each''
from /opt/local/lib/ruby/1.8/drb/drb.rb:729:in `open''
from /opt/local/lib/ruby/1.8/drb/drb.rb:1189:in `initialize''
from /opt/local/lib/ruby/1.8/drb/drb.rb:1169:in `new''...
2006 Oct 27
8
Error after moving to production server
...converts an mp3 to a swf.
this is working fine locally on my machine, but upon moving it to my
production server, i am getting the following error. I''ve only been
using backgroundRB for like 48 hours, so i''m not really sure what
this means or where to go. any ideas?
DRb::DRbConnError (too large packet 1008813135):
/usr/lib/ruby/1.8/drb/drb.rb:570:in `load''
/usr/lib/ruby/1.8/drb/drb.rb:629:in `recv_reply''
/usr/lib/ruby/1.8/drb/drb.rb:918:in `recv_reply''
/usr/lib/ruby/1.8/drb/drb.rb:1192:in `send_message''
/usr/lib/ruby/...
2006 Apr 01
5
What IDE for Rails on OSX?
Hi,
I''m using TextMate for rails development on OSX, but have reached a point
where I need to run in a debugger and be able to step through the code as it
executes. I have previously used the Eclipse Ruby plug in and another IDE
for ruby development on windows, but never figured out how to run a Rails
app in the debugger.
How are other textmate users debugging and what else is there on
2005 Jan 28
17
breakpoint not working
I keep getting:
No connection to breakpoint service at druby://localhost:42531
(DRb::DRbConnError)
Tries to connect will be made every 3 seconds...
This happens every time i run ./script/breakpointer using 0.9.5 on OSX
or Windows.
Any ideas?
2007 Jun 27
2
acts_as_ferret, DRb, and filter_proc
...ts_as_ferret with DRb and filter_proc,
without much success. My guess is that this isn''t possible because
there''s no way to send the proc to the DRb server, correct?
Person.find_by_contents("jonathan", :filter_proc => proc {}) causes an
exception when using DRb (DRb::DRbConnError: DRb::DRbServerNotFound).
I can work around this by applying the filter after searching as the
exact number of results isn''t too important in this case.
Cheers,
-Jonathan
--
Posted via http://www.ruby-forum.com/.
2007 May 24
2
Strange Problem with AAF DRB connection
Hi all!
We use the DRB-Server Backend and are getting strange DRb::DRbConnErrors
lately. It started with:
too large packet 687865856
(druby:/10.0.0.10:9010) /usr/lib/ruby/1.8/drb/drb.rb:573:in `load''
and later only this one:
premature marshal format(can''t read)
(druby:/10.0.0.10:9010) /usr/lib/ruby/1.8/drb/drb.rb:580:in `load''
Do you have any...
2007 Jul 22
1
Strange Connection refused error acts_as_ferret server
...he following error if I try to start the ferret server and one of
my models contains :remote => true for acts_as_ferret:
>>
script/ferret_start
/usr/lib/ruby/1.8/drb/drb.rb:736:in `open'': druby://localhost:3009 -
#<Errno::ECONNREFUSED: Connection refused - connect(2)>
(DRb::DRbConnError)
from /usr/lib/ruby/1.8/drb/drb.rb:729:in `each''
from /usr/lib/ruby/1.8/drb/drb.rb:729:in `open''
from /usr/lib/ruby/1.8/drb/drb.rb:1189:in `initialize''
from /usr/lib/ruby/1.8/drb/drb.rb:1169:in `new''
from /usr/lib/ruby/1.8/...
2007 Nov 30
1
backgroundrb not cleaning up tmp files?
I just had an interesting issue on a production system that has been
running nicely for about a year. There were approximately 10,000
backgroundrb temp files in the /tmp directory. It looks like
backgroundrb wasn''t cleaning them up.
I noticed it with the following error:
DRb::DRbConnError: drbunix:///tmp/backgroundrb.20015/
backgroundrb_logger_0_0.101544829808665 - #<Errno::ENOENT: No such
file or directory - ///tmp/backgroundrb.20015/
backgroundrb_logger_0_0.101544829808665>
/usr/lib/ruby/1.8/drb/drb.rb:736:in `open''
/usr/lib/ruby/1.8/drb/drb.rb:729:in `each&...
2007 Jul 13
8
More sorting problems with untokenized index
I''m having problems sorting on untokenized fields. I have one field that
sorts fine, but there are others that seem to sort on a different field.
Here''s the index description:
acts_as_ferret
:remote=>true,:fields=>{:name=>{:boost=>2},:name_for_sort=>{:index =>
:untokenized},
:city=>{:boost=>2}, :city_for_sort=>{:index=>:untokenized},
2006 Sep 23
6
Connection to backgroundrb is lost when exiting action method
Hey.
I have a very annoying problem, and was wondering what is wrong.
Suppose I have backgroundrb running, and then I have an action in some
controller. In the action I define a worker. When leaving the action,
suddenly the connection to backgroundrb is lost:
DRb URI: druby://localhost:22222
Pid: 3976
Autostart...
done
druby://localhost:42531 - #<Errno::EBADF: Bad file descriptor -
2006 Dec 04
4
Question about acls
...ot; and :host is set to
"localhost". If I set :host to "server2" then backgroundrb runs, but
the console fails with:
/usr/local/lib/ruby/1.8/drb/drb.rb:736:in `open'': druby://localhost:
22222 - #<Errno::ECONNREFUSED: Connection refused - connect(2)>
(DRb::DRbConnError)
from /usr/local/lib/ruby/1.8/drb/drb.rb:729:in `each''
from /usr/local/lib/ruby/1.8/drb/drb.rb:729:in `open''
from /usr/local/lib/ruby/1.8/drb/drb.rb:1189:in `initialize''
from /usr/local/lib/ruby/1.8/drb/drb.rb:1169:in `new''...
2006 Jul 18
6
backgroundrb - Connection closed
...with backgroundrb, but I don''t know the cause. All I
get is the error message attached below, which is extracted from the production.log.
I appreciate any help on this matter.
Greetings
Michael Kastner
--- errror message ---------------------------------------------------------
DRb::DRbConnError (connection closed):
/usr/local/lib/ruby/1.8/drb/drb.rb:567:in `load''
/usr/local/lib/ruby/1.8/drb/drb.rb:629:in `recv_reply''
/usr/local/lib/ruby/1.8/drb/drb.rb:918:in `recv_reply''
/usr/local/lib/ruby/1.8/drb/drb.rb:1192:in `send_message''...
2007 Jul 25
17
DRb not starting
...ab => {:index => :untokenized}},:remote => true})
I get the following error when starting ferret server (and also when
starting mongrel)
/opt/local/lib/ruby/1.8/drb/drb.rb:736:in `open'': druby://localhost:9010
- #<Errno::ECONNREFUSED: Connection refused - connect(2)>
(DRb::DRbConnError)
from /opt/local/lib/ruby/1.8/drb/drb.rb:729:in `each''
from /opt/local/lib/ruby/1.8/drb/drb.rb:729:in `open''
from /opt/local/lib/ruby/1.8/drb/drb.rb:1189:in `initialize''
from /opt/local/lib/ruby/1.8/drb/drb.rb:1169:in `new''...
2007 Sep 07
4
Ferret DRB - can add/edit index, but can''t search
I''m trying to use the Ferret DRB server to avoid concurrency issues when
using multiple mongrels. I can successfully add and edit data on my
index via the DRB server, however, when I search the index, I get the
following error:
DRb::DRbConnError (DRb::DRbServerNotFound):
/usr/lib/ruby/1.8/drb/drb.rb:1647:in `current_server''
/usr/lib/ruby/1.8/drb/drb.rb:1709:in `to_id''
/usr/lib/ruby/1.8/drb/drb.rb:1045:in `initialize''
/usr/lib/ruby/1.8/drb/drb.rb:639:in `make_proxy''
/usr/lib/ruby/1.8/d...
2006 Dec 27
6
file upload
I ma trying to get this upload working,
http://mongrel.rubyforge.org/docs/upload_progress.html,
....after starting from the command line,
mongrel_rails start -d -p 3001 -S config/mongrel_upload_progress.conf
I get this eror in the browser,
NameError
uninitialized constant UploadProgressRailsController
RAILS_ROOT: /usr/opt/tomcat/workspace/upload/config/..
Application Trace | Framework Trace
2007 Oct 12
0
Trouble on Multi Server setup
...bObject:0xb69ee894
@uri="drbunix:///tmp/backgroundrbunix_localhost_2000",
@ref=-610099128>
This **seems** right, since the correct port and host are there. I''m
suspicious about drbunix vs. druby though. If change the protocol to
druby, I get connection refused errors.
DRb::DRbConnError: druby://172.16.0.3:22223 - #<Errno::ECONNREFUSED:
Connection refused - connect(2)>
As it I have it set up right now, all the logging appears on the web
server that accepted the request (both in backgroundrb.log and
production.log). It seems like at least some of this should be
offloaded to...
2006 Oct 18
0
Please help with 2 (related?) problems
...ing
a little more real, I''m getting stuck.
The first problem I''m getting is that the background task seems to be
getting
terminated by Rails. In any case, I am getting the following error as
the first
thing that happens in my background logger:
Connection reset by peer - (DRb::DRbConnError)
What might be the common causes of this error?
The second problem that I''m having, which I suspect may be related, is
that
my view tries to call the get_progress action, but doesn''t get a
response.
In the view file I have:
<%= periodically_call_remote(:url => {:control...
2007 Apr 04
2
Please help with Drb server
The Problem:
The application is using the AAF plugin. When I attempt to rebuild the
index on the production server
from the console, I get the following error:
------
DRb::DRbConnError: druby://ferret.mydomain.com:9010 -
#<Errno::ETIMEDOUT: Connection timed out - connect(2)>
from /usr/lib/ruby/1.8/drb/drb.rb:736:in `open''
from /usr/lib/ruby/1.8/drb/drb.rb:729:in `each''
from /usr/lib/ruby/1.8/drb/drb.rb:729:in `open''...
2006 Mar 14
2
RDT and breakpointer
...l be made every 2 seconds...
Executing break point "Let''s break for a while :)" at
./script/../config/../app/controllers/store_controller.rb:28 in
`display_cart''
Server exited. Closing connection...
No connection to breakpoint service at druby://localhost:42531
(DRb::DRbConnError)
----------------------------
What could I be doing wrong? Or any newie friendly & free RoR debuggers
out there? Any advice will be greatly appreciated!
DD
--
Posted via http://www.ruby-forum.com/.
2005 Oct 21
0
Breakpointer breaking WEBrick on Windows?
...Agile Rails book. I''m trying to use the
breakpoint feature to debug something, but I can''t
seem to get it to work. When I run the breakpointer
service I get:
C:\railsproj\depot> ruby script/breakpointer
No connection to breakpoint service at
druby://localhost:42531 (DRb::DRbConnError)
Tries to connect will be made every 2 seconds...
To make matters worse, it seems to hang my WEBrick
process something fierce - I need to kill the Command
Prompt window to drop and restart WEBrick.
Q: Do I need to change the arguments to the
breakpointer?
Q: Do I need to be doing this in the t...