Re: postgres fails to start
If each slave is on its own drive, the problem slave may be on a
corrupted drive. If the corruption happens in the right place on that
drive that would probably explain your difficulty.
On Tue, 12 Jul 2011, kuLa wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Hi all,
> I'm having crazy problem which I can't solve.
> Basically I have 12 sets (master + slave) of postgres on Lenny. Master
> is shipping WAL files into slaves where they are applied. Easy pesy
> works perfectly, except 1 set where I even can't bring up postgres on slave.
> Info I'm receiving is:
> Starting PostgreSQL 8.3 database server: mainError: Could not parse
> locale out of pg_controldata output failed!
> which is fair enough specially when I'm running:
> /usr/lib/postgresql/8.3/bin/pg_controldata [my data dir]
> i have only following info:
> WARNING: Calculated CRC checksum does not match value stored in file.
> Either the file is corrupt, or it has a different layout than this program
> is expecting. The results below are untrustworthy.
> Segmentation fault
> but when doing that on other slaves I have proper output.
> As I have no idea what's wrong with this set up any hints/ideas are welcome.
> - --
> |_|0|_| |
> |_|_|0| "Heghlu'Meh QaQ jajVam" |
> |0|0|0| -------- kuLa --------- |
> gpg --keyserver pgp.mit.edu --recv-keys 0xC100B4CA
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> -----END PGP SIGNATURE-----