1、PC1(192.168.5.155): web app(ts-delay-delta + ts) run rake ts:configure
OK
PC2(192.168.5.133): indexer and search (ts-delay-delta + ts + delayed
worker + sphinx)
2、PC1 thinking_sphinx.yml
development:
mem_limit: 1024M
address: "192.168.5.133"
mysql41: 3306
port: 9302
PC2 thinking_sphinx.yml
development:
mem_limit: 1024M
mysql41: 3306
port: 9302
3、on PC2
rake jobs:work
[Worker(host:hlh-virtual-machine pid:3168)] Starting job worker
then rake ts:index ok
then rake ts:start,but failed, the output is:
(in /home/git/labhub)
Failed to start searchd daemon. Check
/home/git/labhub/log/development.searchd.log.
Failed to start searchd. Check the log files for more information.
and in /home/git/labhub/log/development.searchd.log, the words are:
[Wed Aug 21 10:55:10.082 2013] [ 3812] Child process 3813 has been forked
[Wed Aug 21 10:55:10.082 2013] [ 3813] listening on 192.168.5.155:3306
[Wed Aug 21 10:55:10.082 2013] [ 3813] bind() failed on 192.168.5.155,
retrying...
[Wed Aug 21 10:55:13.086 2013] [ 3813] bind() failed on 192.168.5.155,
retrying...
[Wed Aug 21 10:55:16.088 2013] [ 3813] bind() failed on 192.168.5.155,
retrying...
[Wed Aug 21 10:55:19.091 2013] [ 3813] bind() failed on 192.168.5.155,
retrying...
[Wed Aug 21 10:55:22.091 2013] [ 3813] bind() failed on 192.168.5.155,
retrying...
[Wed Aug 21 10:55:25.094 2013] [ 3813] bind() failed on 192.168.5.155,
retrying...
[Wed Aug 21 10:55:28.099 2013] [ 3813] bind() failed on 192.168.5.155,
retrying...
[Wed Aug 21 10:55:31.103 2013] [ 3813] bind() failed on 192.168.5.155,
retrying...
[Wed Aug 21 10:55:34.106 2013] [ 3813] bind() failed on 192.168.5.155,
retrying...
[Wed Aug 21 10:55:37.110 2013] [ 3813] bind() failed on 192.168.5.155,
retrying...
[Wed Aug 21 10:55:40.113 2013] [ 3813] bind() failed on 192.168.5.155,
retrying...
[Wed Aug 21 10:55:43.117 2013] [ 3813] bind() failed on 192.168.5.155,
retrying...
[Wed Aug 21 10:55:46.119 2013] [ 3813] FATAL: bind() failed on
192.168.5.155: Cannot assign requested address
[Wed Aug 21 10:55:46.120 2013] [ 3812] Child process 3813 has been
finished, exit code 1. Watchdog finishes also. Good bye!
I want to know why? Thanks!
--
You received this message because you are subscribed to the Google Groups
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/groups/opt_out.