pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedinitdb fails after installation on Mac OS X 10.2
6+ messages / 5 participants
[nested] [flat]
* initdb fails after installation on Mac OS X 10.2
@ 2003-02-15 22:43 Craig Lawton <clawton@comcast.net>
0 siblings, 1 reply; 6+ messages in thread
From: Craig Lawton @ 2003-02-15 22:43 UTC (permalink / raw)
To: pgsql-admin
I've had PostgreSQL 7.1.3 running (Mac OS X) for a while. I recently
upgraded to MAC OS X 10.2 (and it appeared that my 7.1.3 install of
PostgreSQL no longer works). So I've been trying to upgrade to 7.3.
The installation package ran fine. However, when I ran the initdb
command, it failed. The only thing I did in preparation for installing
7.3 was to wipe the contents of /usr/local/pgsql/data. This is the
error when I run the following command:
.
.
.
[Craig-Lawtons-Computer:/usr/local/pgsql] postgres%
/usr/local/bin/initdb -D /usr/local/pgsql/data
The files belonging to this database system will be owned by user
"postgres".
This user must also own the server process.
The database cluster will be initialized with locale C.
Fixing permissions on existing directory /usr/local/pgsql/data... ok
creating directory /usr/local/pgsql/data/base... ok
creating directory /usr/local/pgsql/data/global... ok
creating directory /usr/local/pgsql/data/pg_xlog... ok
creating directory /usr/local/pgsql/data/pg_clog... ok
creating template1 database in /usr/local/pgsql/data/base/1... dyld:
/usr/local/bin/postgres Undefined symbols:
/usr/local/bin/postgres undefined reference to _crypt expected to be
defined in /usr/lib/libcrypto.0.9.dylib
/usr/local/bin/initdb: line 582: 2642 Trace/BPT trap
"$PGPATH"/postgres -boot -x1 $PGSQL_OPT $BACKEND_TALK_ARG template1
initdb failed.
.
.
.
Any help would be greatly appreciated.
Thanks,
Craig Lawton
^ permalink raw reply [nested|flat] 6+ messages in thread
* initdb fails after installation on Mac OS X 10.2
@ 2003-02-15 23:03 lawtoc@earthlink.net
0 siblings, 1 reply; 6+ messages in thread
From: lawtoc@earthlink.net @ 2003-02-15 23:03 UTC (permalink / raw)
To: pgsql-admin
I've had PostgreSQL 7.1.3 running (Mac OS X) for a while. I recently upgraded to MAC OS X 10.2 (and it appeared that my 7.1.3 install of PostgreSQL no longer works). So I've been trying to upgrade to 7.3. The installation package ran fine. However, when I ran the initdb command, it failed. The only thing I did in preparation for installing 7.3 was to wipe the contents of /usr/local/pgsql/data. This is the error when I run the following command:
.
.
.
[Craig-Lawtons-Computer:/usr/local/pgsql] postgres% /usr/local/bin/initdb -D /usr/local/pgsql/data
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale C.
Fixing permissions on existing directory /usr/local/pgsql/data... ok
creating directory /usr/local/pgsql/data/base... ok
creating directory /usr/local/pgsql/data/global... ok
creating directory /usr/local/pgsql/data/pg_xlog... ok
creating directory /usr/local/pgsql/data/pg_clog... ok
creating template1 database in /usr/local/pgsql/data/base/1... dyld: /usr/local/bin/postgres Undefined symbols:
/usr/local/bin/postgres undefined reference to _crypt expected to be defined in /usr/lib/libcrypto.0.9.dylib
/usr/local/bin/initdb: line 582: 2642 Trace/BPT trap "$PGPATH"/postgres -boot -x1 $PGSQL_OPT $BACKEND_TALK_ARG template1
initdb failed.
.
.
.
Any help would be greatly appreciated.
Thanks,
Craig Lawton
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: initdb fails after installation on Mac OS X 10.2
@ 2003-02-16 03:04 Tom Lane <tgl@sss.pgh.pa.us>
parent: lawtoc@earthlink.net
0 siblings, 0 replies; 6+ messages in thread
From: Tom Lane @ 2003-02-16 03:04 UTC (permalink / raw)
To: lawtoc@earthlink.net; +Cc: pgsql-admin
lawtoc@earthlink.net writes:
> So I've been trying to upgrade to 7.3.
> The installation package ran fine. However, when I ran the initdb
> command, it failed.
It looks like the package you are using expects libcrypto version 0.9,
and you have either no libcrypto or a different version installed.
If you cannot get hold of the expected version of libcrypto, recompiling
PG from source is the best bet.
regards, tom lane
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: initdb fails after installation on Mac OS X 10.2
@ 2003-02-20 21:15 Robert Treat <xzilla@users.sourceforge.net>
parent: Craig Lawton <clawton@comcast.net>
0 siblings, 0 replies; 6+ messages in thread
From: Robert Treat @ 2003-02-20 21:15 UTC (permalink / raw)
To: Craig Lawton <clawton@comcast.net>; +Cc: pgsql-admin
On Sat, 2003-02-15 at 17:43, Craig Lawton wrote:
> I've had PostgreSQL 7.1.3 running (Mac OS X) for a while. I recently
> upgraded to MAC OS X 10.2 (and it appeared that my 7.1.3 install of
> PostgreSQL no longer works). So I've been trying to upgrade to 7.3.
> The installation package ran fine. However, when I ran the initdb
> command, it failed. The only thing I did in preparation for installing
> 7.3 was to wipe the contents of /usr/local/pgsql/data. This is the
> error when I run the following command:
> .
> [Craig-Lawtons-Computer:/usr/local/pgsql] postgres%
> /usr/local/bin/initdb -D /usr/local/pgsql/data
> The files belonging to this database system will be owned by user
> "postgres".
> This user must also own the server process.
>
> The database cluster will be initialized with locale C.
>
> Fixing permissions on existing directory /usr/local/pgsql/data... ok
> creating directory /usr/local/pgsql/data/base... ok
> creating directory /usr/local/pgsql/data/global... ok
> creating directory /usr/local/pgsql/data/pg_xlog... ok
> creating directory /usr/local/pgsql/data/pg_clog... ok
> creating template1 database in /usr/local/pgsql/data/base/1... dyld:
> /usr/local/bin/postgres Undefined symbols:
> /usr/local/bin/postgres undefined reference to _crypt expected to be
> defined in /usr/lib/libcrypto.0.9.dylib
> /usr/local/bin/initdb: line 582: 2642 Trace/BPT trap
> "$PGPATH"/postgres -boot -x1 $PGSQL_OPT $BACKEND_TALK_ARG template1
>
> initdb failed.
> Any help would be greatly appreciated.
>
Try to find out where your libcrypto library is, then reinstall from
scratch, this time checking for the config option for libcrypto (can't
remember which option off hand) and pass in the proper directory.
Robert Treat
^ permalink raw reply [nested|flat] 6+ messages in thread
* initdb fails after installation on Mac OS X 10.2.6
@ 2003-07-17 09:42 Fuat Atabey <atabey@in.tum.de>
0 siblings, 1 reply; 6+ messages in thread
From: Fuat Atabey @ 2003-07-17 09:42 UTC (permalink / raw)
To: pgsql-admin; +Cc: Asa McWilliams <macwilli@in.tum.de>; Fuat Atabey <fuat.ata@gmx.de>; richy <kayali@in.tum.de>; Christian Sandor <sandor@in.tum.de>; Martin Wagner <wagnerm@in.tum.de>; Andi Loehr <aloehr@inmedius.de>
Hello,
i installed postgre 7.3.3. I used the Installation Instruction of
postgre.org. The installation ran fine. However, when I ran the initdb
command, it failed. The latest Apple Security Updates are installed. I
changed the prefix to a local user account, because i have no admin
rights.
This is the error when I run the following command:
./configure --with-includes=/sw/include/ --with-libraries=/sw/lib
--prefix=/private/Network/Servers/macbruegge7/Volumes/raid/Users/
atabey/Applications/pgsql
make
make install
"go to Folder pgsql"
[macbruegge65:~/Applications/pgsql] atabey% bin/initdb -D data
The files belonging to this database system will be owned by user
"atabey".
This user must also own the server process.
The database cluster will be initialized with locale en_US.
This locale setting will prevent the use of indexes for pattern matching
operations. If that is a concern, rerun initdb with the collation order
set to "C". For more information see the Administrator's Guide.
Fixing permissions on existing directory data... ok
creating directory data/base... ok
creating directory data/global... ok
creating directory data/pg_xlog... ok
creating directory data/pg_clog... ok
creating template1 database in data/base/1... bin/initdb: line 582:
7349 Abort trap "$PGPATH"/postgres -boot -x1 $PGSQL_OPT
$BACKEND_TALK_ARG template1
initdb failed.
.
.
.
Any help wold be greatly appreciated.
Thanks,
Fuat Atabey
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: initdb fails after installation on Mac OS X 10.2.6
@ 2003-07-20 04:52 Tom Lane <tgl@sss.pgh.pa.us>
parent: Fuat Atabey <atabey@in.tum.de>
0 siblings, 0 replies; 6+ messages in thread
From: Tom Lane @ 2003-07-20 04:52 UTC (permalink / raw)
To: Fuat Atabey <atabey@in.tum.de>; +Cc: pgsql-admin@postgresql.org, Asa McWilliams <macwilli@in.tum.de>; Fuat Atabey <fuat.ata@gmx.de>; richy <kayali@in.tum.de>; Christian Sandor <sandor@in.tum.de>; Martin Wagner <wagnerm@in.tum.de>; Andi Loehr <aloehr@inmedius.de>
Fuat Atabey <atabey@in.tum.de> writes:
> [macbruegge65:~/Applications/pgsql] atabey% bin/initdb -D data
> ...
> creating template1 database in data/base/1... bin/initdb: line 582:
> 7349 Abort trap "$PGPATH"/postgres -boot -x1 $PGSQL_OPT
> $BACKEND_TALK_ARG template1
> initdb failed.
Hmm ... the "abort" bit is odd, seeing that you didn't configure with
--enable-cassert. Is there a core file? If so, can you get a stack
trace from it?
Also, does it work any better if you specify an absolute rather than
relative path in -D ?
regards, tom lane
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2003-07-20 04:52 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-02-15 22:43 initdb fails after installation on Mac OS X 10.2 Craig Lawton <clawton@comcast.net>
2003-02-20 21:15 ` Robert Treat <xzilla@users.sourceforge.net>
2003-02-15 23:03 initdb fails after installation on Mac OS X 10.2 lawtoc@earthlink.net
2003-02-16 03:04 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-07-17 09:42 initdb fails after installation on Mac OS X 10.2.6 Fuat Atabey <atabey@in.tum.de>
2003-07-20 04:52 ` Re: initdb fails after installation on Mac OS X 10.2.6 Tom Lane <tgl@sss.pgh.pa.us>
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