[root@backup ~]# rpm -qa xinetd
[root@backup ~]# rpm -ql xinetd
package xinetd is not installed
[root@backup ~]# yum install xinetd -y
[root@backup ~]# rpm -qa xinetd
xinetd-2.3.14-40.el6.x86_64
vim /etc/xinetd.d/rsync
......将disable = yes 修改为 disable = no
disable = no
使用命令修改(centos6.x)
sed -i 's#yes#no#g' /etc/xinetd.d/rsync
[root@backup ~]# netstat -lntup |grep 873
tcp 0 0 :::873 :::* LISTEN 1229/xinetd