我正在尝试安装 Mongodb。它似乎安装得很好,但是启动该过程会出现错误。 编辑:我已经尝试过守护进程重新加载。
Failed to issue method call: Unit mongod.service failed to load: No such file or directory. See system logs and 'systemctl status mongod.service' for details.
我的服务看起来是这样的:
root@graylog:/var/cache/apt/archives# systemctl status
-.mount -> '/org/freedesktop/systemd1/unit/_2d_2emount'
-.mount - /
Loaded: loaded (/etc/fstab)
Active: active (mounted) since Wed 2018-08-01 17:17:54 UTC; 1h 48min ago
Where: /
What: /dev/dm-0
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
boot.mount -> '/org/freedesktop/systemd1/unit/boot_2emount'
boot.mount - /boot
Loaded: loaded (/etc/fstab)
Active: active (mounted) since Wed 2018-08-01 17:17:54 UTC; 1h 48min ago
Where: /boot
What: /dev/sda1
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
run-lock.mount -> '/org/freedesktop/systemd1/unit/run_2dlock_2emount'
run-lock.mount - /run/lock
Loaded: loaded (/proc/self/mountinfo)
Active: active (mounted) since Wed 2018-08-01 17:17:54 UTC; 1h 48min ago
Where: /run/lock
What: none
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
run-shm.mount -> '/org/freedesktop/systemd1/unit/run_2dshm_2emount'
run-shm.mount - /run/shm
Loaded: loaded (/proc/self/mountinfo)
Active: active (mounted) since Wed 2018-08-01 17:17:54 UTC; 1h 48min ago
Where: /run/shm
What: none
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
run-user.mount -> '/org/freedesktop/systemd1/unit/run_2duser_2emount'
run-user.mount - /run/user
Loaded: loaded (/proc/self/mountinfo)
Active: active (mounted) since Wed 2018-08-01 17:17:54 UTC; 1h 48min ago
Where: /run/user
What: none
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
sys-fs-fuse-connections.mount -> '/org/freedesktop/systemd1/unit/sys_2dfs_2dfuse_2dconnections_2emount'
sys-fs-fuse-connections.mount - /sys/fs/fuse/connections
Loaded: loaded (/proc/self/mountinfo)
Active: active (mounted) since Wed 2018-08-01 17:17:54 UTC; 1h 48min ago
Where: /sys/fs/fuse/connections
What: none
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
sys-kernel-debug.mount -> '/org/freedesktop/systemd1/unit/sys_2dkernel_2ddebug_2emount'
sys-kernel-debug.mount - /sys/kernel/debug
Loaded: loaded (/proc/self/mountinfo)
Active: active (mounted) since Wed 2018-08-01 17:17:54 UTC; 1h 48min ago
Where: /sys/kernel/debug
What: none
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
dbus.service -> '/org/freedesktop/systemd1/unit/dbus_2eservice'
dbus.service - D-Bus System Message Bus (deputy systemd dummy)
Loaded: loaded (/lib/systemd/upstart/dbus.service; static)
Active: active (exited) since Wed 2018-08-01 17:17:54 UTC; 1h 48min ago
Main PID: 19471 (code=exited, status=0/SUCCESS)
CGroup: name=dsystemd:/system/dbus.service
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
systemd-fsck@dev-disk-by\x2duuid-acdeac7d\x2de4a4\x2d4987\x2d85b9\x2d45d3142c9e81.service -> '/org/freedesktop/systemd1/unit/systemd_2dfsck_40dev_2ddisk_2dby_5cx2duuid_2dacdeac7d_5cx2de4a4_5cx2d4987_5cx2d85b9_5cx2d45d3142c9e81_2eservice'
systemd-fsck@dev-disk-by\x2duuid-acdeac7d\x2de4a4\x2d4987\x2d85b9\x2d45d3142c9e81.service - File System Check on /dev/disk/by-uuid/acdeac7d-e4a4-4987-85b9-45d3142c9e81
Loaded: loaded (/lib/systemd/upstart/[email protected]; static)
Active: inactive (dead)
Docs: man:[email protected](8)
我正在尝试安装和配置 Graylog,所以我经常看到此错误。任何帮助表示赞赏。谢谢