Note that there are some explanatory texts on larger screens.

plurals
  1. POSphinx Error when running searchd on windows (Failed to parse config file )
    primarykey
    data
    text
    <p>I am installing sphinx for my database. i am following instructions from this article <a href="http://www.infotales.com/installing-sphinx-searc-on-windows/" rel="nofollow">http://www.infotales.com/installing-sphinx-searc-on-windows/</a> , and this video <a href="http://www.youtube.com/watch?v=8mDDEStuBes" rel="nofollow">http://www.youtube.com/watch?v=8mDDEStuBes</a> ,</p> <p>Which look straight forward and simple. But i have been running into a problem. I am using the minimal config file, and have set up everything. When i run searchd --config c:/sphinx/bin/sphinx.conf, i get an error " failed to parse config file ", when i just run searchd in cmd , i get "no readable config file ". I don't know what to do, i have been looking around for a similar problem but usually people have this " failed to parse config file error " with other problems. Mine doesnt have any additional errors.</p> <p>Any ideas? Thanks. </p> <p>here is my minimal config file (called it sphinx.conf ):</p> <pre><code>source users_info { type = mysql sql_host = localhost sql_user = root sql_pass = root123 sql_db = users sql_port = 3306 sql_query = \ SELECT \ id, fullname,username FROM \ users_info; sql_query_info = SELECT * FROM users WHERE id=$id } index users_info { source = users_info path = C:/sphinx/data/users_info docinfo = extern charset_type = utf-8 } indexer { mem_limit = 32M } searchd { # listen = 9312 listen = 9306:mysql41 log = C:/sphinx/log/searchd.log query_log = C:/sphinx/log/query.log read_timeout = 5 max_children = 30 pid_file = C:/sphinx/log/searchd.pid max_matches = 1000 seamless_rotate = 1 preopen_indexes = 1 unlink_old = 1 workers = threads # for RT to work binlog_path = C:/sphinx/data } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload