search for: backgroundrb_server

Displaying 20 results from an estimated 55 matches for "backgroundrb_server".

2006 Nov 22
4
Error when starting bgrdb
Hi, I get this error when starting bgdrb using "rake backgroundrb:start" (on a Mac using bgdrb 0.2.0): /Users/gl/Projects/xxxxx/xxxxx/vendor/plugins/backgroundrb/server/lib/ backgroundrb_server.rb:33:in `format_message'': undefined method `strftime'' for "2006-11-22T12:34:18.524572 ":String (NoMethodError) from /usr/lib/ruby/1.8/logger.rb:320:in `add'' from /usr/lib/ruby/1.8/logger.rb:372:in `info'' from /Users/gl/Proj...
2006 Dec 04
1
no method error when starting backgroundrb
I just installed backgroundrb on our server. When tryin to start via script/backgroundrb i get a no method error. ./script/backgroundrb start /home/tom/ralf_dev/vendor/plugins/backgroundrb/server/lib/backgroundrb_server.rb:34:in `format_message'': undefined method `strftime'' for "2006-12-04T15:53: 23.419225 ":String (NoMethodError) from /usr/lib/ruby/1.8/logger.rb:320:in `add'' from /usr/lib/ruby/1.8/logger.rb:372:in `info'' from /home/tom/ralf_dev...
2007 Jun 04
2
backgroundrb scheduler
...forever. I''m using the backgroundrb as a nightly cron to run some accounting operations. questions: 1. How can I have the process destroyed after the worker completes? 2. Any idea on what would keep the prcesses from being started. The backgroundrb.log is empty. I''ll post the backgroundrb_server.log 3. Is backgroundrb even the right choice for nightly rails crons? Thanks for any help, and of course for backgroundrb! Charlie This is the backgroundrb_server.log for last night. It called and ran this worker but none of the rest (about 7 others). Again, nothing was written to the backgro...
2007 Dec 24
2
backgroundrb script crashing on startup
...ora Core 6, Ruby 1.8.5) when I run script/backgroundrb start, the process fails to start. This is with Rails 2.0.2 frozen in the app, and I have the most recent version of the plugin (r297). Is Ruby 1.8.6 a requirement for backgroundrb now? I can''t figure any other reason it would fail... backgroundrb_server.log shows: ==> log/backgroundrb_server.log <== /usr/lib/ruby/site_ruby/1.8/active_support/dependencies.rb:264:in `load_missing_constant'': uninitialized constant ActionView::Helpers::BasicObject (NameError) from /usr/lib/ruby/site_ruby/1.8/active_support/dependencies.rb:453...
2007 Sep 04
2
backgroundrb install issue
...t /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'': no such file to load -- daemons (LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' from /home/xyzzy/public_html/site/vendor/plugins/backgroundrb/server/lib/backgroundrb_server.rb:2 from ./script/backgroundrb:27:in `require'' from ./script/backgroundrb:27 this line says require ''backgroundrb_server'' What is wrong and how do I get that into the path? Sorry if this is a bit OT also but I hope the fix is simple thanks sam...
2007 Apr 09
1
Drb Connection error on multiple dispatch.fcgi ''s
...r/lib/ruby/1.8/drb/drb.rb:1427:in `run'' /usr/lib/ruby/1.8/drb/drb.rb:1424:in `run'' /usr/lib/ruby/1.8/drb/drb.rb:1344:in `initialize'' /usr/lib/ruby/1.8/drb/drb.rb:1624:in `start_service'' /home/pascal/projects/work/sitenoodler/vendor/plugins/backgroundrb/server/lib/backgroundrb_server.rb:315:in `run'' /usr/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons/application.rb:187:in `start_proc'' /usr/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons/application.rb:197:in `start_proc'' /usr/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons/application.rb:227:in `s...
2007 Feb 07
1
Repeatedly dying with "failed to find slave socket"
...eep backgroundrb v2 running for more than 24 hours. It appears to be running fine for a while, then tries to fire off a worker (exactly the same worker it''s been running for the past few hours), and it suddenly dies. I haven''t found any pattern for the cause of this. In backgroundrb_server.log, the final entry is this : 20070206-10:41:45 (5189) Schedule triggered: #<struct #<Class: 0x2afb643b56c0> job=#<Proc:0x00002afb63ed83c8 at .../vendor/plugins/ backgroundrb/server/lib/backgroundrb/middleman.rb:355>, trigger=#<BackgrounDRb::Trigger:0x2afb6546ccc0 @repeat_in...
2007 Feb 14
1
Scheduling in backgroundrb not working
...o ..... I want to use backgroundrb and rails in which i''ll schedule a job for every 5 minutes/ 1 minute or so..... to send an email But when i write .yml file as given by the http://backgroundrb.rubyforge.org/ I''m unable to send emails ....... Infact my backgroundrb_server.log shows that scheduler is not even get triggered for every minute or so I''ve no clue y the Scheduler is not working for every 1 minute or so ........ Any help is appreciated !!!! My Server details: Ruby 1.8.4 Rails 1.1.6 Backgroundrb - 1.2.1 CENT OS .. (Installed bac...
2007 Aug 08
3
Cannot start workers in production mode
.../drb/drb.rb:1427:in `run'' /usr/lib/ruby/1.8/drb/drb.rb:1347:in `initialize'' /usr/lib/ruby/1.8/drb/drb.rb:1627:in `new'' /usr/lib/ruby/1.8/drb/drb.rb:1627:in `start_service'' /mnt/home/magicarsenal/admin/releases/20070807014939/vendor/plugins/backgroundrb/server/lib/backgroundrb_server.rb:315:in `run'' /usr/lib/ruby/gems/1.8/gems/daemons-1.0.6/lib/daemons/application.rb:193:in `call'' /usr/lib/ruby/gems/1.8/gems/daemons-1.0.6/lib/daemons/application.rb:193:in `start_proc'' /usr/lib/ruby/gems/1.8/gems/daemons-1.0.6/lib/daemons/application.rb:203:in `call...
2007 Apr 07
4
Error when starting Backgroundrb
...s/cmdline.rb:105:in `call'' from ruby/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons/cmdline.rb:105:in `catch_exceptions'' from ruby/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons.rb:181:in `run_proc'' from Test/vendor/plugins/backgroundrb-0.2.1/server/lib/backgroundrb_server.rb:301:in `run'' from Test/vendor/plugins/backgroundrb-0.2.1/script/backgroundrb:31 I had the fork-not-implemented-error before so I use "require ''win32/process''" on my WinXP Notebook. This "setsid is unimplemented" is new and even google could...
2008 Jan 03
5
Start script not working when run via Rake
...''t launch the worker processes. The Rake task is as follows: task :start_backgroundrb do run "cd #{current_path} && ./script/backgroundrb start" end When I run this task, the following files are created in the log directory: backgroundrb.pid backgroundrb_debug.log backgroundrb_server.log Observations: The process ID found in backgroundrb.pid doesn''t exist, backgroundrb_server.log is zero bytes long and backgroundrb_debug.log contains the following: # Logfile created on Thu Jan 03 14:43:24 +0000 2008 by / It looks like the process is being started by Rake, but term...
2007 Apr 04
6
Exception when doing DRb remote calls from a BackgrounDRb worker
Hello, I am trying to make DRb calls to a external server from a backgrounDRb worker, but I''m getting always the next exception when I make the remote call. > ERROR: > drbunix:///tmp/backgroundrb.11175/experimenter_worker_3e899de945f0803a82cd257cfac316d0_0_0.0738904928422051 > - #<Errno::ENOENT: No such file or directory - >
2007 Mar 05
4
nil object / slave server problem
...ng nil.wait - (NoMethodError) /<mypath>/vendor/plugins/backgroundrb/server/lib/backgroundrb/middleman.rb:218:in `new_worker'' Looking through middleman.rb, I found that this is triggered by the slave_obj being nil, and see that there''s a preceding exception, which I found in backgroundrb_server.log: 20070305-16:45:13 (2929) Loading Worker Class File: /<mypath>/lib/workers/background_message_sender_worker.rb 20070305-16:45:38 (2929) failed to find slave socket - (RuntimeError) 20070305-16:45:38 (2929) /opt/local/lib/ruby/gems/1.8/gems/slave-1.2.0/lib/slave.rb:435:in `initialize'...
2006 Nov 20
4
Production RAILS_ENV / DB Selection
...rb.rb:1427:in `run'' /usr/local/lib/ruby/1.8/drb/drb.rb:1424:in `run'' /usr/local/lib/ruby/1.8/drb/drb.rb:1344:in `initialize'' /usr/local/lib/ruby/1.8/drb/drb.rb:1624:in `start_service'' /var/www/gorchie/releases/20061120100506/vendor/plugins/backgroundrb/server/lib/backgroundrb_server.rb:215:in `run'' /usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.3/lib/daemons/application.rb:186:in `start_proc'' /usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.3/lib/daemons/daemonize.rb:208:in `call_as_daemon'' /usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.3/lib/daemons/appl...
2007 Jun 06
2
struggling with stability
Greetings all, Unit tests are passing, but I''m having mucho problems getting brb to run without exceptions for more than 6 hours. I''m seeing a mixture of the following 2 exceptions: 20070605-11:26:56 (21497) failed to find slave socket - (RuntimeError) 20070605-11:26:56 (21497) /usr/local/lib/ruby/gems/1.8/gems/ slave-1.2.1/lib/slave.rb:435:in `initialize''
2007 May 14
0
(no subject)
...'' /var/www/html/the-soup/vendor/plugins/backgroundrb/server/lib/ backgroundrb/scheduler.rb:97:in `run'' /var/www/html/the-soup/vendor/plugins/backgroundrb/server/lib/ backgroundrb/middleman.rb:106:in `setup'' /var/www/html/the-soup/vendor/plugins/backgroundrb/server/lib/ backgroundrb_server.rb:306:in `run'' /usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons/ application.rb:187:in `start_proc'' /usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons/ daemonize.rb:192:in `call_as_daemon'' /usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons/...
2007 Feb 22
0
Log rotation
What are people doing about rotating backgroundrb.log and backgroundrb_server.log? It looks like the Logger creation is hardcoded in worker.rb and backgroundrb_server.rb, so there''s no opportunity to pass my own rotation arguments to Logger.new. Best Regards, Danny
2007 Jan 24
1
failed to find slave socket
I''m having a strange issue. The following error is printed to the backgroundrb_server.log file: failed to find slave socket </tmp/backgroundrb.803/ verification_email_delivery_worker_fafbd1e29be8b802aef4a4ffc1a35754_0_0. 126366358217085> - (RuntimeError) 20070124-17:41:29 (805) /usr/local/lib/ruby/gems/1.8/gems/slave-1.2.0/ lib/slave.rb:462:in `initialize'' 2007012...
2007 Dec 05
1
RC2 troubles
Hi I can''t get backgroundrb working. I get the following error in backgroundrb_server.log: backgroundrb/framework/core.rb:117:in `bind'': Address family not supported by protocol family - bind(2) (Errno::EAFNOSUPPORT) Seems to be a problem with my Mac (Leopard) and my ruby install (1.8.6 that came with the OS) according to some emails I found with google. Did anyone...
2006 Dec 01
0
Worker won''t start work
...un'' /usr/local/lib/ruby/1.8/drb/drb.rb:1424:in `run'' /usr/local/lib/ruby/1.8/drb/drb.rb:1344:in `initialize'' /usr/local/lib/ruby/1.8/drb/drb.rb:1624:in `start_service'' /home/chris/projects/call_manager/trunk/call_manager_app/vendor/plugins/backgroundrb/server/lib/backgroundrb_server.rb:315:in `run'' /usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.3/lib/daemons/application.rb:186:in `start_proc'' /usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.3/lib/daemons/application.rb:196:in `start_proc'' /usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.3/lib/daemons/app...