为什么 Radie 服务器崩溃并显示“主机已关闭”消息?

为什么 Radie 服务器崩溃并显示“主机已关闭”消息?

我的 Radile 服务器崩溃了,并显示以下日志消息journalctl

Jan 02 04:28:13 RPi64 systemd[1]: Started A simple CalDAV (calendar) and CardDAV (contact) server.
Jan 02 04:28:23 RPi64 systemd[14181]: radicale.service: Failed to set up mount namespacing: /run/systemd/unit-root/: Host is down
Jan 02 04:28:23 RPi64 systemd[14181]: radicale.service: Failed at step NAMESPACE spawning /usr/bin/env: Host is down
Jan 02 04:28:23 RPi64 systemd[1]: radicale.service: Main process exited, code=exited, status=226/NAMESPACE
Jan 02 04:28:23 RPi64 systemd[1]: radicale.service: Failed with result 'exit-code'.
Jan 02 04:29:24 RPi64 systemd[1]: radicale.service: Scheduled restart job, restart counter is at 8.
Jan 02 04:29:24 RPi64 systemd[1]: Stopped A simple CalDAV (calendar) and CardDAV (contact) server.

答案1

该问题是由于缺少应该从/etc/fstab.由于日志没有提供与问题的(明显)联系,并且我在网上没有找到好的解决方案,因此我决定将其放在这里。

//192.168.1.18/MOUNTPOINT         /mnt/MOUNTPOINT             cifs ro,auto,nofail,users,credentials=/root/credentials.MOUNTPOINT,uid=1000,gid=1000

一旦我auto从线路中删除/etc/fstab,问题就解决了。

相关内容