ubuntu 无法创建pid文件/var/run/rsyncd.pid:文件存在[关闭]

cu6pst1q  于 2023-10-17  发布在  其他
关注(0)|答案(1)|浏览(168)

已关闭此问题为not about programming or software development。它目前不接受回答。

这个问题似乎不是关于a specific programming problem, a software algorithm, or software tools primarily used by programmers的。如果你认为这个问题与another Stack Exchange site的主题有关,你可以留下评论,解释在哪里可以回答这个问题。
9天前关闭
Improve this question
在Ubuntu中,当使用rsync时,在用systemctl stop rsync停止它,然后尝试用rsync --daemon重新启动它后,它会给出一个错误“未能创建pid文件/var/run/rsyncd.pid:文件存在”。我每次都必须手动删除这个吗?enter image description here
每次删除都可以,但我不想手动删除。这个错误是由于我的配置问题造成的吗?enter image description here

nc1teljy

nc1teljy1#

我明白了。开始,我使用rsync --daemon启动,然后使用systemctl stop rsync.so它不工作。只需使用systemctl start rsync和systemctl stop rsync

相关问题