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