Skip site navigation (1) Skip section navigation (2)

initdb fails on ultra2 sparc64, freebsd 5.4

From: David Walker <david(at)cosmicfires(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: initdb fails on ultra2 sparc64, freebsd 5.4
Date: 2005-05-13 05:00:51
Message-ID: 20050513050051.6C14DDAD@daahman.cosmicfires.com (view raw or flat)
Thread:
Lists: pgsql-bugs
On a Sun ultra2 sparc64 initdb hangs here:

$ initdb -D /usr/local/pgsql/data
The files belonging to this database system will be owned by user "pgsql".
This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /usr/local/pgsql/data ... 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_xlog/archive_status ... ok
creating directory /usr/local/pgsql/data/pg_clog ... ok
creating directory /usr/local/pgsql/data/pg_subtrans ... ok
creating directory /usr/local/pgsql/data/base ... ok
creating directory /usr/local/pgsql/data/base/1 ... ok
creating directory /usr/local/pgsql/data/pg_tblspc ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 1000
creating configuration files ... ok
creating template1 database in /usr/local/pgsql/data/base/1 ...

After killing initdb with ^C postgres is still running
 PID USERNAME PRI NICE   SIZE    RES STATE    TIME   WCPU    CPU COMMAND
 23061 pgsql     -8    0 30264K  8984K piperd   0:10  0.00%  0.00% postgres

$ uname -a
FreeBSD ultra2 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 22:21:34 UTC 
2005    root(at)binkley(dot)cse(dot)buffalo(dot)edu:/usr/obj/usr/src/sys/GENERIC  sparc64

$ gcc -v
Using built-in specs.
Configured with: FreeBSD/sparc64 system compiler
Thread model: posix
gcc version 3.4.2 [FreeBSD] 20040728


PostgreSQL config.status 8.0.3
configured by ./configure, generated by GNU Autoconf 2.53,
  with options \"'--with-libraries=/usr/local/lib' 
'--with-includes=/usr/local/i
nclude' '--with-docdir=/usr/local/share/doc/postgresql' '--with-openssl' 
'--disa
ble-nls' '--enable-thread-safety' '--prefix=/usr/local' 
'sparc64-portbld-freebsd
5.4' 'LDFLAGS= -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib' 'CFLAGS=-O 
-pipe
 ' 'CPPFLAGS=-I/usr/local/include' 'host_alias=sparc64-portbld-freebsd5.4' 
'buil
d_alias=sparc64-portbld-freebsd5.4' 'target_alias=sparc64-portbld-freebsd5.4' 
'C
C=cc'\"

David
--
http://howto.mainstreamlinux.com



Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2005-05-13 05:07:20
Subject: Re: initdb fails on ultra2 sparc64, freebsd 5.4
Previous:From: Jim RamseyDate: 2005-05-12 21:41:49
Subject: BUG #1667: Corrupt zipfile

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group