Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"searchd" is showing "FATAL: bind() failed on 0.0.0.0: Address already in use"

When I try the command searchd, it shows:

using config file '/usr/local/etc/sphinx.conf'...
WARNING: compat_sphinxql_magics=1 is deprecated; please update your application and config
listening on all interfaces, port=9312
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

and when I netstat -nlp, there already is searchd at that port.

  • Conflict?
  • What should I do?
like image 711
夏期劇場 Avatar asked Oct 30 '25 10:10

夏期劇場


1 Answers

and when i ~# netstat -nlp, there already is "searchd" at that port.

So if you already have searchd running, why are you trying to start another one?

If you really do want to run two instances (why?), then you should arrange for them to be on different ports - each instance will need a seperate config file.

like image 118
barryhunter Avatar answered Nov 02 '25 23:11

barryhunter



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!