Mantis - postgresql84_client
Viewing Issue Advanced Details
5026 minor have not tried 2012-11-26 13:06 2013-10-27 09:02
cgrzemba  
raos  
normal  
closed  
fixed  
none    
none  
0005026: FATAL: incorrect checksum in control file
If I start the DB with the linked command: pg_ctl-84, I got the error:

 FATAL: incorrect checksum in control file

if I use the command pg_ctl in /opt/csw/libexec/postgresql/84 all works fine.
SunOS davical 5.11 11.0 i86pc i386 i86pc
application CSWlibpq libpq - libraries needed by postgresql server and clients
application CSWpostgresql84 postgresql84 - PostgreSQL 8.4.14, Meta Package
application CSWpostgresql84-client postgresql84_client - PostgreSQL 8.4.14, Client
application CSWpostgresql84-contrib postgresql84_contrib - PostgreSQL 8.4.14, Contrib
application CSWpostgresql84-server postgresql84_server - PostgreSQL 8.4.14, Server
Issue History
2012-11-26 13:06 cgrzemba New Issue
2012-12-09 18:48 raos Note Added: 0010239
2012-12-09 18:48 raos Assigned To => raos
2012-12-09 18:48 raos Status new => feedback
2013-10-27 09:02 raos Note Added: 0010611
2013-10-27 09:02 raos Status feedback => closed
2013-10-27 09:02 raos Resolution open => fixed

Notes
(0010239)
raos   
2012-12-09 18:48   
This sounds like the database cluster has been initialized with 64bit binaries, and now it is tried to run it with 32bit binaries, i.e. 32bit server.

Call

 /opt/csw/sbin/alternatives --config postgresql84-server

and select

 30 /opt/csw/bin/initdb-84 /opt/csw/libexec/postgresql/84/initdb

Does this solve the issue?
(0010611)
raos   
2013-10-27 09:02   
Done