or just make an init script. IF this is linux, there's examples in the ccrb source (look in daemon dir)
On Fri, Feb 20, 2009 at 4:56 PM, Alex Soto <[email protected]> wrote: > This probably doesn't solve the root of the problem, but you could try to > run it using nohup. > > On Feb 20, 2009, at 3:34 PM, tim walker wrote: > > Hi Guys, > > Kind of a weird problem going on. Hope someone has a thought on what might > be going on. > > 1) I am starting cruisecontrol from ./cruisecontrolrb/cruise start –d (so it > runs as a daemon) from an SSH connection to the server running cruise. > Everything works fine. > > 2) When I log out of my SSH connection, I get the following error on the > next build. > > ruby -e require 'rubygems' rescue nil; require 'rake'; load > '/Users/deploy/cruisecontrolrb/tasks/cc_build.rake'; ARGV << '--nosearch' << > 'cc:build'; Rake.application.run; ARGV.clear > /Library/Ruby/Site/1.8/rubygems.rb:723:in `getpwuid': can't find user for > 503 (ArgumentError) > from /Library/Ruby/Site/1.8/rubygems.rb:723:in `set_paths' > from /Library/Ruby/Site/1.8/rubygems.rb:719:in `each' > from /Library/Ruby/Site/1.8/rubygems.rb:719:in `set_paths' > from /Library/Ruby/Site/1.8/rubygems.rb:526:in `path' from > /Library/Ruby/Site/1.8/rubygems/source_index.rb:66:in > `installed_spec_directories' > from /Library/Ruby/Site/1.8/rubygems/source_index.rb:56:in > `from_installed_gems' > from /Library/Ruby/Site/1.8/rubygems.rb:736:in `source_index' > from /Library/Ruby/Site/1.8/rubygems/gem_path_searcher.rb:86:in > `init_gemspecs' > from /Library/Ruby/Site/1.8/rubygems/gem_path_searcher.rb:21:in > `initialize' > from /Library/Ruby/Site/1.8/rubygems.rb:684:in `new' > from /Library/Ruby/Site/1.8/rubygems.rb:684:in `searcher' > from /Library/Ruby/Site/1.8/rubygems.rb:683:in `synchronize' > from /Library/Ruby/Site/1.8/rubygems.rb:683:in `searcher' > from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:34:in `require' > from -e:1 > > Any ideas? Seems like it's looking for a local user for the rake > gems:install or something but there isn't one. Oddly this has been working > for quite sometime and this just started to manifest for a reason yet > unknown. > > Thanks very much in advance for any help or clues. > > Sincerely, > > Tim > _______________________________________________ > Cruisecontrolrb-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > > _______________________________________________ > Cruisecontrolrb-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > _______________________________________________ Cruisecontrolrb-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
