Re: problem with installing postgresql - Mailing list pgsql-admin

From Tom Lane
Subject Re: problem with installing postgresql
Date
Msg-id 1625.1149963900@sss.pgh.pa.us
Whole thread Raw
In response to problem with installing postgresql  (Praveen Kumar N <praveen_n@students.iiit.net>)
List pgsql-admin
Praveen Kumar N <praveen_n@students.iiit.net> writes:
>      i have some problem with installing postgresql.

What platform are you on exactly, and which version of postgres is this?
Did you compile it yourself --- if so, with what compiler and configure
options?  If not, where did you get the executables from?

> creating template1 database in /usr/local/pgsql/Data/base/1 ... child
> process was terminated by signal 11
> initdb: removing contents of data directory "/usr/local/pgsql/Data"

The most direct way to get some info about that would be to run initdb
with the --noclean option so that it doesn't throw away the failed data
directory, and then use gdb with the core file that the crashed postgres
process would have left:

    $ gdb /path/to/postgres /path/to/core
    gdb> bt
    ... report what it says here ...
    gdb> quit

If you don't find any core file within the failed data directory, try
running it with "ulimit -c unlimited".

            regards, tom lane

pgsql-admin by date:

Previous
From: Andy Shellam
Date:
Subject: Number formatting
Next
From: "Marc G. Fournier"
Date:
Subject: How are ppl monitoring PostgreSQL ... ? What is being monitored ... ?