installation - 在 WSL 上安装后未启动 memgraph 服务
问题描述
在 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。
解决方案
默认情况下,systemd
WSL 上没有,这意味着 Memgraph 不会自动运行。
尝试通过执行以下 shell 命令手动运行 Memgraph:
/usr/lib/memgraph/memgraph
具体路径取决于您使用哪个 Linux。
locate memgraph
可能会帮助您找出正确的路径。
推荐阅读
- ios - 无法将我的 iOS 应用程序与 Crashlytics 同步
- pulseaudio - 如何在 pulseaudio 上远程管理音量
- javascript - Node.js - 如何获取远程音频文件的持续时间?
- android - 如何使用 kotlin 在 android 上处理后退按钮 DrawerNavigation
- python - ruamel.yaml 安装另一个 python 包的问题
- kotlin - 如何为相同的资源使用多个路由
- javascript - 如何根据列表中的项目数多次显示通知
- python - 格式化文档名称
- php - 雄辩的关系不适用于查询
- r - 如何创建没有重叠条的 ggplot 条形图?