Re: Problems with InitDB

From: "Emanuele" <emanuele_bonin(at)hotmail(dot)com>
To: <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: Problems with InitDB
Date: 2003-11-05 08:39:29
Message-ID: LAW12-OE16o4GH92d7Q0000705d@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)bonin(at)artelnet(dot)it>
To: <pgsql-cygwin(at)postgresql(dot)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

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Ekkehard Schwaar 2003-11-05 10:48:49 Postmaster don't start
Previous Message Frank Seesink 2003-11-05 00:12:52 Re: postgres.h