I  am trying to install sphinx on Windows 7 to be used with RoR 3.

I Installed Sphinx 2.0.1, By extracting it to the path c:\sphinx and
installed it by c:\sphinx\bin>searchd  --install      ( Tried with and
without default config file, sphinx.conf that comes with sphinx download )

 and thinking-sphinx version 2.0.5 using ruby Gem

I did make the changes in the model specifying Indexes and Attrributes.

I also included sphinx.yml file in the config folder , with following
configurations
development:
  port: 9312
  bin_path: "c:/sphinx/bin"


When I run rake ts:index, -- It completes  the task with the following
output:

using config file 'C:/Users/Wox/My Documents/Aptana Studio 3
Workspace/nirty17/config/development.sphinx.conf'...
indexing index 'ad_core'...
collected 8 docs, 0.0 MB
sorted 0.0 Mhits, 100.0% done
total 8 docs, 90 bytes
total 0.037 sec, 2373 bytes/sec, 210.98 docs/sec
distributed index 'ad' can not be directly indexed; skipping.
total 5 reads, 0.000 sec, 0.1 kb/call avg, 0.0 msec/call avg
total 10 writes, 0.000 sec, 0.1 kb/call avg, 0.0 msec/call avg

but when I try to start by rake ts:start , the console hangs and stops
without giving any errors or outputs.

and Sometimes when I tried It actually creates three Log files in the RoR
project folder with the names
binlog.001
binlog.lock
binlog.meta
with weird characters in it . sometimes the binlog.lock shows " The portion
of the file may be locked by some other process" and some times it does
not.

And most times these files are not created but the console just hangs up
with out giving any message when I try to start.

I also tried starting the sphinx in services.msc manually, but it gives the
"error :1607 termination expected unexpectedly"

I have no Idea what the error might be and any suggestions and help is
greatly appreciated.

Thank you,

Note:
I tried with different versions of both Sphinx, and thinking sphinx, and on
many computers with windows 7 on it. I also tried changing the file
permissions of the installed Sphinx folder.
I had a problem earlier with indexing which said bin_path not found and I
fixed it by setting up sphinx.yml file in the config folder.

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