【问题标题】:memgraph service not started after installation on WSL在 WSL 上安装后未启动 memgraph 服务
【发布时间】:2019-07-18 09:44:22
【问题描述】:

在 Linux 的 windows 子系统上安装 memgraph 的 debian 包后。 memgraph 没有自动启动。

为 memgraph 安装 debian 包。 chattr 会显示一些错误,例如

chattr:读取 /usr/share/memgraph/examples/Europe/snapshots 上的标志时,设备的 ioctl 不合适。

之后没有启动 memgraph。运行systemctl start memgraph 给出了

错误连接总线失败:没有这样的文件或目录。

WSL 不支持 systemd。

那么,如何在 WSL shell 中启动 memgraph。

【问题讨论】:

    标签: installation windows-subsystem-for-linux memgraphdb


    【解决方案1】:

    默认情况下,WSL 上没有systemd,这意味着 Memgraph 不会自动运行。

    尝试通过执行以下 shell 命令手动运行 Memgraph:

    /usr/lib/memgraph/memgraph
    

    具体路径取决于你使用的是哪个Linux。

    locate memgraph
    

    可能会帮助您找出正确的路径。

    【讨论】:

      猜你喜欢
      • 2020-09-15
      • 1970-01-01
      • 2018-02-18
      • 2016-02-24
      • 2023-04-06
      • 2018-03-15
      • 1970-01-01
      • 2022-12-06
      相关资源
      最近更新 更多