我在用rsync做远程备份是出现问题:
在客户端我用rsync -vzrtopg --progress --delete root@192.168.1.19::
www /var/backup/
但客户端运行的结果是:rsync:failed to connect to 192.168.1.19 : Connection refused
rsync error : error in socket IO(code 10) at clientserver.c(97)
我的客户机端和服务端都是把LINUX安装在windows下的虚拟机上,我的
服务器端rsyncd.conf 配置文件的完整内容:
uid = root
gid = root
max connecions=6
[www]
path= /www
comment = BACKUP WWW
ignore errors
read only = yes
list = no
auth users =root
hosts allow =192.168.1.17
secrets file = /etc/wwwuser.pass
[database]
path = /var/lib/mysql
comment = BACKUP DATABASE
ignore errors
read only =yes
list = no
auth users =dbuser
hosts allow =192.168.1.17
secrets file = /etc/dbuser.pass
[conffile]
path =/etc/httpd
comment = BACKUP CONFFILE
ignore errors
read only =yes
list =no
auth users =confuser
hosts allow =192.168.1.17
secrets file =/etc/confuser.pass
客户端自动获取的IP是:192.168.1.17
服务器端自动获取的IP是:192.168.1.19
两机都可以互相Ping对方的IP,可怎么会出错呢?请各位给点意见,不甚感谢~
[ 本帖最后由 Growth兆 于 2007-6-3 21:26 编辑 ]
linuxfanhhm 于 2009-11-03 15:33:11发表:
你设置日志文件,然后看看日志的内容噻