problem with initdb

Поиск
Список
Период
Сортировка
От Randy Yates
Тема problem with initdb
Дата
Msg-id 7jmeztil.fsf@ieee.org
обсуждение исходный текст
Ответы Re: problem with initdb
Список pgsql-cygwin
Hi,

Before you lambast me with "this has been covered a thousand
times" hear me out. Yes, I've searched the postgres archives
for this problem and yes I've seen many similar references
to it and yes I've read the FAQ_MSWIN file and yes I've
ensured my cygwin binaries are before my windows binaries
in my PATH. And I STILL cannot get this to work. Please help!

This is building 7.4.6 from source under Win2000 and cygwin.

--RY

$ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
The files belonging to this database system will be owned by user "yates".
This user must also own the server process.

The database cluster will be initialized with locale C.

fixing permissions on existing 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... 10
selecting default shared_buffers... 50
creating configuration files... ok
creating template1 database in /usr/local/pgsql/data/base/1... FATAL:  semctl(35, 16, SETVAL, 536) failed: Invalid
argument

initdb: failed

yates@leibniz /gauss/postgresql-7.4.6
$ ps
      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
I    1264       1    1264       1264  con  400 22:03:23 /usr/bin/bash
     1500    1264    1500       1496  con  400 22:03:53 /usr/bin/xterm
I     508    1500     508        812    0  400 22:03:53 /usr/bin/bash
     1540    1264    1540       1560  con  400 22:03:55 /usr/bin/xterm
     1556    1540    1556       1536    1  400 22:03:55 /usr/bin/bash
      936    1556     936       1656    1  400 08:21:42 /usr/bin/ipc-daemon2
      540    1556     540       1776    1  400 08:38:34 /usr/bin/ps

yates@leibniz /gauss/postgresql-7.4.6

--
%  Randy Yates                  % "Rollin' and riding and slippin' and
%% Fuquay-Varina, NC            %  sliding, it's magic."
%%% 919-577-9882                %
%%%% <yates@ieee.org>           % 'Living' Thing', *A New World Record*, ELO
http://home.earthlink.net/~yatescr


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

Предыдущее
От: "Mike G."
Дата:
Сообщение: Re: Fw: Init DB Fails
Следующее
От: "anil"
Дата:
Сообщение: Init DB Fails