D
D
Donald_Duck2018-03-30 15:44:10
Sphinx
Donald_Duck, 2018-03-30 15:44:10

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
}

3. Added a service with this command C:\Sphinx\bin\searchd --install --config C:\Sphinx\etc\sphinx.conf --servicename SphinxSearch
4. Successfully created an index with this command C:\Sphinx\bin\indexer - -all --config C:\Sphinx\etc\sphinx.conf
And then, when I try to start it, I get the following message:
Failed to start the SphinxSearch service on Local Computer.
Error 1053: The service did not respond to the request in a timely manner.
help me please

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
vreitech, 2018-03-30
@fzfx

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?

P
Puma Thailand, 2018-03-30
@opium

Damn hands then try to run

D
Dimonchik, 2018-03-31
@dimonchik2013

I recommend to upgrade to 3,0,3 but without guarantees, with guarantees - use the second branch

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question