Skip to content

Instantly share code, notes, and snippets.

@netguru
Created November 2, 2010 15:24
Show Gist options
  • Save netguru/659767 to your computer and use it in GitHub Desktop.
Save netguru/659767 to your computer and use it in GitHub Desktop.
Trouble with starting sphinx in rails application
user@host:~/app/current$ rake ts:start
(in /home/webhr/app/current)
Failed to start searchd daemon. Check /home/user/app/current/log/searchd.log.
user@host:~/app/current$ searchd --pidfile --config config/sphinx/production.conf
Sphinx 0.9.9-release (r2117)
Copyright (c) 2001-2009, Andrew Aksyonoff
using config file 'config/sphinx/production.conf'...
FATAL: failed to create pid file 'tmp/pids/searchd.production.pid': No such file or directory
user@host:~/app/current$ mkdir tmp/pids
user@host:~/app/current$ rake ts:start
(in /home/webhr/app/current)
Started successfully (pid 5826).
user@host:~/app/current$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment