rsync备份服务器架设问题,学习中!
请问各位,为什么我把rsync.conf 与rsyncpass.pas 都设置后,且rsyncpass.pas文件己设置为600,执行rsync --daemon还是无法打开rsync服务,rsync的873端口也还是没有打开。请求帮助!
如果这个办法不行,请问还有其它办法可以实现远程数据同步吗?
谢谢各位支持!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
[root@MMea]# more /etc/rsync.conf
uid = nobody
gid = nobody
use chroot = no
max connections = 4
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
log file = /var/log/rsyncd.log
[www]
path = /data/mysql41/
ignore errors
read only = true
list = false
hosts allow = 59.151.6.174
hosts deny = 0.0.0.0/32
auth users = backup
secrets file = /etc/backserver.pas
[root@MMea]# more /etc/backserver.pas
backup:backuser
[root@MMea]# more /etc/xinetd.d/rsync
# default: off
# description: The rsync server is a good addition to an ftp server, as it
# allows crc checksumming etc.
service rsync
{
disable = yes
socket_type = stream
wait = no
user = root
server = /usr/bin/rsync
server_args = --daemon
log_on_failure += USERID
}
[root@MMea]# vi /etc/service
kerberos-adm 749/tcp # Kerberos `kadmin' (v5)
kerberos-iv 750/udp kerberos4 kerberos-sec kdc
kerberos-iv 750/tcp kerberos4 kerberos-sec kdc
webster 765/tcp # Network dictionary
webster 765/udp
phonebook 767/tcp # Network phonebook
phonebook 767/udp
rsync 873/tcp # rsync
rsync 873/udp # rsync
telnets 992/tcp
telnets 992/udp
imaps 993/tcp # IMAP over SSL
imaps 993/udp # IMAP over SSL