• Ashokkumar

    (@ashoknet)


    I am using WordPress Sphinx Search Plugin (version 2.1). Sphinx installed successfully. when indexing starts it shows the following error message.

    Indexer: reindexing error, try to run it manually.
    Command: /opt/lampp/htdocs/workspace/ossbooks/wp-content/uploads/sphinx/bin/indexer –rotate –config /opt/lampp/htdocs/workspace/ossbooks/wp-content/uploads/sphinx/etc/sphinx.conf wordpressdelta wordpressmain

    Anybody can tell me the solution.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Ashokkumar

    (@ashoknet)

    When i run this Command in terminal (/opt/lampp/htdocs/workspace/ossbooks/wp-content/uploads/sphinx/bin/indexer –rotate –config /opt/lampp/htdocs/workspace/ossbooks/wp-content/uploads/sphinx/sphinx.conf wordpressdelta wordpressmain) it shows the following message.

    Sphinx 0.9.9-release (r2117)
    Copyright (c) 2001-2009, Andrew Aksyonoff

    using config file ‘/opt/lampp/htdocs/workspace/ossbooks/wp-content/uploads/sphinx/sphinx.conf’…
    ERROR: invalid section type ‘Deprecated’ in /opt/lampp/htdocs/workspace/ossbooks/wp-content/uploads/sphinx/sphinx.conf line 2 col 11.
    ERROR: invalid section type ‘Deprecated’ in /opt/lampp/htdocs/workspace/ossbooks/wp-content/uploads/sphinx/sphinx.conf line 2 col 1.
    FATAL: failed to parse config file ‘/opt/lampp/htdocs/workspace/ossbooks/wp-content/uploads/sphinx/sphinx.conf’
    root@TP088:/opt/lampp/htdocs/workspace/ossbooks/wp-content/uploads/sphinx/sphinx-0.9.9# Sphinx data indexing
    Sphinx: command not found

    Thread Starter Ashokkumar

    (@ashoknet)

    Just now i notice that the problem is in data indexing. There is no files in var/data directory

    You are using wordpress in debug mode?
    If so, you have following options:
    1. Disable debug mode through wp-config.php
    change define(‘WP_DEBUG’, true) to define(‘WP_DEBUG’, false)
    2. Disable error reporting in sphinx.conf
    Open sphinx.conf and add the following command after first open tag
    <?php
    error_reporting(0);

    I’m seeing the same error when I click “Index all posts now”, search is working though, daemon is up – “OK – Sphinx Search Server is running.”
    This is the output if I run the command via the terminal, looks good, no errors
    indexing index ‘wpblog_delta’…
    collected 0 docs, 0.0 MB
    total 0 docs, 0 bytes
    total 0.006 sec, 0 bytes/sec, 0.00 docs/sec
    indexing index ‘wpblog_main’…
    collected 4055 docs, 13.3 MB
    sorted 1.0 Mhits, 100.0% done
    total 4055 docs, 13270749 bytes
    total 1.938 sec, 6845934 bytes/sec, 2091.83 docs/sec
    indexing index ‘wpblog_stats’…
    collected 6 docs, 0.0 MB
    total 6 docs, 38 bytes
    total 0.001 sec, 24675 bytes/sec, 3896.10 docs/sec
    total 2 reads, 0.006 sec, 2275.3 kb/call avg, 3.2 msec/call avg
    total 24 writes, 0.023 sec, 459.9 kb/call avg, 0.9 msec/call avg
    rotating indices: succesfully sent SIGHUP to searchd (pid=16960).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WordPress Sphinx Search Plugin’ is closed to new replies.