Hello Dave, thank You for Your time; sorry I didn't included my rsyncd.conf. As I said, on two other machines with EXACTLY the same config file and EXACTLY the same passwd entries for nobody and nogroup = same ID's, it works perfectly. EXECTLY the same permissions on target directory alos ofcourse.
This is my /etc/rsyncd.conf: --- CUT HERE --- motd file = /etc/issue.net max connections = 0 syslog facility = local3 [bkp] comment = Backup area path = /_silos read only = no list = no uid = nobody gid = nogroup hosts allow = XXX.XXX.XXX.XXX --- CUT HERE --- Portoroz/Slovenia, 29.Nov 2001 @ 00:24 CET Public GnuPG key @ http://rok.fpp.edu/pgp.key On Wed, 28 Nov 2001, Dave Dykstra wrote: > You probably need to set > read only = no > in rsyncd.conf. > > - Dave > > On Wed, Nov 28, 2001 at 04:29:35PM +0100, Rok Krulec wrote: > > Hello, > > > > when I do: > > /opt/rsync/bin/rsync /etc/hosts targethost::bkp/ > > > > I get: > > cannot create .hosts.b0WX1x : File exists > > > > I check the targethost and I get empty file .hosts.b0WX1x > > > > When trying with other targethost-s it works, but on this one it doesn't. > > On the other targethosts I have exactly the same LinuX distribution, > > permissions and users than on the problem targethost. > > I have exactly the same configuration than on the other machines, except > > on probelm targethost I have SCSI hard disk. > > > > When i strace the rsync --deamon i get: > > > > 4697 open(".hosts.b0WX1x", O_RDWR|O_CREAT|O_EXCL|0x8000, 0600) = 4 > > 4697 open(".hosts.b0WX1x", O_WRONLY|O_CREAT|O_EXCL|0x8000, 0600) = -1 EEXIST >(File exists) > > > > It seems like it opens the file ReadWrite and then tries to open it > > readonly. I don't know why. It bangs then. > > > > Thanks for any hint, > > Rok Krulec