Skip to content
Advertisement

Command ‘indexer’ not found

I have reinstalled sphinixsearch on Ubuntu 18.04 after some messing with maticore search. But now I can not run the indexes:

# indexer --all

Command 'indexer' not found, but can be installed with:

apt install sphinxsearch

But after reinstalling, the command does not run work either.

However I can see that the service is runing:

# systemctl status   sphinxsearch.service
● sphinxsearch.service - LSB: Fast standalone full-text SQL search engine
   Loaded: loaded (/etc/init.d/sphinxsearch; generated)
   Active: active (exited) since Fri 2021-03-05 13:57:48 CET; 7min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 15615 ExecStop=/etc/init.d/sphinxsearch stop (code=exited, status=0/SUCCESS)
  Process: 15621 ExecStart=/etc/init.d/sphinxsearch start (code=exited, status=0/SUCCESS)

Mar 05 13:57:48 pc5 systemd[1]: Starting LSB: Fast standalone full-text SQL search engine...
Mar 05 13:57:48 pc5 systemd[1]: Started LSB: Fast standalone full-text SQL search engine.

Interestingly the first time that installed sphinix (before removing it and installing manticoresearch) I could use the indexer command and sphinix search fine then. So I think I have removed some binaries with apt --purge remove sphinixsearch or manticoresearch has done some damage. In either case I’m clueless and appreciate your hints.

Advertisement

Answer

Alright, I solved the problem by remving sphinix and then install it again:

apt remove  sphinxsearch
apt install sphinxsearch
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement