Aha! Double checked things and yes you're right, it's a path issue. The rake ts:* commands can't find indexer and searchd unless their paths are specified directly. Just running the commands that rake ts:start and rake ts:index run seems to do the trick. ----- Ryan Bigg Freelancer http://frozenplague.net
On 15/12/2008, at 11:04 PM, Henrik Nyh wrote: > > Perhaps PATH issues? Also make sure you set RAILS_ENV when running the > commands, if necessary. > > On Mon, Dec 15, 2008 at 1:22 PM, Ryan Bigg <[email protected]> > wrote: >> >> I have a server that needs thinking sphinx to boot when the server is >> booted. I've set up the commands in /etc/rc.local to cd into the app >> directory and then run rake ts:config and then rake ts:start but it >> says searchd failed to load and tells me to look in the log file, >> which is empty. >> >> Running the same commands as root from the command line anywhere >> works >> perfectly. This is on Ubuntu 8.10. Am I doing it wrong? >> >> ----- >> Ryan Bigg >> >> >> >> >> >> >> >> >>> >> > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Thinking Sphinx" 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/thinking-sphinx?hl=en -~----------~----~----~----~------~----~------~--~---
