Re: PostgreSQL 9.2.4 + CentOS 6.5 64 bit - segfault error in initdb

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: Bhushan Pathak <bhushan(dot)pathak02(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL 9.2.4 + CentOS 6.5 64 bit - segfault error in initdb
Date: 2014-06-04 12:32:41
Message-ID: 1401885161.2889.22.camel@asus-laptop-03.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hi,
On Wed, 2014-06-04 at 17:50 +0530, Bhushan Pathak wrote:

> The RPM get installed successfully, but when I issue the "service
> postgresql-9.2 initdb" command, it gets stuck for 5-10 minutes & then
> says failed. The pgstartup.log file has only 1 line -
> Segmentation fault (core dumped)

Can you please edit /etc/init.d/postgresql-9.2, go to line 235 which is
like this:

http://svn.pgrpms.org/browser/rpm/redhat/9.2/postgresql/EL-6/postgresql.init#L235

and then add -d parameter after initdb, and run it again? This will
throw debug messages to log file, which may give input to the people who
can find out the issue.

Regards,

--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2014-06-04 13:34:13 Re: PostgreSQL 9.2.4 + CentOS 6.5 64 bit - segfault error in initdb
Previous Message David G Johnston 2014-06-04 12:20:53 Re: Migrating from 9.2.4 to 9.3.0 with XML DOCTYPE