Alex_K
24.09.02, 10:20
ich habe rsync auf meinem server installiert, und von meinen anderen PCs daruf sichern.
der server läuft als inetd - dienst.
die condig schaut so aus:
# sample rsyncd.conf configuration file
# GLOBAL OPTIONS
#motd file=/etc/motd
log file=/var/log/rsyncd
pid file=/var/run/rsyncd.pid
#syslog facility=daemon
#socket options=
# MODULE OPTIONS
[backup]
comment = backup
path = /smb/sicherung
use chroot = yes
max connections=5
lock file = /var/lock/rsyncd
read only = no
list = no
uid = smbuser
gid = ftp
# exclude = #specify any file in path not to be accessed
# exclude from =
# include =
# include from =
# auth users = #allow specific users to connect (besides anonymous)
# secrets file = /etc/rsyncd.secrets
strict modes = yes #makes sure the secrets file has proper permissions
hosts allow = 192.168.0.2 192.168.0.3 192.168.0.4
# hosts deny =
ignore errors = no
ignore nonreadable = yes
transfer logging = yes
log format = %t: host %h (%a) %o %f (%l bytes). Total %b bytes.
timeout = 300
refuse options = dry-run
dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz
jetzt will ich mit dem befehl " rsync -a ./winex-bin server::backup" von meinem PC (19.168.0.4) das verzeichnis winex-bin auf dem server (server ist in der /etc/hosts eingetragen) kopieren (soll dann in /smb/sicherung liegen), aber ich erhalte immer diese fehlermeldung:
rsync: failed to connect to server: Connection refused
rsync error: error in socket IO (code 10) at clientserver.c(97)
der server läuft als inetd - dienst.
die condig schaut so aus:
# sample rsyncd.conf configuration file
# GLOBAL OPTIONS
#motd file=/etc/motd
log file=/var/log/rsyncd
pid file=/var/run/rsyncd.pid
#syslog facility=daemon
#socket options=
# MODULE OPTIONS
[backup]
comment = backup
path = /smb/sicherung
use chroot = yes
max connections=5
lock file = /var/lock/rsyncd
read only = no
list = no
uid = smbuser
gid = ftp
# exclude = #specify any file in path not to be accessed
# exclude from =
# include =
# include from =
# auth users = #allow specific users to connect (besides anonymous)
# secrets file = /etc/rsyncd.secrets
strict modes = yes #makes sure the secrets file has proper permissions
hosts allow = 192.168.0.2 192.168.0.3 192.168.0.4
# hosts deny =
ignore errors = no
ignore nonreadable = yes
transfer logging = yes
log format = %t: host %h (%a) %o %f (%l bytes). Total %b bytes.
timeout = 300
refuse options = dry-run
dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz
jetzt will ich mit dem befehl " rsync -a ./winex-bin server::backup" von meinem PC (19.168.0.4) das verzeichnis winex-bin auf dem server (server ist in der /etc/hosts eingetragen) kopieren (soll dann in /smb/sicherung liegen), aber ich erhalte immer diese fehlermeldung:
rsync: failed to connect to server: Connection refused
rsync error: error in socket IO (code 10) at clientserver.c(97)