已关闭此问题为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
1条答案
按热度按时间nc1teljy1#
我明白了。开始,我使用rsync --daemon启动,然后使用systemctl stop rsync.so它不工作。只需使用systemctl start rsync和systemctl stop rsync