WordPress.org

Forums

WordPress Sphinx Search Plugin
FATAL: no sources found in config file. (7 posts)

  1. marshmallowcreme
    Member
    Posted 3 years ago #

    I just went through the configuration wizard, and then it failed at indexing. I ran it from the command line, and this was the error:

    $ /usr/bin/indexer --config /srv/www/wp-content/blogs.dir/5/files/sphinx/sphinx.conf wp_blogdelta wp_blogmain wp_blogstats
    Sphinx 0.9.8.1-release (r1533)
    Copyright (c) 2001-2008, Andrew Aksyonoff
    
    using config file '/srv/www/wp-content/blogs.dir/5/files/sphinx/sphinx.conf'...
    FATAL: no sources found in config file.

    I confirmed that sphinx.conf was, in fact, created, and that it contained sources. I also tried giving it 777 permissions. Nothing works, and sphinx indexer continues to believe that sphinx.conf doesn't contain sources (but it does).

    Thanks for your help!!!

    http://wordpress.org/extend/plugins/wordpress-sphinx-plugin/

  2. Yaroslav Vorozhko
    Member
    Posted 3 years ago #

    Hello,
    could you please update Sphinx version to 0.9.9 and then try again.
    It is required version by plugin.

  3. marshmallowcreme
    Member
    Posted 3 years ago #

    Oops. I figured Ubuntu would install the latest version via aptitude, but it didn't.

    Now I've compiled and installed 0.9.9 from source and now get this error:

    $ /usr/local/bin/indexer --config /srv/www/wp-content/blogs.dir/5/files/sphinx/sphinx.conf wp_blogdelta wp_blogmain wp_blogstats
    Sphinx 0.9.9-release (r2117)
    Copyright (c) 2001-2009, Andrew Aksyonoff
    
    using config file '/srv/www/wp-content/blogs.dir/5/files/sphinx/sphinx.conf'...
    FATAL: no indexes found in config file '/srv/www/wp-content/blogs.dir/5/files/sphinx/sphinx.conf'

    It recognizes the sources, but not the indexes now. They are in there, however:

    $ cat /srv/www/wp-content/blogs.dir/5/files/sphinx/sphinx.conf | grep index
    index wp_blogmain
    index wp_blogdelta : wp_blogmain
    index wp_blog
    index wp_blogstats
    indexer
  4. Yaroslav Vorozhko
    Member
    Posted 3 years ago #

    Check the first line in the sphinx.conf file.
    It should point to php client /usr/bin/php.
    Maybe on your system php at different location.

  5. marshmallowcreme
    Member
    Posted 3 years ago #

    $ which php
    /usr/bin/php
  6. marshmallowcreme
    Member
    Posted 3 years ago #

    $ /usr/bin/php -l /srv/www/wp-content/blogs.dir/5/files/sphinx/sphinx.conf
    No syntax errors detected in /srv/www/wp-content/blogs.dir/5/files/sphinx/sphinx.conf
  7. Yaroslav Vorozhko
    Member
    Posted 3 years ago #

    Hmm, could you please send sphinx.conf to yaroslav@ivinco.com I will check it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Sphinx Search Plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic