problem with initdb

From: Randy Yates <yates(at)ieee(dot)org>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: problem with initdb
Date: 2005-01-15 13:55:30
Message-ID: 7jmeztil.fsf@ieee.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)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(at)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(at)ieee(dot)org> % 'Living' Thing', *A New World Record*, ELO
http://home.earthlink.net/~yatescr

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Randy Yates 2005-01-16 21:35:41 could not create shared memory segment: Function not implemented
Previous Message Reini Urban 2005-01-05 21:55:03 Re: initdb fail when setup Postgresql-7.4.5 with Cygwin