[Pgpool-general] online recovery fails on HPUX
Jose Mendoza
jose.mendoza at autonomy.com
Wed Aug 31 16:58:36 UTC 2011
What does your pgpool.conf say about logging:
# Logging directory
logdir = '/var/log'
Jose
Autonomy Ops
verificare tua hinc
From: pgpool-general-bounces at pgfoundry.org
[mailto:pgpool-general-bounces at pgfoundry.org] On Behalf Of Sandeep
Thakkar
Sent: Wednesday, August 31, 2011 4:58 AM
To: Sandeep Thakkar; pgpool-general at pgfoundry.org
Subject: Re: [Pgpool-general] online recovery fails on HPUX
I see following two lines when the pcp_recovery_node is fired.. Also, I
cannot find recovery.log, but recovery.conf is present in standby
cluster directory..
....
2011-08-31 05:49:22 LOG: pid 20430: starting recovering node 1
2011-08-31 05:49:22 ERROR: pid 20430: start_recover: could not connect
master node.
....
The pg_hba.conf has the following entry:
# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 trust
host replication edb 127.0.0.1/32
trust
________________________________
From: Sandeep Thakkar <sandeeptt at yahoo.com>
To: "pgpool-general at pgfoundry.org" <pgpool-general at pgfoundry.org>
Sent: Tuesday, August 30, 2011 2:44 PM
Subject: [Pgpool-general] online recovery fails on HPUX
Hi,
I'm using Postgres Plus Advanced Server on HP-UX 11.31 and found that
the online recovery does not work here.
pgPool version is 3.0.3-4
$pcp_recovery_node -d 20 localhost 9898 edb edb 1
DEBUG: send: tos="R", len=41
DEBUG: recv: tos="r", len=21, data=AuthenticationOK
DEBUG: send: tos="D", len=6
DEBUG: recv: tos="e", len=20, data=recovery failed
DEBUG: command failed. reason=recovery failed
BackendError
DEBUG: send: tos="X", len=4
I can see the following in the log:
....
LOG: incomplete startup packet
LOG: connection failed during start up processing: user= database=
....
Moreover, I do not see pgpool_recovery_node statement in the log, so
wondering if it is really getting executed. I have tried my scripts on
Linux and it worked all fine. So, there is no issue with the pgpool.conf
or my basebackup and other files.. Could this be an issue of HPUX?
Thanks.
_______________________________________________
Pgpool-general mailing list
Pgpool-general at pgfoundry.org
http://pgfoundry.org/mailman/listinfo/pgpool-general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pgfoundry.org/pipermail/pgpool-general/attachments/20110831/065e7ad0/attachment.html>
More information about the Pgpool-general
mailing list