Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-14401

Sphinx: Remove ending slash from binlog_path

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1.6
    • Fix Version/s: None
    • Component/s: Search
    • Labels:
      None
    • Environment:
      Sphinx 2.2.10, phpBB 3.1.6

      Description

      Hi,

      the current sphinx.conf suggestion provided by phpBB 3.1.6 contains a binlog_path with an ending slash like:

      binlog_path = /var/lib/sphinxsearch/data/

      However the Sphinx documentation is showing no slash:

      binlog_path = /var/data
      http://sphinxsearch.com/docs/current/conf-binlog-path.html

      This is causing messages like:

      .bg WARNING: binlog: failed to unlink /var/lib/sphinxsearch/data//binlog.001: No such file or directory (remove it manually)

      and a not removed binlog.001 file after killing the searchd. After fixing the path to:

      binlog_path = /var/lib/sphinxsearch/data

      the WARNING disappears and the binlog.001 is also deleted after killing the searchd.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Fisch.666 Fisch.666
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: