Unable to start the service

I’ve added one index to the config file

 index products
{
    type = rt
    path = /var/lib/manticore/data/products
    rt_field                = description
    rt_field                = shopping_cart_description
    rt_field                = type
    rt_field                = entry_type
    rt_field                = stock
    rt_field                = tags
}

The service doesn’t start anymore (it starts if I don’t add the index). I get this in the logs:

[Sun May 17 05:44:21.230 2020] [9999] FATAL: failed to open '/var/data/binlog.lock': 13 'Permission denied'
[Sun May 17 05:44:21.284 2020] [9998] watchdog: main process 9999 exited cleanly (exit code 1), shutting down
[Sun May 17 05:44:21.284 2020] [9998] watchdog: got error 10, No child processes

and this

May 17 05:44:21 dev systemd[1]: Failed to start Manticore Search Engine.
May 17 05:44:21 dev systemd[1]: manticore.service: Unit entered failed state.
May 17 05:44:21 dev systemd[1]: manticore.service: Failed with result 'start-limit-hit'.

Hi @Florin_Miu

The error is:

I.e. the user under which searchd tries to start doesn’t have permissions to open /var/data/binlog.lock.
If you need help with fixing it show the searchd section of your config and ls -la /var/data/binlog*

1 Like