Hi guys,
i have problem with using initdb...
i run commands...but it gives error...
Can you help me?
$ipc-daemon2 &
$ initdb -d -W -E LATIN1
Running in debug mode.
initdb: internal variables:
PGDATA=/usr/local/pgsql/data
datadir=/usr/share/postgresql
PGPATH=/usr/bin
ENCODING=LATIN1
ENCODINGID=8
POSTGRES_SUPERUSERNAME=zadm-zhakassov
POSTGRES_BKI=/usr/share/postgresql/postgres.bki
POSTGRES_DESCR=/usr/share/postgresql/postgres.description
POSTGRESQL_CONF_SAMPLE=/usr/share/postgresql/postgresql.conf.sampl
PG_HBA_SAMPLE=/usr/share/postgresql/pg_hba.conf.sample
PG_IDENT_SAMPLE=/usr/share/postgresql/pg_ident.conf.sample
The files belonging to this database system will be owned by user "z
v".
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/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
selecting default max_connections... Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
10
selecting default shared_buffers... Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
Signal 12
50
creating configuration files... ok
creating template1 database in /usr/local/pgsql/data/base/1... DEBUG
IpcMemoryCreate(size=1081344)
Signal 12
initdb: failed
initdb: removing data directory "/usr/local/pgsql/data"