N
N
NamnaR2018-11-11 07:39:18
Sphinx
NamnaR, 2018-11-11 07:39:18

Why is sphinx 3.0.3 not installed?

I had sphinx 2.2.9 on ubuntu 16, as a result of which the tables in Bitrix were not filled.
5be7b2edede36832166100.jpeg
which is very bad, even tables b_search_content_stem, b_search_stem, b_search_content_text were not filled.
deleted it like this 2.2.9
apt-get remove sphinx
Decided to install 3.0.3
1. downloaded the archive from the sphinxsearch site
2. unpacked the archive
3. I look at the /bin/ folder of this archive and copy it to /usr/bin/
4.indexer --all --rotate -c / etc/sphinxsearch/sphinx.conf
5. searchd -c /etc/sphinxsearch/sphinx.conf gives
an error:

WARNING: both 'sphinxdata' and config file '/home/user/sphinxdata/sphinx.conf' exist; using 'sphinxdata' folder
no config file, using 'sphinxdata' folder...
listening on all interfaces, port=9312
listening on all interfaces, port=9306
WARNING: No extra index definitions found in data folder

does not work:
searchd --stop # terminate the daemon in a civilized manner, the result is not important
killall searchd # kill everything civilly not completed, the result is not important
rm -f ~/sphinxdata/sphinx.state* # interfere with sphinx.state and sphinx.state files .new
searchd -c /etc/sphinxsearch/sphinx.conf
same errors.
then I change
the config, added it to ~/sphinxdata/ , corrected the paths in it, and do it again...
searchd --stop # terminate the daemon in a civilized manner, the result is not important
killall searchd # kill everything civilly not completed, the result is not important
rm -f ~/ sphinxdata/sphinx.state* # interfere with sphinx.state and sphinx.state.new
searchd -c ~/sphinxdata/sphinx.conf
and it is strange that the same thing happens, two processes are launched for one folder .... Eh ....
user  2551  0.0  0.0  24008   320 ?        S    07:08   0:00 /usr/bin/searchd -c /home/taskgood/sphinxdata/sphinx.conf
user  2552  1.9  0.0  91748  3020 ?        Sl   07:08   0:20 /usr/bin/searchd -c /home/taskgood/sphinxdata/sphinx.conf
user  3250  0.0  0.0  21316  1084 pts/1    S+   07:25   0:00 grep --color=auto searchd

I even deleted all the files of the previous version - it didn’t help (those that are described in the config for sphinxsearch2.2.9 along the etc path)
and did:
aptitude remove sphinx
    aptitude purge sphinx

still this error:
WARNING: both 'sphinxdata' and config file '/home/user/sphinxdata/sphinx.conf' exist; using 'sphinxdata' folder
no config file, using 'sphinxdata' folder...
listening on all interfaces, port=9312
listening on all interfaces, port=9306
WARNING: No extra index definitions found in data folder

deleted folders and files...
done
aptitude remove sphinx
aptitude purge sphinx

I repeated it again from the beginning, the same error ...
rebooted several times.
Help people, what this is connected with, I have no idea ...

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dimonchik, 2018-11-11
@dimonchik2013

sphinsk is bad for its elitism, you need to be in the subject with them in order to understand what the developers have coded, but forgot to universalize / document
it will be easier to write to the forum
or read
something to change
folder name for example

P
Pavel, 2018-11-11
@PavelMonro


On the version above, Bitrix will hardly start, I tried for a long time, I managed to configure it only for 2.2.9 , now everything works fine, but it took 2-3 days will not work, most likely because of this you have an error that the config is not read due to old data

P
Puma Thailand, 2018-11-11
@opium

firstly, Bitrix does not work with the third version, and secondly, these tables are filled by Bitrix and not by the Sphinx, and it has nothing to do with it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question