Answer the question
In order to leave comments, you need to log in
Why is sphinx service running on windows throwing error 1053?
Hello! On windows I'm trying to install sphinx for further work with it in conjunction with open server , but things don't go further than setting up and creating indexes :(
What was done:
1. Downloaded sphinx for windows and unpacked it into the C:/Sphinx
folder
2. Created config C :/Sphinx/etc/sphinx.conf with this content
#
# Minimal Sphinx configuration sample (clean, simple, functional)
#
source src1
{
type = mysql
sql_host = 127.0.0.1
sql_user = root
sql_pass =
sql_db = testsphinx
sql_port = 3306 # optional, default is 3306
sql_query = SELECT `id`, `title`, `description` FROM `testtable`
# sql_attr_uint = group_id
# sql_attr_timestamp = date_added
}
index test1
{
source = src1
path = C:/Sphinx/data/test1
}
# index testrt
# {
# type = rt
# rt_mem_limit = 128M
#
# path = /var/data/testrt
#
# rt_field = title
# rt_field = content
# rt_attr_uint = gid
# }
indexer
{
mem_limit = 128M
}
searchd
{
listen = 127.0.0.1:9312
listen = 127.0.0.1:9306:mysql41
log = C:/Sphinx/data/log/searchd.log
query_log = C:/Sphinx/data/log/query.log
read_timeout = 5
max_children = 30
pid_file = C:/Sphinx/data/log/searchd.pid
seamless_rotate = 1
preopen_indexes = 1
unlink_old = 1
workers = threads # for RT to work
binlog_path = C:/Sphinx/data/data
}
Answer the question
In order to leave comments, you need to log in
the fact that the paths in the Windows FS in the sphinx config should be specified through a forward slash, and not through a backslash - is this intended?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question