Manticore error while start the searchd service.

Issue #1345 closed
B.JEGADEESAN created an issue

After completing the migration steps as per the documentation(From Sphinx to Manticore), the Manticore searchd is running with the real-time (RT) index. The reindexing of the piler1 table has been successfully executed, and the message count matches with the MySQL metadata. The web UI is functioning correctly. However, when attempting to start the searchd service, Still we get the following error. Please let us know how to fix this error.

ERROR:

precaching table 'tag1'
Index header format is not json, will try it as binary...
WARNING: Unable to load header... Error failed to open /var/piler/manticore/tag1.sph: No such file or directory
WARNING: table 'tag1': prealloc: failed to open /var/piler/manticore/tag1.sph: No such file or directory - NOT SERVING
precaching table 'note1'
Index header format is not json, will try it as binary...
WARNING: Unable to load header... Error failed to open /var/piler/manticore/note1.sph: No such file or directory
WARNING: table 'note1': prealloc: failed to open /var/piler/manticore/note1.sph: No such file or directory - NOT SERVING

We had a piler versio 1.4.4 and Manticore version 6.2.12.

Comments (10)

  1. Janos SUTO repo owner

    It’s getting a bit long. tag1.sphx and note1.sph are plain index files. Stop searchd service, delete all tag1.* and note1.* files, except (tag1|note1).(lock|meta|ram). And be sure to disable the indexer scripts in piler’s crontab. Then start searchd service.

  2. B.JEGADEESAN reporter

    Before starting the Manticore searchd service, all piler user cronjobs are commented out, and within the /var/piler/manticore directory, there are no "tag1" and "note1" files. Please refer to the attached screenshot for your reference.

  3. B.JEGADEESAN reporter

    After completing all the configurations according to the documentation, when attempting to start the searchd service, the same error persists. Additionally, we have verified that no files named "tag1" and "note1" have been created. Prior to this, an examination of the /var/piler/manticore directory revealed the absence of any files.

    Error:

    Index header format is not json, will try it as binary...
    WARNING: Unable to load header... Error failed to open /var/piler/manticore/tag1.sph: No such file or directory
    WARNING: table 'tag1': prealloc: failed to open /var/piler/manticore/tag1.sph: No such file or directory - NOT SERVING
    precaching table 'note1'
    Index header format is not json, will try it as binary...
    WARNING: Unable to load header... Error failed to open /var/piler/manticore/note1.sph: No such file or directory
    WARNING: table 'note1': prealloc: failed to open /var/piler/manticore/note1.sph: No such file or directory - NOT SERVING
    precached 1 tables in 0.010 sec

  4. Janos SUTO repo owner

    Let me ssh to this host, and see it for myself. Please contact me on email, see my address in piler -V output.

  5. B.JEGADEESAN reporter

    It's a private network host, and we are currently testing migration steps within our private network environment. Is there any possibility of connecting through a screen-sharing application such as AnyDesk or TeamViewer?

  6. B.JEGADEESAN reporter

    I apologize for any inconvenience caused. unfortunately our testing hosts are not accessible from outside our environment.

    Fortunately, I identified an issue and resolved it using another host. I discovered that our current Manticore file was missing some configuration lines for the 'tag1' and 'note1' (RT) indexing. Subsequently, I installed Manticore server separately on another host and followed the same steps. Now, it is working fine without any errors.

  7. Log in to comment