Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Actually i am trying to start my Kaltura service. The default "sphinx" came along together with Kaltura has crushed and then got uninstalled. Then i installed clean dedicated of "Sphinx" (source version from here) outside of Kaltura. I setup at /opt/sphinx/. Then when after setup .. i run:

~ # sudo /opt/kaltura/bin/sphinx/searchd

It is showing like:

Sphinx 2.0.2-dev (r2823)
Copyright (c) 2001-2011, Andrew Aksyonoff
Copyright (c) 2008-2011, Sphinx Technologies Inc (http://sphinxsearch.com)

using config file '/usr/local/etc/sphinx.conf'...
listening on all interfaces, port=9312
listening on all interfaces, port=9306
precaching index 'test1'
WARNING: index 'test1': preload: failed to open /var/data/test1.sph: No such file or directory; NOT SERVING
precaching index 'test1stemmed'
WARNING: index 'test1stemmed': preload: failed to open /var/data/test1stemmed.sph: No such file or directory; NOT SERVING
WARNING: multiple addresses found for 'localhost', using the first one (ip=127.0.0.1)
precaching index 'rt'
WARNING: last message repeated 1 times
WARNING: index 'rt': preload: failed to open /var/data/rt.lock: No such file or directory; NOT SERVING
precached 3 indexes in 0.000 sec

What are these means? I'm not really getting why.

share|improve this question

2 Answers 2

At first run sudo indexer --all It will create index files than run searchd

share|improve this answer

It says that no such file or directory for:

/var/data/test1.sph
/var/data/test1stemmed.sph
/var/data/rt.lock

And I presume that was defined in /usr/local/etc/sphinx.conf

Has something disappeared from where it used to exist? You said its a new install, perhaps the data directory was pointed to somewhere else and needs to be configured?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.