Truemag

  • Categories
    • Tips And Tricks
    • Internet
    • PHP
    • Javascript
    • CSharp
    • SQL Server
    • Linux
  • Lastest Videos
  • Our Demos
  • About
  • Contact
  • Home
  • Write With Us
  • Job Request
Home Problem Issue Error Sphinx Windows could not start the SphinxSearch service on Local Computer

Sphinx Windows could not start the SphinxSearch service on Local Computer

After installed successfully SphinxSearch service, the service will now be listed in the Services panel within the Management Console, available from Administrative Tools. If you right click SphinxSearch and click Start, you may get the error message below:

---------------------------
Services
---------------------------
Windows could not start the SphinxSearch service on Local Computer.
 
Error 1067: The process terminated unexpectedly.
 
---------------------------
OK   
---------------------------

--------------------------- Services --------------------------- Windows could not start the SphinxSearch service on Local Computer. Error 1067: The process terminated unexpectedly. --------------------------- OK ---------------------------

To start this SphinxSearch service, you will need to configure it and build your indexes with indexer.

d:\dev\sphinx\bin>indexer -c D:\dev\sphinx\sphinx.conf test1

d:\dev\sphinx\bin>indexer -c D:\dev\sphinx\sphinx.conf test1

My example sphinx.conf content

source src1
{
	type					= mysql
 
	sql_host				= localhost
	sql_user				= root
	sql_pass				=
	sql_db				= test
	sql_port				= 3306	# optional, default is 3306
 
	sql_query				= \
		SELECT id, group_id, UNIX_TIMESTAMP(date_added) AS date_added, title, content \
		FROM documents
 
	sql_attr_uint			= group_id
	sql_attr_timestamp		= date_added
 
	sql_query_info			= SELECT * FROM documents WHERE id=$id
}
 
 
index test1
{
	source				= src1
	path					= D:/dev/sphinx/data/test1
	docinfo				= extern
	charset_type			= sbcs
}
 
 
indexer
{
	mem_limit				= 32M
}
 
 
searchd
{
	port					= 9312
	log					= D:/dev/sphinx/log/searchd.log
	query_log				= D:/dev/sphinx/log/query.log
	read_timeout			= 5
	max_children			= 30
	pid_file				= D:/dev/sphinx/log/searchd.pid
	max_matches			= 1000
	seamless_rotate			= 1
	preopen_indexes			= 0
	unlink_old				= 1
}

source src1 { type = mysql sql_host = localhost sql_user = root sql_pass = sql_db = test sql_port = 3306 # optional, default is 3306 sql_query = \ SELECT id, group_id, UNIX_TIMESTAMP(date_added) AS date_added, title, content \ FROM documents sql_attr_uint = group_id sql_attr_timestamp = date_added sql_query_info = SELECT * FROM documents WHERE id=$id } index test1 { source = src1 path = D:/dev/sphinx/data/test1 docinfo = extern charset_type = sbcs } indexer { mem_limit = 32M } searchd { port = 9312 log = D:/dev/sphinx/log/searchd.log query_log = D:/dev/sphinx/log/query.log read_timeout = 5 max_children = 30 pid_file = D:/dev/sphinx/log/searchd.pid max_matches = 1000 seamless_rotate = 1 preopen_indexes = 0 unlink_old = 1 }

Note:
+ change mysql login detail as well as the file location to your environment
+ create folder data and log in the sphinx directory, if they aren’t existed.

Mar 4, 2011Hoan Huynh
Uninstall Windows ServiceChanging hosts file in Windows
You Might Also Like:
  • sphinx install error access is denied
  • Uninstall Windows Service
  • PHP The program can’t start because dll is missing from your computer. Try reinstalling the program to fix this problem.
  • How To Check And Start An Application If It Is Not Running In Windows
  • Application pool ‘abc’ suffered a fatal communication error with the Windows Process Activation Service
  • MacBook Remote Desktop To A Windows Based Computer
  • How To Check A Port Is Open Or Blocked In Windows
  • PHP Call Web Service WSDL Example
  • Export/Import Data From Local Database To Remote Database With MS SQL Server 2008
  • All Google Service APIs
Hoan Huynh

Hoan Huynh is the founder and head of 4rapiddev.com. Reach him at [email protected]

10 years ago Problem Issue Errorindexer, sphinx, SphinxSearch503
0
GooglePlus
0
Facebook
0
Twitter
0
Digg
0
Delicious
0
Stumbleupon
0
Linkedin
0
Pinterest
Most Viewed
PHP Download Image Or File From URL
21,956 views
Notepad Plus Plus Compare Plugin
How To Install Compare Text Plugin In Notepad Plus Plus
19,804 views
Microsoft SQL Server 2008 Attach Remove Log
Delete, Shrink, Eliminate Transaction Log .LDF File
15,628 views
JQuery Allow only numeric characters or only alphabet characters in textbox
13,136 views
C# Read Json From URL And Parse/Deserialize Json
9,594 views
4 Rapid Development is a central page that is targeted at newbie and professional programmers, database administrators, system admin, web masters and bloggers.
Recent Posts
  • Essay Writers
  • College Essay Writers – The Way to Earn Your Essay in Demand
  • Buy Research Papers – How to See Them at a Bargain Price
  • How to Write a Research Paper For Sale
  • Essay Writing – Some Useful Suggestions for Writing Urgent Essays
Categories
  • CSharp (45)
  • Facebook Graph API (19)
  • Google API (7)
  • Internet (87)
  • iPhone XCode (8)
  • Javascript (35)
  • Linux (28)
  • MySQL (16)
  • PHP (84)
  • Problem Issue Error (29)
  • Resources (32)
  • SQL Server (25)
  • Timeline (5)
  • Tips And Tricks (141)
  • Uncategorized (69)
Recommended
  • Custom Software Development Company
  • Online Useful Tools
  • Premium Themes
  • VPS
2014 © 4 Rapid Development