Thinking sphinx 3 and sphinx 2.1.1-beta not start -


i install thinking sphinx 3 on rails 3 app , new sphinx 2.1.1-beta, before have thinking sphinx 2 , sphinx 2.1.1-beta, , work fine add port: 3312 in sphinx.yml

but when add port: 3312 in thinking_sphinx.yml result

rake ts:start  failed start searchd daemon. check myapp/log/development.searchd.log.  failed start searchd. check log files more information. 

development.searchd.log.

[wed may 15 12:17:34.010 2013] [ 2480] binlog: replaying log /myapp/tmp/binlog/development/binlog.001  [wed may 15 12:17:34.010 2013] [ 2480] binlog: replay stats: 0 rows in 0 commits; 0 updates; 0 indexes  [wed may 15 12:17:34.010 2013] [ 2480] binlog: finished replaying /myapp/tmp/binlog/development/binlog.001; 0.0 mb in 0.000 sec  [wed may 15 12:17:34.011 2013] [ 2480] binlog: finished replaying total 10 in 0.001 sec  [wed may 15 12:17:34.012 2013] [ 2480] fatal: listen() failed: address in use  [wed may 15 12:17:34.455 2013] [ 2480] shutdown complete  [wed may 15 12:17:34.469 2013] [ 2479] child process 2480 has been finished, exit code   1. watchdog finishes also. bye! 

and wheh delete port: 3312 in thinking_sphinx.yml get

development.searchd.log.

[wed may 15 12:23:44.040 2013] [ 2527] child process 2528 has been forked  [wed may 15 12:23:44.389 2013] [ 2528] listening on 127.0.0.1:9306  [wed may 15 12:23:44.390 2013] [ 2528] bind() failed on 127.0.0.1, retrying...  [wed may 15 12:24:20.446 2013] [ 2528] fatal: bind() failed on 127.0.0.1: address in use  [wed may 15 12:24:20.478 2013] [ 2527] child process 2528 has been finished, exit code 1. watchdog finishes also. bye! 

the port setting mysql41 (as ts v3 uses sphinx's mysql41 protocol instead of old binary protocol). change that, make sure don't have old searchd processes running, , should take care of things.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -