Running rake fs:rebuild I'm getting the dreaded bind() failed error. What information do you need to track it down? Below is the output of the rake task. Thanks!
Running rake fs:rebuild attached to terminal... up,
run.4187
I, [2014-03-05T19:18:46.368337 #2] INFO -- : Executing Action:
rebuild
Sphinx 2.0.6-id64-release (r3473)
Copyright (c) 2001-2012, Andrew Aksyonoff
Copyright (c) 2008-2012, Sphinx Technologies Inc (http://sphinxsearch.com)
using config file
'/mnt/local/flying-sphinx/dc9b5a88d9deed803/sphinx.conf'...
indexing index 'article_core'...
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.133 sec, 0 bytes/sec, 0.00 docs/sec
indexing index 'look_core'...
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.036 sec, 0 bytes/sec, 0.00 docs/sec
indexing index 'product_core'...
collected 4 docs, 0.0 MB
sorted 0.0 Mhits, 100.0% done
total 4 docs, 652 bytes
total 0.040 sec, 16195 bytes/sec, 99.35 docs/sec
indexing index 'video_core'...
collected 0 docs, 0.0 MB
total 0 docs, 0 bytes
total 0.033 sec, 0 bytes/sec, 0.00 docs/sec
skipping non-plain index 'article'...
skipping non-plain index 'look'...
skipping non-plain index 'product'...
skipping non-plain index 'video'...
total 6 reads, 0.000 sec, 3.8 kb/call avg, 0.0 msec/call avg
total 24 writes, 0.000 sec, 2.1 kb/call avg, 0.0 msec/call avg
[Wed Mar 5 19:19:00.366 2014] [17509] using config file
'/mnt/local/flying-sphinx/dc9b5a88d9deed803/sphinx.conf'... [Wed
Mar 5 19:19:00.462 2014] [17509] WARNING: compat_sphinxql_magics=1
is deprecated; please update your application and config Sphinx
2.0.6-id64-release (r3473)
Copyright (c) 2001-2012, Andrew Aksyonoff
Copyright (c) 2008-2012, Sphinx Technologies Inc (http://sphinxsearch.com)
listening on all interfaces, port=9332
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
FATAL: bind() failed on 0.0.0.0: Address already in use
Sphinx 2.0.6-id64-release (r3473)
Copyright (c) 2001-2012, Andrew Aksyonoff
Copyright (c) 2008-2012, Sphinx Technologies Inc (http://sphinxsearch.com)
Sphinx 2.0.6-id64-release (r3473)
Copyright (c) 2001-2012, Andrew Aksyonoff
Copyright (c) 2008-2012, Sphinx Technologies Inc (http://sphinxsearch.com)
I, [2014-03-05T19:19:38.790909 #2] INFO -- : Action Finished: rebuild
#1 Posted by rick on 05 Mar, 2014 10:13 PM
I ran rake fs:start instead of fs:rebuild, and it seems to have started successfully after the call to bind() failed a bunch of times. Search requests are running as expected. Should I consider the problem resolved? I'm nervous to try rebuild again.
Here is the terminal output:
Running
rake fs:startattached to terminal... up, run.4948I, [2014-03-05T22:07:53.142687 #2] INFO -- : Executing Action: start
[Wed Mar 5 22:07:54.551 2014] [18505] using config file '/mnt/local/flying-sphinx/dc9b5a88d9deed803/sphinx.conf'... [Wed Mar 5 22:07:54.552 2014] [18505] WARNING: compat_sphinxql_magics=1 is deprecated; please update your application and config Sphinx 2.0.6-id64-release (r3473)
Copyright (c) 2001-2012, Andrew Aksyonoff
Copyright (c) 2008-2012, Sphinx Technologies Inc (http://sphinxsearch.com)
listening on all interfaces, port=9332
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
bind() failed on 0.0.0.0, retrying...
Sphinx 2.0.6-id64-release (r3473)
Copyright (c) 2001-2012, Andrew Aksyonoff
Copyright (c) 2008-2012, Sphinx Technologies Inc (http://sphinxsearch.com)
precaching index 'article_core'
precaching index 'look_core'
precaching index 'product_core'
precaching index 'video_core'
Sphinx 2.0.6-id64-release (r3473)
Copyright (c) 2001-2012, Andrew Aksyonoff
Copyright (c) 2008-2012, Sphinx Technologies Inc (http://sphinxsearch.com)
I, [2014-03-05T22:08:27.296137 #2] INFO -- : Action Finished: start
#2 Posted by Pat Allan Support staff on 05 Mar, 2014 10:15 PM
Sorry for the delay, but just got this fixed, and your daemon's now ticking long as it should be.
Another customer's old daemon had gotten in the way after they upgraded. I thought I had this issue sorted, it's been a long time since it cropped up. I'll be reviewing things to ensure it won't return.
#3 Posted by rick on 05 Mar, 2014 10:18 PM
That's funny. When I tried a different command and it worked, I thought, "now was that me that fixed it, or did they just fix it on the backend and it was a total coincidence that it worked for me this time?" Turns out it was a coincidence.
Thanks very much for your help!
#4 Posted by Pat Allan Support staff on 05 Mar, 2014 10:22 PM
No worries - good to have it working :)
If you've any other questions or issues, do let me know!