make postinstall does not run indexer --all

Issue #494 resolved
Stefan Lorenz created an issue

Hi i just compiled piler on a Univention Corporate Server, which is basically a Debian 7 with some Samba4 Enhancements.

Everything went fine but

sh init.d/rc.searchd start

failed with

starting searchd . . .
Sphinx 2.2.7-id64-release (r4883)
Copyright (c) 2001-2015, Andrew Aksyonoff
Copyright (c) 2008-2015, Sphinx Technologies Inc (http://sphinxsearch.com)

using config file '/etc/sphinxsearch/sphinx.conf'...
WARNING: key 'charset_type' was permanently removed from Sphinx configuration. Refer to documentation for details.
WARNING: key 'enable_star' was permanently removed from Sphinx configuration. Refer to documentation for details.
WARNING: key 'charset_type' was permanently removed from Sphinx configuration. Refer to documentation for details.
WARNING: key 'enable_star' was permanently removed from Sphinx configuration. Refer to documentation for details.
WARNING: key 'charset_type' was permanently removed from Sphinx configuration. Refer to documentation for details.
WARNING: 12 more warnings skipped.
listening on 127.0.0.1:9312
listening on 127.0.0.1:9306
precaching index 'main1'
WARNING: index 'main1': preload: failed to open /var/piler/sphinx/main1.sph: No such file or directory; NOT SERVING
precaching index 'main2'
WARNING: index 'main2': preload: failed to open /var/piler/sphinx/main2.sph: No such file or directory; NOT SERVING
precaching index 'main3'
WARNING: index 'main3': preload: failed to open /var/piler/sphinx/main3.sph: No such file or directory; NOT SERVING
precaching index 'main4'
WARNING: index 'main4': preload: failed to open /var/piler/sphinx/main4.sph: No such file or directory; NOT SERVING
precaching index 'dailydelta1'
WARNING: index 'dailydelta1': preload: failed to open /var/piler/sphinx/dailydelta1.sph: No such file or directory; NOT SERVING
precaching index 'delta1'
WARNING: index 'delta1': preload: failed to open /var/piler/sphinx/delta1.sph: No such file or directory; NOT SERVING
precaching index 'tag1'
WARNING: index 'tag1': preload: failed to open /var/piler/sphinx/tag1.sph: No such file or directory; NOT SERVING
precaching index 'note1'
WARNING: index 'note1': preload: failed to open /var/piler/sphinx/note1.sph: No such file or directory; NOT SERVING
FATAL: no valid indexes to serve

a manual run of

su - piler
indexer -all 

fixed the issue

Comments (3)

  1. Janos SUTO repo owner

    Well, it should. In the execute_post_install_tasks() function. Anyway thanks for bringing it to my attention, I'll try it on a clean install.

  2. Log in to comment