Re: Problems with InitDB - Mailing list pgsql-cygwin

From Emanuele
Subject Re: Problems with InitDB
Date
Msg-id LAW12-OE16o4GH92d7Q0000705d@hotmail.com
Whole thread Raw
In response to Problems with InitDB  ("Emanuele Bonin" <e.bonin@artelnet.it>)
List pgsql-cygwin
Sorry!

But when i write in oist i'm at work (in the pause) and the computer where i
trying postgressql is at my home, so my explanation aren't very good (like
my english 8)). Now ... i tryied another way, i installed ipcdaemon as a
service i created the postgres user account and grant to it the log on at
service user right

now i have two problem

the first is that when i issue the to install postmaster as service:
cygrunsrv --install postaster etc. etc. the computer say me that it doesn't
know the command "cygrunsrv". What i must install to have this program ?

the second roblem is that after the creation of the data dir and the chown
command to change ownership: mkdir \usr\share\postgresql\data chown postgres
\usr\share\postgresql\data

and after have started ipcdaemon2 service, the command:

initdb -D /usr/share/postgresql/data

the command fails because there is no neccesary permissions to create dirs
(mkdir).

Someone can Help me ?

----- Original Message -----
From: "Emanuele Bonin" <e.bonin@artelnet.it>
To: <pgsql-cygwin@postgresql.org>
Sent: Tuesday, November 04, 2003 11:03 AM
Subject: [CYGWIN] Problems with InitDB


Hi All!

I have downloaded cygwin 1.5.5, i installed it.
I launch ipc-daemon2.exe
When i try to use the initDB (i would use opostgressql) computer
response is that
getsem funciton is not avaible or something similar .... And the initdb
fails

Now my version of cygipc is 2.something ... Where i'm in wrong ?

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

pgsql-cygwin by date:

Previous
From: Frank Seesink
Date:
Subject: Re: postgres.h
Next
From: Jason Tishler
Date:
Subject: Re: postgres.h