pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Haluk Durmus <haluk_durmus@yahoo.de>
To: pgsql-admin@postgresql.org
Subject: initdb  causes Segmentation fault
Date: Sun, 15 Feb 2009 22:34:07 +0000 (GMT)
Message-ID: <101381.16138.qm@web25705.mail.ukl.yahoo.com> (raw)


I'm running  ubuntu 8.04 on

a Linux 2.6.24-22-generic #1 SMP Mon Nov 24 19:35:06 UTC 2008 x86_64 GNU/Linux
machine.

there was same porblem with preinstalation of progres and superuser.
So I tried to solve it by reinstall postgres 8.3 with apt-get  after removing it with  
sudo apt-get --purge remove $(aptitude search postgres|awk '/^i/{gsub(/^i.../,"");print}'|awk '{print $1}')

but results in segmentation fault when it comes to call initdb.

I downloaded PostgreSQL 8.3.6 single click installer which had also problems with initialization.

So I downloaded the source of   PostgreSQL 8.3.6 and compiled and installed it.
But again when I have to run 

/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data

it ends with Segmentation fault.

output of strace:

12050 --- SIGCHLD (Child exited) @ 0 (0) ---
12050 munmap(0x7f062d3d7000, 4096)      = 0
12050 geteuid()                         = 1000
12050 open("/etc/passwd", O_RDONLY|0x80000 /* O_??? */) = -1 EACCES (Permission denied)
12050 geteuid()                         = 1000
12050 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
12050 +++ killed by SIGSEGV +++


thx in advance,
Haluk


      



view thread (3+ messages)  latest in thread

Message-ID: <101381.16138.qm@web25705.mail.ukl.yahoo.com>
Permalink:  ../101381.16138.qm@web25705.mail.ukl.yahoo.com/
Also on:    postgresql.org/message-id/101381.16138.qm@web25705.mail.ukl.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: haluk_durmus@yahoo.de
  Subject: Re: initdb  causes Segmentation fault
  In-Reply-To: <101381.16138.qm@web25705.mail.ukl.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox