Devguru
Failed to start searchd daemon with empty logfile.

One gotcha while starting sphinx in fresh project.


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$