Operating System - HP-UX
1753868 Members
7305 Online
108809 Solutions
New Discussion юеВ

Re: How configure rsync in my server

 
SOLVED
Go to solution
OldSchool
Honored Contributor
Solution

Re: How configure rsync in my server

"In the pc windows executed this:
First:
- rsync -ar 192.168.26.10::sync_windows /pruebas --delete

Second:
- rsync -ar 192.168.26.10::sync_windows /dev/vg00/lvol3/pruebas --delete

But the error is the same:
rsync: failed to connect to 192.168.26.10: Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.6]"

since you issued that on the PC, it would seem that its possible that the daemon isn't running on the HPUX side. Did you add any entries to /etc/services and /etc/inetd.conf? If so, did you restart inetd?

see:

http://www.infoscience.co.jp/technical/rsync/original/rsyncd_conf.html
WayneHP
Frequent Advisor

Re: How configure rsync in my server

Did you try a basic test.

Like rsync -avz source_host:/source/path /destination/path

and be careful about the trailing "/" they cause rsync change recursive behavior.

man rsync.

This will test if you have ssh credentials working wiht rsync.

Then you can go back to the daemon testing.
juanitourquiza
Occasional Advisor

Re: How configure rsync in my server

I need disable two things:

- rsync 873/tcp
- rsync stream tcp nowait root /usr/bin/rsync rsyncd ├в daemon

I changed path in configuration:

[sync_windows]
uid=root
gid=root
comment=Sincroniza carpeta web entre servidores
path=/pruebas
read only=false
hosts allow=172.16.5.56

Thanks for your responseI need enable two things:

- rsync 873/tcp
- rsync stream tcp nowait root /usr/bin/rsync rsyncd ├в daemon

I changed the configuration:

[sync_windows]
uid=root
gid=root
comment=Sincroniza carpeta web entre servidores
path=/pruebas
read only=false
hosts allow=172.16.5.56

Thanks for your response
Problem resolved
juanitourquiza
Occasional Advisor

Re: How configure rsync in my server

Sorry this is correct:

I need ENABLE two things:

- rsync 873/tcp
- rsync stream tcp nowait root /usr/bin/rsync rsyncd ├Г┬в├В ├В daemon

I changed path in configuration:

[sync_windows]
uid=root
gid=root
comment=Sincroniza carpeta web entre servidores
path=/pruebas
read only=false
hosts allow=172.16.5.56

Thanks for your responseI need enable two things:

- rsync 873/tcp
- rsync stream tcp nowait root /usr/bin/rsync rsyncd ├Г┬в├В ├В daemon

I changed the configuration:

[sync_windows]
uid=root
gid=root
comment=Sincroniza carpeta web entre servidores
path=/pruebas
read only=false
hosts allow=172.16.5.56

Thanks for your response
Problem resolved