Operating System - HP-UX
1752675 Members
5715 Online
108789 Solutions
New Discussion юеВ

Re: How configure rsync in my server

 
SOLVED
Go to solution
juanitourquiza
Occasional Advisor

How configure rsync in my server

Server features are:
HP-UX B.11.31
4 Intel(R) Itanium 2 processors (1.5 GHz, 6 MB)

greetings
13 REPLIES 13
James R. Ferguson
Acclaimed Contributor

Re: How configure rsync in my server

Hi:

"How to configure" is based on what it is you want to do. I suggest you examine the manpages and Google "rsync tutorial" for some background.

Regards!

...JRF...
juanitourquiza
Occasional Advisor

Re: How configure rsync in my server

I can configure rsync for red hat. I use this information:

http://www.vicente-navarro.com/blog/2008/01/13/backups-con-rsync/

but in HP-UX is diferent.

Someone was working with rsync en HP-UX?
Patrick Wallek
Honored Contributor

Re: How configure rsync in my server

>>but in HP-UX is diferent.

No, it really shouldn't be.

What problem are having when trying to configure it? What have you done? What does not work?
juanitourquiza
Occasional Advisor

Re: How configure rsync in my server

I installed this:

http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/rsync-3.0.6/
HP-UX 11i v3
(HP-UX 11.31) Itanium 2

In the documentation say: "Is neccesary install xinetd" then I installed the xinetd.

after of configuration rsync:
[sync_windows]
uid=nobody
gid=nobody
comment=Sincroniza carpeta web entre servidores
path=/pruebas
read only=false
hosts allow=172.16.5.56

My error is the next:
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]

How I can execute the daemon xinetd and the daemon rsync?

Regards
Johnson Punniyalingam
Honored Contributor

Re: How configure rsync in my server

>>>rsync error: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.6]<<

It would be better to check ??

do simple ping test verse vis .
you can also add route to source & target
Problems are common to all, but attitude makes the difference
smatador
Honored Contributor

Re: How configure rsync in my server

Hi,
I don't have xinetd on my 11.31 and rsync works well. It's mean you have installed ixXinetd from internet express
HTH
juanitourquiza
Occasional Advisor

Re: How configure rsync in my server

I understand.
What is his your configuration for rsync?

How I can execute daemon for rsync?
Johnson Punniyalingam
Honored Contributor

Re: How configure rsync in my server

My Server (rsync) configuration

/etc/rsyncd.conf on sourcehost:
# read only = true
uid = root
gid = root
max connections = 0 # no limit
pid file = /var/run/rsyncd.pid
log file = /var/adm/rsync.log
transfer logging = true
log format = %h %o %f %l %b
timeout = 300

[segment]
path=/fs/vg03/lvol1

Rgds,
Johnson
Problems are common to all, but attitude makes the difference
juanitourquiza
Occasional Advisor

Re: How configure rsync in my server

I made this:

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

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
]

Exist communication between this two servers:

C:\cwRsync\bin>ping 192.168.26.10

Haciendo ping a 192.168.26.10 con 32 bytes de datos:

Respuesta desde 192.168.26.10: bytes=32 tiempo=29ms TTL=254
Respuesta desde 192.168.26.10: bytes=32 tiempo<1m TTL=254
Respuesta desde 192.168.26.10: bytes=32 tiempo<1m TTL=254
Respuesta desde 192.168.26.10: bytes=32 tiempo<1m TTL=254

Estad├Г┬нsticas de ping para 192.168.26.10:
Paquetes: enviados = 4, recibidos = 4, perdidos = 0
(0% perdidos),
Tiempos aproximados de ida y vuelta en milisegundos:
M├Г┬нnimo = 0ms, M├Г┬бximo = 29ms, Media = 7ms

Waht happen with rsync?
Some idea?