
    I've a problem with initdb on beos with the current tree. (The last one 
running clean is one month old).

    when I run initdb, I get the following : 

$ initdb -d -n
Running with debug mode on.
Running with noclean mode on. Mistakes will not be cleaned up.

Initdb variables:
  PGDATA=/boot/home/pgsql/data
  datadir=/boot/home/pgsql/share
  PGPATH=/boot/home/pgsql/bin
  TEMPFILE=/tmp/initdb.9519
  MULTIBYTE=
  MULTIBYTEID=0
  POSTGRES_SUPERUSERNAME=baron
  POSTGRES_SUPERUSERID=1
  TEMPLATE1_BKI=/boot/home/pgsql/share/template1.bki
  GLOBAL_BKI=/boot/home/pgsql/share/global.bki
  TEMPLATE1_DESCR=/boot/home/pgsql/share/template1.description
  GLOBAL_DESCR=/boot/home/pgsql/share/global.description
  POSTGRESQL_CONF_SAMPLE=/boot/home/pgsql/share/postgresql.conf.sample
  PG_HBA_SAMPLE=/boot/home/pgsql/share/pg_hba.conf.sample
  PG_IDENT_SAMPLE=/boot/home/pgsql/share/pg_ident.conf.sample
This database system will be initialized with username "baron".
This user will own all the data files and must also own the server process.

Creating directory /boot/home/pgsql/data
Creating directory /boot/home/pgsql/data/base
Creating directory /boot/home/pgsql/data/global
Creating directory /boot/home/pgsql/data/pg_xlog
Creating template1 database in /boot/home/pgsql/data/base/1
Running: /boot/home/pgsql/bin/postgres -boot -x1 -C -F -D/boot/home/pgsql/
data -d template1
FATAL 2:  InitReopen(logfile 0 seg 0) failed: No such file or directory

initdb failed.
Data directory /boot/home/pgsql/data will not be removed at user's request.              

    any idea ?

        cyril 


Sun, 26 Nov 2000 11:20:01 +0100
Cyril VELTER <cyril.velter@libertysurf.fr>
Initdb not running on beos
Cyril VELTER <cyril.velter@libertysurf.fr> writes:
> FATAL 2:  InitReopen(logfile 0 seg 0) failed: No such file or directory

Does BeOS not support link(2) ?

See XLogFileInit() in src/backend/access/transam/xlog.c.

			regards, tom lane

Mon, 27 Nov 2000 00:32:58 -0500
Tom Lane <tgl@sss.pgh.pa.us>
Re: Initdb not running on beos 