initializing the DB cluster

initializing the DB cluster

am 23.05.2007 07:44:51 von Islam Hegazy

This is a multi-part message in MIME format.

------=_NextPart_000_0003_01C79CCB.30984C50
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all

I installed the source of PostgreSQL 8.2.3 on a linux machine. The =
installation process ended successfully but when I try to create the =
database cluster using the initdb command I get the following error:
"
creating conversions ... sh: line 1: 1838 Segmentation fault =
(core dumped) "/home/grads/imehegaz/MyPostgreSQL/bin/postgres" --single =
-F -O -c search_path=3Dpg_catalog -c exit_on_error=3Dtrue template1 =
>/dev/null
child process exited with exit code 139
"
I installed the same source code before several time but this is =
the first time to get this error. Any idea of what could be the problem?

Regards
Islam Hegazy=20

------=_NextPart_000_0003_01C79CCB.30984C50
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable



charset=3Diso-8859-1">










Hi all

 

I installed the source of =
PostgreSQL 8.2.3 on=20
a linux machine. The installation process ended successfully but =
when I=20
try to create the database cluster using the initdb =
command I get=20
the following error:

"

creating conversions ... sh: line =
1: =20
1838 Segmentation fault      (core =
dumped)=20
"/home/grads/imehegaz/MyPostgreSQL/bin/postgres" --single -F -O -c =

search_path=3Dpg_catalog -c exit_on_error=3Dtrue template1=20
>/dev/null
child process exited with exit code =
139
"

I installed the same source code =
before=20
several time but this is the first time to get this error. Any =
idea of=20
what could be the problem?

 

Regards

Islam=20
=
Hegazy
BODY>

------=_NextPart_000_0003_01C79CCB.30984C50--

Re: initializing the DB cluster

am 23.05.2007 15:38:26 von Tom Lane

"Islam Hegazy" writes:
> I installed the source of PostgreSQL 8.2.3 on a linux machine. The =
> installation process ended successfully but when I try to create the =
> database cluster using the initdb command I get the following error:
> "
> creating conversions ... sh: line 1: 1838 Segmentation fault =
> (core dumped) "/home/grads/imehegaz/MyPostgreSQL/bin/postgres" --single =
> -F -O -c search_path=3Dpg_catalog -c exit_on_error=3Dtrue template1 =
>> /dev/null
> child process exited with exit code 139

A segfault at the "creating conversions" step suggests a problem with
compatibility of shared libraries (because that's the first step that
tries to pull in any dynamically-loaded modules). Probably it's
finding .so's that are for some other Postgres version. Check rpath
etc.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org