Re: BUG #6627: Error while launching pgAdmin III

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <pooja_khobragade(at)persistent(dot)co(dot)in>,"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #6627: Error while launching pgAdmin III
Date: 2012-05-04 14:23:42
Message-ID: 4FA3A01E0200002500047876@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> pooja_khobragade(at)persistent(dot)co(dot)in writes:
>> Error while connecting to server FATAL: shmemindex size is wrong
>> for datastructure xlog ctl : expected xxx actaul xxx
>
> That's an interesting one. The only theory that comes to mind is
> that you've got multiple versions of Postgres installed on your
> machine, and when the postmaster tries to launch a subprocess, the
> wrong copy of postgres.exe is being selected for some reason. Or
> possibly you updated in place and didn't restart the postmaster?

Just so the OP is aware, running pg_ctl with the restart option is
generally not adequate to prevent problems with an update, in place
or not. The postmaster must be stopped and then started. Some
service scripts may do that, others don't. So the safe thing,
unless you know exactly how your service script is written, is to
stop and then start again.

-Kevin

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Milen Lazarov 2012-05-04 19:10:32 no sufficient privileges to start system service
Previous Message Tom Lane 2012-05-04 14:00:29 Re: BUG #6627: Error while launching pgAdmin III