1834368 Members
2220 Online
110066 Solutions
New Discussion

problems with rsync

 
Jairo Campana
Trusted Contributor

problems with rsync

Help me please , have a problema :
the operating system that I am using
RED HAT 7.2

I am synchronizing server1(172.31.180.41 -vm2001) with server2
server1
in server1 have user jhon group jhon and users
the perms is : chown -R jhon:users www
# id john
[SERVER1]# id john
uid=506(ftpeima) gid=510(ftpeima) grupos=510(ftpeima),100(users)

john:x:506:510::/var/www:/bin/false
users:x:100:HurtadoJ,john
cd /var/www
ll
drwxr-xr-x 2 john users 4096 ene 22 20:52 cgi-bin
drwxr-xr-x 6 john users 4096 ene 22 20:25 html
drwxr-xr-x 3 john users 4096 nov 24 15:03 icons
drwxr-xr-x 2 john users 16384 nov 24 14:38 lost+found
drwxr-xr-x 3 john users 4096 dic 19 15:37 hp

in server 2 THE User john no exist
cd /var/www
ll
drwxr-xr-x 2 506 users 4096 ene 22 18:27 cgi-bin
drwxr-xr-x 6 506 users 4096 dic 11 11:56 html
drwxr-xr-x 3 506 users 4096 nov 24 15:03 icons
drwxr-xr-x 2 506 users 16384 nov 24 14:38 lost+found
drwxr-xr-x 2 506 users 4096 nov 27 19:03 script
drwxr-xr-x 3 506 users 4096 nov 26 14:47 hp

my problem is when I do rsync:

#/usr/bin/rsync -avz --delete 172.31.180.41::vm2001 /var/www/hp/invent
@ERROR: invalid uid
#
I obtain east message of error:

@ERROR: invalid uid

note:before this worked and I let work when it changes of owner group john
chown -R john:john /var/www in server 1 and server2

THANKS
legionx