search for: ferret_start

Displaying 20 results from an estimated 24 matches for "ferret_start".

2007 Dec 02
1
solaris SMF to start ferret drb server
Jesse Grosjean wrote: > I''m trying to write a solaris SMF file to launch the ferret drb server. Hmm, I think I''ve hit a similar problem. I''ve just upgraded to the latest ferret trunk from an old aaf stable where the script/ferret_start and script/ferret_stop scripts were still in use. now if I call the old script... RAILS_ENV=production script/ferret_start script/ferret_start:25:in `load'': wrong number of arguments (0 for 1) (ArgumentError) from script/ferret_start:25 but if I call the new script... ruby sc...
2007 Jun 12
2
Starting script/ferret_start problems
Hi - I have a fresh install of OSX, Rails, Ruby, Ferret, AAF etc ... Everything is working fine, I can start mongrel, I can start backgroundrb, but Ferret Drb ... doesn''t want to work. RAILS_ENV=development script/ferret_start Gives me: env: script/runner: Permission denied Is there a way I can debug this to figure out what is going on - or is there another way to start Ferret Drb? Thanks Joerg -- Posted via http://www.ruby-forum.com/.
2007 Oct 05
5
DRbConnError when using script/runner
...ded my configuration and the method with which I start and stop the server no longer works: Here is the command I would like to use (and have used in the past) to start 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...
2007 Jul 18
1
DRb Server can not run!
I''m doing the next. 1, rails hecc 2, cd hecc 3, script/plugin install svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret 4, RAILS_ENV=production vendor/plugins/acts_as_ferret/script/ferret_start vendor/plugins/acts_as_ferret/script/ferret_start:21:in `require'': no such file to load -- vendor/plugins/acts_as_ferret/script/../config/boot (LoadError) from vendor/plugins/acts_as_ferret/script/ferret_start:21 ferret_start content 20 ENV[''FERRET_USE_LOCAL_INDEX'...
2007 Jul 25
17
DRb not starting
Hi, I have my Model as follows: class Mutation < ActiveRecord::Base acts_as_ferret ({:fields => {:description=>{}, :product_id=>{:index => :untokenized}, :product_description=>{}, :product_label_description=>{}, :product_label_free=>{}, :product_product_id_supplier=>{}, :product_description_supplier=>{}, :supplier_description=>{}, :pub_date_sort
2007 Oct 08
7
Unified ferret_start and ferret_stop
I would like to unify the ferret_start and ferret_stop scripts into a single script. My motivation is to make the scripts more like the other rails scripts, and to also make it fit into monitoring schemes better. I realize that some work was done recently to allow the scripts to be run from script/runner, but I think a unified script i...
2007 Jul 17
3
two acts_as_ferret questions!
...39;s wrong? i''m useing rhel 4! 2, i downloaded the acts_as_ferret-0.4.0.tgz at http://rubyforge.org/frs/?group_id=2916&release_id=10617 and uploaded to the /testapp/vendor/plugins/acts_as_ferret folder, when i run the commond: RAILS_ENV=development vendor/plugins/acts_as_ferret/script/ferret_start RAILS_ENV=development vendor/plugins/acts_as_ferret/script/ferret_start /usr/local/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/runner.rb:45: (eval):23: You have a nil object when you didn''t expect it! (NoMethodError) You might have expected an instance of Array. The error occurre...
2007 May 01
2
AAF and DRb server
...lopment environment my searches work just fine, without any problems. For production I configured the ferret_server.yml file with correct information about the machine my DRb server is running on. I start the ferret server with the following command: ruby script/runner ''load "script/ferret_start"'' The DRb server seems to be starting fine. I get: Starting ferret DRb server...Done. But when I run a top, I see that my ruby process that I started ferret_server in is sitting at 95 to 99% at all times. This happens with no load on the server. Basically it seems that the DRb serv...
2007 Jun 13
14
Do delegates work properly in Drb mode?
Hi folks, I have several models that index well in Drb mode. However, I have one scenario where it works in normal mode, but not in Drb mode. model A field :one end model B belongs_to :a field :two delegate :one, :to => :a acts_as_ferret :fields => { :one => {}, :two => {} }, :remote => true end If I leave off the :remote parameter, it works. Or, if I don''t
2007 Mar 31
5
DRb server & aaf gem
I''m having problems getting the DRb server running with the aaf gem. I tried it with the plugin installed in my application, and it worked. I suspect the problem has something to do with the startup scripts expecting certain files to be in certain relative file paths. Any insights are appreciated, and maybe if you have time you can update the wiki document :) Thanks for a great
2007 Aug 27
2
Ferret DRb on windows?
i''m running a bunch of proxybalanced mongrels on a windows server. and since the memory consumption of all those mongrels is getting too high i wanted to set up the DRb''ed ferret server. but script/ferret_start doesn''t work and seems to be written for linux (unix) only. is there a way to run it on windows? -- Posted via http://www.ruby-forum.com/.
2007 Jul 17
2
acts_as_ferret 0.4.1
Hi folks, I just released version 0.4.1 fixing several bugs and bringing the DRb server''s index versioning feature to the stable branch. Please see [1] for more changes. Cheers, Jens [1] http://projects.jkraemer.net/acts_as_ferret/query?status=closed&milestone=0.4.1 -- Jens Kr?mer http://www.jkraemer.net/ - Blog http://www.omdb.org/ - The new free film database
2007 May 02
2
Index update - problems
...;m forced to restart mysqld. Then again it works for a while, but then after some new rows problems begin. I''m using :remote => true for my models I started my ferret server with this command: FERRET_USE_LOCAL_INDEX=1 RAILS_ENV=production ruby script/runner ''load "script/ferret_start"'' Has anyone else bumped into this kind of behaviour? Any ideas what might be causing it? Regards, Antti -- Posted via http://www.ruby-forum.com/.
2007 Jul 22
1
Strange Connection refused error acts_as_ferret server
...nux machine (Debian Etch). The same setup works fine on my Mac (OSX). Without the Rails application running (yes, I''ve checked several times) I get the 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'' f...
2007 Apr 23
1
Launching DRb server on reboot: solved
...TH=/usr/local/bin:$PATH RORPATH="/path/to/ror_root" case "$1" in start) cd $RORPATH echo "Starting ferret DRb server." FERRET_USE_LOCAL_INDEX=1 \ script/runner -e production \ vendor/plugins/acts_as_ferret/script/ferret_start ;; stop) cd $RORPATH echo "Stopping ferret DRb server." FERRET_USE_LOCAL_INDEX=1 \ script/runner -e production \ vendor/plugins/acts_as_ferret/script/ferret_stop ;; *) echo $"Usage: $0 {start, stop}"...
2007 Oct 02
3
deadlocks in Drb Server
...rb.rb:566 deadlock 0xb71d8654: sleep:F(409) - /usr/lib/ruby/1.8/drb/drb.rb:566 deadlock 0xb723f3e0: sleep:F(7) - /usr/lib/ruby/1.8/drb/drb.rb:566 deadlock 0xb72607c0: sleep:F(11) - /usr/lib/ruby/1.8/drb/drb.rb:566 deadlock 0xb7d44754: sleep:J(0xb71fab64) (main) - /var/www/web1/oms/current/script/ferret_start:70 deadlock 0xb71fab64: sleep:F(6) - /usr/lib/ruby/1.8/drb/drb.rb:944 deadlock 0xb726f158: sleep:S - /usr/lib/ruby/1.8/drb/drb.rb:626 /usr/lib/ruby/1.8/drb/drb.rb:626: Thread(0xb726f158): deadlock (fatal) Anyone have an idea what may be causing the problem and what we can do to get round it? T...
2007 Apr 03
5
Inifinite loop problem with DRb server
...ngrel_rails start --port 6543 --environment development --daemonize 2>&1 # config/ferret_server.yml development: host: 127.0.0.1 port: 3000 pid_file: log/ferret.3000.pid # Ferret''s DRb server is started using: script/runner -e development vendor/plugins/acts_as_ferret/script/ferret_start # app/models/email.rb: class Email < ActiveRecord::Base acts_as_ferret :store_class_name => true, :remote => true, :fields => (self.content_columns.map(&:name) rescue []) + %w(main_identifier party_display_name) end # app/controllers/search_controller.rb class SearchContro...
2007 Sep 20
5
Ferret DRB, UTF-8, Mongrel
I have spent days trying to figure out how to get UTF-8 working with my site. Here''s my environment: Linux version 2.6.16.29-xen_3.0.3.0 Ruby 1.8.4 (2005-12-24 [i386-linux] Rails 1.2.3 mongrel (1.0.1) mongrel_cluster (1.0.2, 0.2.1) ferret (0.11.4) acts_as_ferret stable plugin Ferret DRB server When I don''t use an analyzer with my acts_as_ferret declaration, everything works
2007 Sep 10
1
Asked for a remote server ? nil, ENV["FERRET_USE_LOCAL_IN...
...cal index. My application is working find, with 4 mongrels, but i got this message on every request... I tryed to add the following at the end of my environment.rb file, without sucess. FERRET_USE_LOCAL_INDEX=1 # didn''t do anything FERRET_USE_LOCAL_INDEX=1 RAILS_ENV=production script/ferret_start # ruby did not start (exception) There is a "require ''acts_as_ferret''" at the beginning of my environment.rb I got the same problem with a Fedoracore5, using ferret 0.10.13 and acts_as_ferret 0.4.1 Thank for you precious help Jens -- Posted via http://www.ruby-for...
2007 Aug 04
0
Running two ferret servers for two different applications on the same box
...each ferrt server to reflect that these two applications should access specific ferret servers that are running? I''ve tried changing the ports in the ferret_server.yml file, but I can''t seem to start the second server using its port when I run vendor/plugins/acts_as_ferret/script/ferret_start. I get the ''bind error, address already in use''. Any help would be appreciated. Thanks! Dave ____________________________________________________________________________________ Be a better Heartthrob. Get better relationship answers from someone who knows. Yah...