From: | "Ing(dot) Marcos Ortiz Valmaseda" <mlortiz(at)uci(dot)cu> |
---|---|
To: | Miguel Angel Hernandez Moreno <miguel(dot)hdz(dot)mrn(at)gmail(dot)com> |
Cc: | pgsql-es-ayuda(at)postgresql(dot)org |
Subject: | Re: ayuda con pcp_recovery_node |
Date: | 2010-03-16 17:53:25 |
Message-ID: | 4B9FC595.7080302@uci.cu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
Miguel Angel Hernandez Moreno escribió:
> hola compañeros
>
> estoy tratando de recuperar los nodos y no me funciona el comando
> pcp_recovery_node
>
> e estado leyendo el codigo y me doy cuenta de que me faltan scripts
> para su ejecucion
>
> como
> /usr/bin/logger
>
> /usr/bin/pg_ctlcluster
>
>
> y de hecho me marca otro error me dice que el escript
> pgpool_remote_start no existe
>
> cuando si lo tengo en mi libreria con los demas scripts en
> /var/lib/pgsql/data ahi estan todos
>
> hospedados y no e encontrado a que se daba esta situación. este es el
> codigo de error
>
> que me arroja cuando hago un pcp_recovery_node
>
> 2010-03-16 11:25:29 DEBUG: pid 7728: I am PCP 7728 accept fd 5
> 2010-03-16 11:25:29 DEBUG: pid 7728: pcp_child: received PCP packet
> type of service 'M'
> 2010-03-16 11:25:29 DEBUG: pid 7728: pcp_child: salt sent to the client
> 2010-03-16 11:25:29 DEBUG: pid 7728: pcp_child: received PCP packet
> type of service 'R'
> 2010-03-16 11:25:29 DEBUG: pid 7728: pcp_child: authentication OK
> 2010-03-16 11:25:29 DEBUG: pid 7728: pcp_child: received PCP packet
> type of service 'O'
> 2010-03-16 11:25:29 DEBUG: pid 7728: pcp_child: start online recovery
> 2010-03-16 11:25:29 LOG: pid 7728: starting recovering node 1
> 2010-03-16 11:25:29 DEBUG: pid 7728: exec_checkpoint: start checkpoint
> 2010-03-16 11:25:29 DEBUG: pid 7728: exec_checkpoint: finish checkpoint
> 2010-03-16 11:25:29 LOG: pid 7728: CHECKPOINT in the 1st stage done
> 2010-03-16 11:25:29 LOG: pid 7728: 1st stage is done
> 2010-03-16 11:25:29 LOG: pid 7728: starting 2nd stage
> 2010-03-16 11:25:29 LOG: pid 7728: all connections from clients have
> been closed
> 2010-03-16 11:25:29 DEBUG: pid 7728: exec_checkpoint: start checkpoint
> 2010-03-16 11:25:29 DEBUG: pid 7728: exec_checkpoint: finish checkpoint
> 2010-03-16 11:25:29 LOG: pid 7728: CHECKPOINT in the 2nd stage done
> 2010-03-16 11:25:29 DEBUG: pid 7728: exec_remote_start: start
> pgpool_remote_start
> *2010-03-16 11:25:29 ERROR: pid 7728: exec_remote_start:
> pgpool_remote_start failed: ERROR: no existe la función
> pgpool_remote_start(unknown, unknown)
> LINE 1: SELECT pgpool_remote_start('pgsql2', '/var/lib/pgsql/data')
> ^
> HINT: Ninguna función coincide en el nombre y tipos de argumentos.
> Puede desear agregar conversión explícita de tipos.*
>
> 2010-03-16 11:25:29 DEBUG: pid 7728: exec_remote_start: finish
> pgpool_remote_start
> 2010-03-16 11:25:29 ERROR: pid 7728: start_recovery: remote start failed
> 2010-03-16 11:25:29 DEBUG: pid 7728: pcp_child: received PCP packet
> type of service 'X'
> 2010-03-16 11:25:29 DEBUG: pid 7728: pcp_child: client disconnecting.
> close connection
>
> Espero que alguien me pueda ayudar de antemano muchas gracias!!
O sea , no es tener el script en tu carpeta, sino tener las funciones
instaladas en tu server de PostgreSQL.
Cuando terminaste instalar o compilar pgpool-II ¿instalaste
pgpool-recovery en tu server de PostgreSQL?
saludos
--
--------------------------------------------------------
-- Ing. Marcos Luís Ortíz Valmaseda --
-- Twitter: http://twitter.com/@marcosluis2186 --
-- FreeBSD Fan/User --
-- http://www.freebsd.org/es --
-- Linux User # 418229 --
-- Database Architect/Administrator --
-- PostgreSQL RDBMS --
-- http://www.postgresql.org --
-- http://planetpostgresql.org --
-- http://www.postgresql-es.org --
--------------------------------------------------------
-- Data WareHouse -- Business Intelligence Apprentice --
-- http://www.tdwi.org --
--------------------------------------------------------
-- Ruby on Rails Fan/Developer --
-- http://rubyonrails.org --
--------------------------------------------------------
Comunidad Técnica Cubana de PostgreSQL
http://postgresql.uci.cu
http://personas.grm.uci.cu/+marcos
Centro de Tecnologías de Gestión de Datos (DATEC)
Contacto:
Correo: centalad(at)uci(dot)cu
Telf: +53 07-837-3737
+53 07-837-3714
Universidad de las Ciencias Informáticas
http://www.uci.cu
From | Date | Subject | |
---|---|---|---|
Next Message | Oswaldo Hernández | 2010-03-16 18:06:25 | Re: Sobre pg_advisory_locks |
Previous Message | Carlos Ruiz | 2010-03-16 17:45:42 | [OT] Fecha definitivas JSRL2010 |