Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Sphinx installed on windows xp system. A I use Thinking Sphinx plug-in within my rails application.

I can't rebuild index with Thinking Sphinx rake task after application server starting up even if I stop it:

Stopped search daemon (pid 4492).
... bla bla bla ...
total 3 reads, 0.000 sec, 1.3 kb/call avg, 0.0 msec/call avg
total 9 writes, 0.000 sec, 1.2 kb/call avg, 0.0 msec/call avg
WARNING: could not open pipe (GetLastError()=2)
rake aborted!
searchd is already running.

If I reload system, I can rebuild index. What do you think about?

share|improve this question

Everything became o'k after I had reinstalled sphinx service with this command:

C:\worktools\sphinx\bin>searchd.exe --install --config "C:\worktools\sphinx\sphinx.conf"

NB: config path should be in quotes. And I didn't use --servicename option as I did it during my first installation.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.