postgresql problem

2004-05-04 Thread Christopher Benson-Manica
initdb doesn't work, because it says the shmget system call is not
implemented.  Is there anything I can do about this?

-- 
Christopher Benson-Manica
ataru(at)sdf.lonestar.org

--
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/



Re: postgresql problem

2004-05-04 Thread Larry Hall
At 01:26 PM 5/4/2004, you wrote:
>initdb doesn't work, because it says the shmget system call is not
>implemented.  Is there anything I can do about this?


Sure:



BTW, I found this by googling.  It's loads of fun! ;-)



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
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/



Re: postgresql problem

2004-05-04 Thread Reini Urban
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.

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/


RE: postgresql problem

2004-05-04 Thread Reid Thompson

read the doc for postgresql under cygwin/usr/share/doc/Cygwin

reid


> -Original Message-
> From: Christopher Benson-Manica [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 04, 2004 1:26 PM
> To: [EMAIL PROTECTED]
> Subject: postgresql problem
> 
> 
> initdb doesn't work, because it says the shmget system call is not 
> implemented.  Is there anything I can do about this?
> 
> --
> Christopher Benson-Manica
> ataru(at)sdf.lonestar.org
> 
> --
> 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/
> 
> 


--
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/