This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: postgresql problem
Larry Hall schrieb:
initdb doesn't work, because it says the shmget system call is not
implemented. Is there anything I can do about this?
You need to start ipc-daemon2 before.
<http://www.tishler.net/jason/software/postgresql/postgresql-7.4.1.README>
BTW, I found this by googling. It's loads of fun! ;-)
less /usr/share/doc/postgresql-7.4.1/README and
less /usr/share/doc/Cygwin/postgresql-7.4.1.README
is enough.
And one important issue is missing from the first section
of the README:
And you need to pass --locale=C to initdb also.
I use this:
$ ipc-daemon2 --install-as-service
$ net start ipc-daemon2
$ export PGDATA=/usr/share/postgresql/data
$ initdb --locale=C
$ pg_ctl -o -i
Option -i to enable TCP/IP connections since I couldn't make it connect
via sockets.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
--
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/