Hi all,

My server (running Mac OS X 10.4, using Apache with Phusion Passenger)
lost power and upon rebooting, I can't get Sphinx to start. Upon
deploying a command is run that gives the following error:

using config file '/private/var/www/phoenix/staging/releases/
20090815235330/config/staging.sphinx.conf'...
FATAL: failed to create pid file '/private/var/www/sphinx/staging/
current/log/searchd.staging.pid': No such file or directory
rake aborted!
The following command failed:
  /usr/local/bin/searchd --pidfile --config "/private/var/www/phoenix/
staging/releases/20090815235330/config/staging.sphinx.conf"

This could be caused by a PATH issue in the environment of cron/
passenger/etc. Your current PATH:
  /opt/local/bin:/usr/local/apache2/bin:/usr/local/bin:bin:/sbin:/usr/
bin:/usr/sbin:/usr/bin:/bin:/usr/sbin:/sbin
You can set the path to your indexer and searchd binaries using the
bin_path property in config/sphinx.yml:
  production:
    bin_path: '/usr/local/bin'

Now I've tried to run that command ("/usr/local/bin/searchd... etc.")
directly and I get the same error. Running sudo rake ts:start
RAILS_ENV=staging (or RAILS_ENV=production from the production
directory, for that matter) gives the same error message.

I have already set bin_path for both my production and staging
environments and as you can see '/usr/local/bin' appears in the PATH
variable already.

I'm fairly clueless about what I'm doing wrong, so I would appreciate
if you could help me figure out what went wrong.

- Peter
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to