Skip to content

Cannot start Manticore service in WSL2 #2955

@juneszh

Description

@juneszh

Confirmation Checklist:

  • You have searched for an answer in the manual.
  • You have considered using the forum for general discussions, which can be more suitable for non-urgent or broad queries.
  • You are aware of our community support channels on Slack, Telegram EN, and Telegram RU, where you can interact with other users and our developers.
  • You know about Manticore Team's professional services. Engaging with our experts through a support subscription can significantly accelerate resolution times and provide tailored solutions to your specific needs.

Your question:

When I follow the install guide from https://manticoresearch.com/install/ about WSL, the last step sudo systemctl start manticore did not work:

$ sudo systemctl start manticore

Job for manticore.service failed because the service did not take the steps required by its unit configuration.
See "systemctl status manticore.service" and "journalctl -xeu manticore.service" for details.

$ sudo systemctl status manticore

● manticore.service - Manticore Search Engine
     Loaded: loaded (/usr/lib/systemd/system/manticore.service; disabled; preset: enabled)
     Active: activating (start) since Sat 2025-01-18 18:03:19 CST; 10s ago
       Docs: https://manual.manticoresearch.com/,
             man:searchd(1)
  Cntrl PID: 1098 (searchd)
      Tasks: 12 (limit: 9174)
     Memory: 3.5M ()
     CGroup: /system.slice/manticore.service
             ├─1098 /usr/bin/searchd --config /etc/manticoresearch/manticore.conf
             ├─1100 /usr/bin/searchd --config /etc/manticoresearch/manticore.conf
             └─1101 /usr/bin/searchd --config /etc/manticoresearch/manticore.conf

Jan 18 18:03:19 JUNE searchd[1099]: Manticore 6.3.8 d17bd2b6b@24112202 (columnar 2.3.0 88a01c3@24052206) (secondary 2.3.0 88a01c3@24052206) (knn 2.3.0 88a01c3@24052206)
Jan 18 18:03:19 JUNE searchd[1099]: Copyright (c) 2001-2016, Andrew Aksyonoff
Jan 18 18:03:19 JUNE searchd[1099]: Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Jan 18 18:03:19 JUNE searchd[1099]: Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
Jan 18 18:03:19 JUNE searchd[1101]: starting daemon version '6.3.8 d17bd2b6b@24112202 (columnar 2.3.0 88a01c3@24052206) (secondary 2.3.0 88a01c3@24052206) (knn 2.3.0 88a01c3@24052206)' ...
Jan 18 18:03:19 JUNE searchd[1101]: listening on 127.0.0.1:9312 for sphinx and http(s)
Jan 18 18:03:19 JUNE searchd[1101]: bind() failed on 127.0.0.1, retrying...
Jan 18 18:03:22 JUNE searchd[1101]: bind() failed on 127.0.0.1, retrying...
Jan 18 18:03:25 JUNE searchd[1101]: bind() failed on 127.0.0.1, retrying...
Jan 18 18:03:28 JUNE searchd[1101]: bind() failed on 127.0.0.1, retrying...

$ cat /var/log/manticore/searchd.log

[Sat Jan 18 18:09:19.154 2025] [1246] bind() failed on 127.0.0.1, retrying...
[Sat Jan 18 18:09:22.161 2025] [1246] bind() failed on 127.0.0.1, retrying...
[Sat Jan 18 18:09:25.166 2025] [1246] bind() failed on 127.0.0.1, retrying...
[Sat Jan 18 18:09:28.172 2025] [1246] bind() failed on 127.0.0.1, retrying...
[Sat Jan 18 18:09:31.175 2025] [1246] FATAL: bind() failed on 127.0.0.1: Address already in use
[Sat Jan 18 18:09:31.176 2025] [1246] shutdown daemon version '6.3.8 d17bd2b6b@24112202 (columnar 2.3.0 88a01c3@24052206) (secondary 2.3.0 88a01c3@24052206) (knn 2.3.0 88a01c3@24052206)' ...
[Sat Jan 18 18:09:31.186 2025] [1246] shutdown complete
[Sat Jan 18 18:09:31.187 2025] [1245] watchdog: main process 1246 exited cleanly (exit code 1), shutting down
[Sat Jan 18 18:09:31.601 2025] [1301] watchdog: main process 1302 forked ok
[Sat Jan 18 18:09:31.601 2025] [1302] Using local time zone '/etc/localtime'
[Sat Jan 18 18:09:31.602 2025] [1302] starting daemon version '6.3.8 d17bd2b6b@24112202 (columnar 2.3.0 88a01c3@24052206) (secondary 2.3.0 88a01c3@24052206) (knn 2.3.0 88a01c3@24052206)' ...
[Sat Jan 18 18:09:31.602 2025] [1302] listening on 127.0.0.1:9312 for sphinx and http(s)
[Sat Jan 18 18:09:31.605 2025] [1302] bind() failed on 127.0.0.1, retrying...
[Sat Jan 18 18:09:34.611 2025] [1302] bind() failed on 127.0.0.1, retrying...
[Sat Jan 18 18:09:37.615 2025] [1302] bind() failed on 127.0.0.1, retrying...
[Sat Jan 18 18:09:40.620 2025] [1302] bind() failed on 127.0.0.1, retrying...
[Sat Jan 18 18:09:43.627 2025] [1302] bind() failed on 127.0.0.1, retrying...
[Sat Jan 18 18:09:46.634 2025] [1302] bind() failed on 127.0.0.1, retrying...

System:
Windows 11 Pro 23H2 22631.4751
WSL2 Ubuntu 24.04.1 LTS

/etc/wsl.conf

[interop]
appendWindowsPath = false
[boot]
systemd=true

.wslconfig

[wsl2]
swap=0
networkingMode=mirrored

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions