rsync, все клева но неприятный косяк ...
Добавлено: 2006-11-13 17:47:00
Чтото пароль у мя клиен не хавает:
Помогите блин
клиент:сервер:
В логах:
Помогите блин
клиент:
Код: Выделить всё
www@www# cat /usr/local/etc/rsyncd.scrt
backup:1234
Код: Выделить всё
[temp@smb /home/chani]# cat /usr/local/etc/rsyncd.scrt
backup:1234
[temp@smb /home/chani]# rsync --password-file=/usr/local/etc/rsyncd.scrt \ backup@test.ru::test
HELLO FROM RSYNC
@ERROR: auth failed on module test
rsync error: error starting client-server protocol (code 5) at main.c(1296) [receiver=2.6.8]
Код: Выделить всё
www@www# cat /usr/local/etc/rsyncd.conf
pid file = /var/run/rsyncd.pid
log file = /var/log/rsyncd.log
transfer logging = true
syslog facility = local5
[test]
path = /etc
uid = root
read only = yes
list = yes
comment = test
hosts allow = xxx.xx.xx.xxx
auth users = backup
secrets file = /usr/local/etc/rsyncd.scrt
Код: Выделить всё
2006/11/13 17:45:08 [4083] connect from www (xxx.xxx.xxx.xxx)
2006/11/13 17:45:08 [4083] auth failed on module test from www (xxx.xxx.xxx.xxx): password mismatch