Thank you, Sazima. Using grep to find the ferret process was a great idea. It produced the following:
[castiglia]$ ps -ef | grep ferret parike 17763 6224 0 12:28 pts/3 00:00:00 grep ferret Unfortunately, acts_as_ferret/ferret has become only one of my worries as Dreamhost and Passenger are driving me nuts. My Lovd-based app has been running fine, but today it refused to start because of a premature end of script headers error. But the main issue is something weird is going on with Passenger. I have 20 users of my app but Profile.all in Rails console returns an empty array. This is obviously not correct behavior. Also the RAILS_ENV env variable returns "development", when the default for Phusion/Passenger is "production" and my app only writes to log/production.log and the production mysql database. [castiglia]$ script/console Loading development environment (Rails 2.1.1) >> Profile.all => [] >> RAILS_ENV => "development" Has anyone experienced any of these types of issues before? Any thoughts/comments/advice are greatly appreciated. I have to other Rails apps running without problems on Dreamhost, but this new one is making me crazy. Thanks again, Sazima, and thanks in advance to anyone else who can offer some advice. Markus On Nov 8, 2:57 pm, Sazima <[EMAIL PROTECTED]> wrote: > Hi, > > I included the following command in my SMF startup scripts: > > ruby ./script/ferret_server -e production start > > What you're seeing after the command is normal output due to running > the test suite. Try ps to see if it is really running (command below > for Solaris): > > > ps -ef | grep ferret > > root 7337 6934 0 19:49:18 pts/11 0:00 grep ferret > root 1177 24754 0 Nov 05 ? 3:31 ruby ./script/ > ferret_server -e production start > > Cheers, Sazima > > On Nov 7, 2:36 pm, marike <[EMAIL PROTECTED]> wrote: > > > For anyone running lovd-by-less in production, how are you starting > > the ferret server? I know the correct way to run ferret is as a Drb > > server but I still can't find an easy way to do so. I am > > unfortunately on Dreamhost (a shared server) under Passenger and the > > ferret server seems to be running (the Admin page is showing all > > users), but I honestly don't know how I started it. With this line in > > config/environment.rb, > > > RAILS_ENV=script/ferret_server -e production start > > > mod_rails/Passenger refuses to start. Trying to start aaf/ferret > > locally, or via SSH in my domain/RAILS_ROOT I get this kind of thing: > > > Mac:jazinc marike$ ./script/ferret_server -e production start > > starting ferret server... > > Loaded suite ./script/ferret_server > > Started > > > Finished in 0.000371 seconds. > > > 0 tests, 0 assertions, 0 failures, 0 errors > > > I've tried shell scripts, and have tried the acts_as_ferret plugin, > > and am still confident that ferret is starting correctly. I would > > appreciate any advice and specifics on how your guys/gals are using > > ferret_server start | stop script. I am at my wits end. Thank you in > > advance. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lovd by Less" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/lovdbyless?hl=en Who loves ya baby? -~----------~----~----~----~------~----~------~--~---
