[Pgpool-general] pcp_recovery_node return error code 5

e-robles L puimino at gmail.com
Sun May 16 21:24:46 UTC 2010


Hi!
briefly:
i have the  next exit code  of  pcp_recovery_node  (5 -  error  writting on
server ) but i don't have an idea on which step of writing  data  to server
happens or  how  avoid it.

 a little more detail:
0.- i have a  pgsql1 (backend 0 /master) and pgsql2 (backend 1
/replication), pgpool-II  2.2.6
1. disconnect the pgsql1  host from network, and pgpool enter in
degeneration mode.
2.- before  execute the pcp_recovery_node , I make sure  that postgresql is
not  running on pgsql1  (even stop)
3.-  run pcp_recovery_node:  pcp_recovery_node 5 pgsql1 9898 root   passwd 1
4.-  then pgpool run all the 2 stages even  the postgres  is start up.

:-(  But pcp_recovery_node exit  with 0,

5.- restart pgpool (because some  apps remains stucked):
#pgpool -m i stop ;  pgpool

6.- pgpool  enter en degenration again   instead   starts ok....


Regards....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pgfoundry.org/pipermail/pgpool-general/attachments/20100516/48a70fd1/attachment.html>


More information about the Pgpool-general mailing list