Hello,
We recently switched from sphinx to manticoresearch.
Of two servers with same settings, one manticorserach crashed after about 2 days, won’t restart with " binlog: log open error: failed to open /var/lib/manticore/data/binlog.001: No such file or directory" error.
I have checked the server, and the server has no errors in syslog, lots of free memory(is actually a server with 512 GB of RAM) and /var/lib/manticore/data exists and is writable.
What could cause this and what should I do?
Here is content of /var/lib/manticore/data
ls /var/lib/manticore/data -al
total 4
drwxr-xr-x 2 manticore manticore 56 Feb 12 00:46 .
drwxr-xr-x 4 manticore manticore 91 Feb 11 00:09 …
-rw------- 1 manticore manticore 0 Feb 12 00:46 binlog.lock
-rw------- 1 manticore manticore 11 Feb 11 04:00 binlog.meta
Here is log file:
thd 94 (work_188), proto sphinx, state query, command search
thd 95 (work_192), proto sphinx, state query, command search
thd 96 (work_194), proto sphinx, state query, command search
thd 97 (work_195), proto sphinx, state query, command search
thd 98 (work_198), proto sphinx, state query, command search
thd 99 (work_199), proto sphinx, state query, command search
— Totally 101 threads, and 100 client-working threads —
------- CRASH DUMP END -------
[Sun Feb 12 00:15:47.817 2023] [2942007] watchdog: main process 2942008 crashed via CRASH_EXIT (exit code 2), will be restarted
[Sun Feb 12 00:15:47.818 2023] [2942007] watchdog: main process 3137437 forked ok
[Sun Feb 12 00:15:47.843 2023] [3137437] starting daemon version ‘6.0.2 89c7a5139@230210 (columnar 2.0.0 a7c703d@230130) (secondary 2.0.0 a7c703d@230130)’ …
[Sun Feb 12 00:15:47.843 2023] [3137437] listening on [REDACTED]:9312 for sphinx and http(s)
[Sun Feb 12 00:15:47.843 2023] [3137437] listening on [REDACTED]:3307 for mysql
[Sun Feb 12 00:15:47.844 2023] [3137438] WARNING: table ‘template’: key ‘path’ not found - NOT SERVING
[Sun Feb 12 00:15:50.390 2023] [3137440] binlog: replaying log /var/lib/manticore/data/binlog.001
[Sun Feb 12 00:15:50.390 2023] [3137440] FATAL: binlog: log open error: failed to open /var/lib/manticore/data/binlog.001: No such file or directory
[Sun Feb 12 00:15:50.433 2023] [2942007] watchdog: main process 3137437 exited cleanly (exit code 1), shutting down
[Sun Feb 12 00:15:50.820 2023] [3137648] watchdog: main process 3137649 forked ok
[Sun Feb 12 00:15:50.838 2023] [3137649] starting daemon version ‘6.0.2 89c7a5139@230210 (columnar 2.0.0 a7c703d@230130) (secondary 2.0.0 a7c703d@230130)’ …
[Sun Feb 12 00:15:50.838 2023] [3137649] listening on [REDACTED]:9312 for sphinx and http(s)
[Sun Feb 12 00:15:50.838 2023] [3137649] listening on [REDACTED]:3307 for mysql
[Sun Feb 12 00:15:50.838 2023] [3137650] WARNING: table ‘template’: key ‘path’ not found - NOT SERVING
[Sun Feb 12 00:15:53.383 2023] [3137652] binlog: replaying log /var/lib/manticore/data/binlog.001
[Sun Feb 12 00:15:53.383 2023] [3137652] FATAL: binlog: log open error: failed to open /var/lib/manticore/data/binlog.001: No such file or directory
[Sun Feb 12 00:15:53.422 2023] [3137648] watchdog: main process 3137649 exited cleanly (exit code 1), shutting down
[Sun Feb 12 00:46:02.797 2023] [3142609] watchdog: main process 3142610 forked ok
[Sun Feb 12 00:46:02.816 2023] [3142610] starting daemon version ‘6.0.2 89c7a5139@230210 (columnar 2.0.0 a7c703d@230130) (secondary 2.0.0 a7c703d@230130)’ …
[Sun Feb 12 00:46:02.816 2023] [3142610] listening on [REDACTED]:9312 for sphinx and http(s)
[Sun Feb 12 00:46:02.816 2023] [3142610] listening on [REDACTED]:3307 for mysql
[Sun Feb 12 00:46:02.816 2023] [3142611] WARNING: table ‘template’: key ‘path’ not found - NOT SERVING
[Sun Feb 12 00:46:03.716 2023] [3142611] rotating table ‘[REDACTED]’: success
[Sun Feb 12 00:46:05.188 2023] [3142611] rotating table ‘[REDACTED]’: success
[Sun Feb 12 00:46:05.220 2023] [3142611] rotating table ‘[REDACTED]’: success
[Sun Feb 12 00:46:05.384 2023] [3142611] rotating table ‘[REDACTED]’: success
[Sun Feb 12 00:46:05.387 2023] [3142613] binlog: replaying log /var/lib/manticore/data/binlog.001
[Sun Feb 12 00:46:05.387 2023] [3142613] FATAL: binlog: log open error: failed to open /var/lib/manticore/data/binlog.001: No such file or directory
[Sun Feb 12 00:46:05.426 2023] [3142609] watchdog: main process 3142610 exited cleanly (exit code 1), shutting down
Additional information:
#rpm -qa|grep manti
manticore-server-6.0.2_230210.89c7a5139-1.el8.x86_64
manticore-devel-6.0.2_230210.89c7a5139-1.el8.noarch
manticore-executor-0.6.2_23012605.d95e43e-1.x86_64
manticore-tools-6.0.2_230210.89c7a5139-1.el8.x86_64
manticore-repo-0.1.0-1.noarch
manticore-columnar-lib-2.0.0_230130.a7c703d-1.el8.x86_64
manticore-common-6.0.2_230210.89c7a5139-1.el8.noarch
manticore-extra-0.6.2_23012604.d95e43e-1.noarch
manticore-icudata-5.0.3_221123.d2d9e5e56-1.el7.centos.noarch
manticore-backup-0.5.2_23020607.4a37932-1.noarch
manticore-6.0.2_230210.89c7a5139-1.el8.x86_64
manticore-buddy-0.3.4_23020607.4798582-1.noarch
manticore-server-core-6.0.2_230210.89c7a5139-1.el8.x86_64
# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.7 (Ootpa)