root@server:~# sudo service manticore stop
root@server:~# sudo searchd --stop
Manticore 6.3.6 593045790@24080214 (columnar 2.3.0 88a01c3@24052206) (secondary 2.3.0 88a01c3@24052206) (knn 2.3.0 88a01c3@24052206)
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
[35:02.408] [21904] using config file '/etc/manticoresearch/manticore.conf' (766 chars)...
[35:02.409] [21904] FATAL: stop: pid file '/var/run/manticore/searchd.pid' does not exist or is not readable
root@server:~#
Первая команда без ошибок, вторая с ошибками
Содержимое manticore.conf
source sourcename {
type = mysql
sql_host = localhost
sql_user = user
sql_pass = pass
sql_db = baza
sql_query = SELECT id, head, body, url from pages
}
index indexname {
type = plain
source = sourcename
path = /var/lib/manticore/indexname
morphology = stem_enru
min_infix_len = 3
stored_fields = head, body
stored_only_fields = url
# wordforms = /etc/manticoresearch/wordforms/indexname.wfs
}
searchd {
listen = 127.0.0.1:9312
listen = 127.0.0.1:9306:mysql
listen = 127.0.0.1:9308:http
log = /var/log/manticore/searchd.log
query_log = /var/log/manticore/query.log
pid_file = /var/run/manticore/searchd.pid
data_dir = /var/lib/manticore
}
Что не так делаю? Что при остановке модуля manticore, ошибки вылазят. Сейчас по инструкции выполняю
После подготовки базы и конфига (
*.conf
), отключаем на всякий случай все демоны поиска:sudo service manticore stop
sudo searchd --stop
Одни ошибки которых не понимаю…
OC: Ubuntu