Re: BUG #6627: Error while launching pgAdmin III

From: Pooja Khobragade <Pooja_Khobragade(at)persistent(dot)co(dot)in>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #6627: Error while launching pgAdmin III
Date: 2012-05-07 12:35:19
Message-ID: EDFE5AF938B39946802BA9885D537A722005BBFF@HJ-MBX1.persistent.co.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom & Kevin,

Thanks for your reply. I guess I get this error because there are two versions of postgreSQL installed on the same machine.

Regards,
Pooja

-----Original Message-----
From: Kevin Grittner [mailto:Kevin(dot)Grittner(at)wicourts(dot)gov]
Sent: Friday, May 04, 2012 7:54 PM
To: Pooja Khobragade; Tom Lane
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: [BUGS] BUG #6627: Error while launching pgAdmin III

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

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message picard_alfa_uno 2012-05-07 13:14:29 BUG #6631: Error Intalation
Previous Message Amit Kapila 2012-05-07 00:43:40 Re: no sufficient privileges to start system service