Re: Problem in start up postgres in Cygwin

Поиск
Список
Период
Сортировка
От Reini Urban
Тема Re: Problem in start up postgres in Cygwin
Дата
Msg-id 4402A7B3.8090703@x-ray.at
обсуждение исходный текст
Ответ на Problem in start up postgres in Cygwin  (Xiaogang <xiaogangz@acm.org>)
Список pgsql-cygwin
Xiaogang schrieb:
> I have just installed the latest Cygwin, which has already included
> postgresql installed (version 8.0.4-1), but have problem to start the
> postgresql server: I got a "bad system call" on postgre.exe when
> initializing the database using initdb.
>
> I have tried this on two WinXP boxes, one XP pro and one Home, the
> results is the same.
>
> Can any one help? Thank you in advance.

cygserver is running,
but your shell probably misses the env CYGWIN=server

> xzhang@XGZNB ~
> $ cygserver  &
> [1] 1416
>
> xzhang@XGZNB ~
> $ cygserver: Initialization complete.  Waiting for requests.
> $ initdb -D /usr/lib/postgresql/data
...
> creating directory /usr/lib/postgresql/data/pg_tblspc ... ok
> selecting default max_connections ... sh: line 1:   404 Bad system call
--
Reini Urban
http://phpwiki.org/
http://helsinki.at/  http://spacemovie.mur.at/

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

Предыдущее
От: Xiaogang
Дата:
Сообщение: Problem in start up postgres in Cygwin
Следующее
От: John Xiaogang Zhang
Дата:
Сообщение: Problem in initdb