Обсуждение: initdb fails

Поиск
Список
Период
Сортировка

initdb fails

От
Tom Burns
Дата:

Hi All,

Just installed PostgreSQL 7.4.5 with Cigwin and get the output copied below when running initdb.

Thanks in advance for any help.

Tom

$ initdb -d
Running in debug mode.

initdb: internal variables:
  PGDATA=/usr/share/postgresql/data
  datadir=/usr/share/postgresql
  PGPATH=/usr/bin
  ENCODING=
  ENCODINGID=0
  POSTGRES_SUPERUSERNAME=Tom Burns
  POSTGRES_BKI=/usr/share/postgresql/postgres.bki
  POSTGRES_DESCR=/usr/share/postgresql/postgres.description
  POSTGRESQL_CONF_SAMPLE=/usr/share/postgresql/postgresql.conf.sample
  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 "Tom Burns".
This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /usr/share/postgresql/data... ok
creating directory /usr/share/postgresql/data/base... ok
creating directory /usr/share/postgresql/data/global... ok
creating directory /usr/share/postgresql/data/pg_xlog... ok
creating directory /usr/share/postgresql/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/share/postgresql/data/base/1... DEBUG:  invoking IpcMemoryCreate(size=1081344)
Signal 12

initdb: failed
initdb: removing data directory "/usr/share/postgresql/data"

Re: initdb fails

От
Frans
Дата:
Hi Tom,

Have You start Ipc-daemon before initdb ?


--
Best Regards,

Frans

Re: initdb fails

От
Tom Burns
Дата:
Yes. Cygwin IPC Daemon 2 is running as an NT service.

Frans <fransgunawan@gmail.com> wrote:
Hi Tom,

Have You start Ipc-daemon before initdb ?


--
Best Regards,

Frans