initdb fail when setup Postgresql-7.4.5 with Cygwin on Windows 2000 (p)

Поиск
Список
Период
Сортировка
От Tong Shen
Тема initdb fail when setup Postgresql-7.4.5 with Cygwin on Windows 2000 (p)
Дата
Msg-id BAY24-F19D9FBA58DE4FB0A955397A8920@phx.gbl
обсуждение исходный текст
Ответы Re: initdb fail when setup Postgresql-7.4.5 with Cygwin
Список pgsql-cygwin
Hi,

I encounter a initial database problem.

The procedure I did is as following:
1. Download and setup Cygwin
2. Download the Cygipc-2.03-2.tar.bz2  file and put it under D:\Cygwin\.
Then I use "tar jxvf cygipc-2.03.2.tar.bz2 " to unpack the file. It seems
the unpack automaticly installed cygipc
3. Download the postgresql-7.4.5.tar and use winzip to unpack it into
D:\cygwin\usr\src\
4. I also download python-2.4 into D:\cygwin\usr\src
5. I install python first
6. Then I install the postgresql-7.4.5 with ./configure --with-python
------> make ------>make install
7. I issue the command "ipc-daemon2 &"
8. I then try to initialize the database with following command:
"/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data"
Step 8 give me the following error:
The files belonging to this database system will be owned by user
"TONGTONG".
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 dirctory /usr/local/pgsql/data/pg_clog... ok
selecting default max_connections... 10
selecting default shared_buffers... 50
creating configuration files... ok
creating configuration files... ok
creating template1 database in /usr/localpgsql/data/base/1... FATAL:
semctl<89, 16, SETVAL, 536> failed: Invalid argument

initdb: failed
initdb: removing data directory "/usr/local/pgsql/data"

I am running the cygwin on windows 2000
Could anyone tell me what was wrong with the setting up procedure?

Thank you.
Happy New Year

Tong Shen



В списке pgsql-cygwin по дате отправления:

Предыдущее
От: "roblam"
Дата:
Сообщение: Re: pgsql 8.0 on win2000 server error 2203
Следующее
От: Reini Urban
Дата:
Сообщение: Re: initdb fail when setup Postgresql-7.4.5 with Cygwin