Amigos ya lo instalé. Lo que cuando intento replciar me da este error, les 
agradecería si me dicen que me falta por hacer.

postgres@pgslave:~/9.1/main$ /usr/lib/postgresql/9.1/bin/repmgr -D 
/var/lib/postgresql/9.1/main/ -d pgbench -p 5432 -U postgres -R postgres 
standby clone pgmaster --verbose
Opening configuration file: ./repmgr.conf
[2014-05-09 18:30:26] [ERROR] Did not find the configuration file 
'./repmgr.conf', continuing
[2014-05-09 18:30:26] [NOTICE] repmgr Destination directory 
/var/lib/postgresql/9.1/main/ provided, try to clone everything in it.
[2014-05-09 18:30:26] [INFO] repmgr connecting to master database
[2014-05-09 18:30:26] [INFO] repmgr connected to master, checking its state
[2014-05-09 18:30:26] [INFO] Successfully connected to primary. Current 
installation size is 164 MB
[2014-05-09 18:30:26] [NOTICE] Starting backup...
[2014-05-09 18:30:26] [INFO] checking and correcting permissions on existing 
directory /var/lib/postgresql/9.1/main/ ...
[2014-05-09 18:30:26] [INFO] standby clone: master control file 
'/var/lib/postgresql/9.1/main/global/pg_control'
[2014-05-09 18:30:26] [INFO] standby clone: master control file 
'/var/lib/postgresql/9.1/main/global/pg_control'
[2014-05-09 18:30:26] [INFO] rsync command line:  'rsync --archive --checksum 
--compress --progress --rsh=ssh 
postgres@pgmaster:/var/lib/postgresql/9.1/main/global/pg_control 
/var/lib/postgresql/9.1/main//global'
bash: rsync: no se encontró la orden
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) 
[Receiver=3.0.9]
[2014-05-09 18:30:27] [ERROR] Can't rsync from remote file or directory 
(postgres@pgmaster:/var/lib/postgresql/9.1/main/global/pg_control)
[2014-05-09 18:30:27] [WARNING] standby clone: failed copying master control 
file '/var/lib/postgresql/9.1/main/global/pg_control'
[2014-05-09 18:30:27] [NOTICE] Finishing backup...
NOTICE:  pg_stop_backup completado, todos los segmentos de WAL requeridos han 
sido archivados
[2014-05-09 18:30:28] [INFO] repmgr requires primary to keep WAL files 
000000010000000000000012 until at least 000000010000000000000012
[2014-05-09 18:30:28] [ERROR] Couldn't rsync the master...
You have to cleanup the destination directory (/var/lib/postgresql/9.1/main/) 
manually!


----- Mensaje original -----
De: "Yoan Manuel Pérez Piñero" <[email protected]>
Para: "Jaime Casanova" <[email protected]>
CC: "POSTGRES" <[email protected]>
Enviados: Viernes, 9 de Mayo 2014 17:27:17
Asunto: Re: [pgsql-es-ayuda] Instalando repmgr

Ya era que me faltaba isntalar build-essential ;-)
Ahora tengo una duda, porque en un paso dice que se debe borrar toda la data en 
el esclavo, me imagino que ahí dentro también se borran el postgresql.conf y el 
pg_hba.conf ??

----- Mensaje original -----
De: "Jaime Casanova" <[email protected]>
Para: "Yoan Manuel Pérez Piñero" <[email protected]>
CC: "POSTGRES" <[email protected]>
Enviados: Viernes, 9 de Mayo 2014 17:23:08
Asunto: Re: [pgsql-es-ayuda] Instalando repmgr

2014-05-09 16:26 GMT-05:00 Yoan Manuel Pérez Piñero <[email protected]>:
> Hola amigos, estoy intentando instalar repmgr, cuando le paso el comando
> para compilar  me dice que no encuentra la orden
> root@pgslave:/tmp/repmgr-2.0# make USE_PGXS=1
> -bash: make: no se encontró la orden
>

y si tienes instalado el paquete make? make es un paquete que instalas
desde el sistema operativo y no un comando de repmgr.

en debian con root puedes instalarlo ejecutando: aptitude install make

-- 
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación
Phone: +593 4 5107566         Cell: +593 987171157
VII Escuela Internacional de Verano en la UCI del 30 de junio al 11 de julio de 
2014. Ver www.uci.cu

-
Enviado a la lista de correo pgsql-es-ayuda ([email protected])
Para cambiar tu suscripci�n:
http://www.postgresql.org/mailpref/pgsql-es-ayuda
VII Escuela Internacional de Verano en la UCI del 30 de junio al 11 de julio de 
2014. Ver www.uci.cu

-
Enviado a la lista de correo pgsql-es-ayuda ([email protected])
Para cambiar tu suscripci�n:
http://www.postgresql.org/mailpref/pgsql-es-ayuda

Responder a