Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 21FA6B5DBFC for ; Tue, 9 Aug 2011 00:00:26 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 47499-09 for ; Tue, 9 Aug 2011 03:00:18 +0000 (UTC) X-Greylist: delayed 00:07:48.027915 by SQLgrey-1.7.6 Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.216.174]) by mail.postgresql.org (Postfix) with ESMTP id 47F21B5DBE6 for ; Tue, 9 Aug 2011 00:00:18 -0300 (ADT) Received: by qyk38 with SMTP id 38so1991621qyk.19 for ; Mon, 08 Aug 2011 20:00:17 -0700 (PDT) Received: by 10.224.210.197 with SMTP id gl5mr4452107qab.303.1312858349077; Mon, 08 Aug 2011 19:52:29 -0700 (PDT) Received: from [10.1.1.11] (124-169-60-241.dyn.iinet.net.au [124.169.60.241]) by mx.google.com with ESMTPS id w18sm3826765qac.3.2011.08.08.19.52.20 (version=SSLv3 cipher=OTHER); Mon, 08 Aug 2011 19:52:28 -0700 (PDT) Message-ID: <4E40A0DD.3090400@ringerc.id.au> Date: Tue, 09 Aug 2011 10:52:13 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Venkat Balaji CC: pgsql-admin@postgresql.org Subject: Re: Postgresql 9.0.1 installation error References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201108/31 X-Sequence-Number: 38018 On 8/08/2011 7:11 PM, Venkat Balaji wrote: > We had installed PostgreSQL9.0.1 for which i had executed the below > commands - > > ./configure --with-openssl --prefix=/opt/Postgresql9.0.1/ > make install > installed successfully OK, you're building Pg from source rather than using packages provided by EDB or your operating system. Fair enough, albeit somewhat unusual for many production setups. > When i said "./psql -p 5445", I am getting the below error The most likely cause is that the dynamic linker is using a different library than what Pg was compiled against for libssl, libpg, or something like that. You have neglected to mention the platform you're using or any of the other important data, so it's hard to give any more detailed instructions about how to track the issue down. It'd help if you mentioned what OS you were using, whether you uninstalled/deleted any prior versions of Pg, what your LD_LIBRARY_PATH is, what `ldd' reports when run on psql, etc. > [postgres@warehouse1 bin]$ ./psql -p 5445 > LOG: unexpected EOF on client connection > Segmentation fault Most likely you have linkage problems, but if not it'd help if you'd get a backtrace of that client crash. Assuming you're on a machine with gdb: gdb --args ./psql -p 5445 (gdb) run .... blah blah .... terminated with SIGSEGV (Segmentation fault) (gdb) bt > 2. The same version of PostgreSQL was installed in the same server in a > different location and is working fine without any issues - > 3. Postgres process is running fine. When i am connecting from a > different PG installer bin directory, > I am able to connect. It's *EXTREMELY* likely to be an issue where you're linking to a different libpq possibly compiled with different options, then. -- Craig Ringer