postgresql setup on cygwin --- initdb fails

Terrence Brannon metaperl@urth.org
Sat Oct 4 14:47:00 GMT 2003


Hi all,

cygcheck -s -v -r >  cygcheck.out attached.

I typed postmaster and was told I need to set PGDATA. So I created a 
directory

/usr/local/psql

and set PGDATA to that.

I then typed initdb and had the following error:

$ source ~/.bashrc
source: not found
$ cd
$ . ./.bashrc
$ echo $PGDATA
/usr/local/psql
$ initdb
The files belonging to this database system will be owned by user 
"metaperl".
This user must also own the server process.

The database cluster will be initialized with locale C.

Fixing permissions on existing directory /usr/local/psql... ok
creating directory /usr/local/psql/base... ok
creating directory /usr/local/psql/global... ok
creating directory /usr/local/psql/pg_xlog... ok
creating directory /usr/local/psql/pg_clog... ok
creating template1 database in /usr/local/psql/base/1... 
IpcSemaphoreCreate: semget(key=1, num=17, 03600) failed: Function not 
implemented

initdb failed.


What do I need to do to get the World's Most Advanced Open Source 
Database Running :)



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20031004/f2aa2f51/attachment.ksh>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list