Re: BUG #6627: Error while launching pgAdmin III - Mailing list pgsql-bugs

From Kevin Grittner
Subject Re: BUG #6627: Error while launching pgAdmin III
Date
Msg-id 4FA3A01E0200002500047876@gw.wicourts.gov
Whole thread Raw
In response to Re: BUG #6627: Error while launching pgAdmin III  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #6627: Error while launching pgAdmin III
List pgsql-bugs
Tom Lane <tgl@sss.pgh.pa.us> wrote:
> pooja_khobragade@persistent.co.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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #6627: Error while launching pgAdmin III
Next
From: Milen Lazarov
Date:
Subject: no sufficient privileges to start system service