failed to create pid file /var/run/rsyncd.pid: File exists報錯


[root@pcidata-jenkins ansible_playbooks]# ps aux|grep rsync
root      1799  0.0  0.0 114652   480 ?        Ss   Jun29   0:00 rsync --daemon
root     61754  0.0  0.0 112664   972 pts/2    S+   11:17   0:00 grep --color=auto rsync
[root@pcidata-jenkins ansible_playbooks]# kill -9  1799
You have new mail in /var/spool/mail/root
[root@pcidata-jenkins ansible_playbooks]# rsync --daemon
failed to create pid file /var/run/rsyncd.pid: File exists
[root@pcidata-jenkins ansible_playbooks]# ps aux|grep rsync
root     61790  0.0  0.0 112660   968 pts/2    S+   11:18   0:00 grep --color=auto rsync
[root@pcidata-jenkins ansible_playbooks]# rsync --daemon
failed to create pid file /var/run/rsyncd.pid: File exists

#刪除 /var/run/rsyncd.pid即可
[root@pcidata-jenkins ansible_playbooks]# rm -fr /var/run/rsyncd.pid
[root@pcidata-jenkins ansible_playbooks]# rsync --daemon


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM