INITDB problem

Lists: pgsql-cygwin
From: "Marvin" <magosoft(at)gmx(dot)net>
To: <pgsql-cygwin(at)postgresql(dot)org>
Subject: INITDB problem
Date: 2003-07-23 23:49:27
Message-ID: 3F1F1F07.000003.00988@guaj215desa
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

OK finally I started the ipc-daemon2 service
(I had to reinstall the last CygWin package)
Now when I try to initialize the data I get this
error:

$ initdb -D /usr/share/postgresql/data
The files belonging to this database system will be owned by user "mgonzalez
.
This user must also own the server process.

The database cluster will be initialized with locale C.

Fixing permissions on existing directory /usr/share/postgresql/data... ok
creating directory /usr/share/postgresql/data/base... mkdir: cannot create
directory '/usr/share/postgresql/data/base': Permission denied

I tried to run this process as the postgres user, however when I do:
$ su postgres
password:
su: incorrect password

Even if I change the password or left it blank it does not let me switch the
user.

Please help.

Thank you in advanced,

MAGO


From: Jason Tishler <jason(at)tishler(dot)net>
To: Marvin <magosoft(at)gmx(dot)net>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: INITDB problem
Date: 2003-07-24 01:35:19
Message-ID: 20030724013519.GC2224@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

Marvin,

On Wed, Jul 23, 2003 at 05:49:27PM -0600, Marvin wrote:
> Please help.

Please read the README:

http://www.tishler.net/jason/software/postgresql/postgresql-7.3.3.README

Thanks,
Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6


From: "Marvin" <magosoft(at)gmx(dot)net>
To: <jason(at)tishler(dot)net>
Cc: <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: INITDB problem
Date: 2003-07-24 15:42:23
Message-ID: 3F1FFE5F.000003.01796@guaj215desa
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

OK, I have read the file in your link.
In the step 4: (note that I used the ipc-daemon2 instead of ipc-daemon)
4. Install postmaster as a NT service:
# cygrunsrv --install postmaster --path /usr/bin/postmaster --args "-D
/usr/share/postgresql/data -i" --dep ipc-daemon2 --termsig INT --user
postgres --shutdown
It asked me for a password. I left it blank by pressing Enter twice,

Enter password of user `GUAJ215DESA\postgres':
Reenter, please:

however when I went to the step 7:

7. Start the cygipc ipc-daemon:

$ net start ipc-daemon2
The Cygwin IPC Daemon 2 service is starting.
The Cygwin IPC Daemon 2 service could not be started.

I tried to start "CygWin IPC-Daemon2" from Manage > Services and I got this
message:

The Cygwin IPC Daemon 2 service on Local Computer started and then stopped.
Some services stop automatically if they have no work to do, for example,
the Performance Logs and Alerts service.

Would you, please help me.
I have been stuck on the installation for 3 days.

MAGO

-------Mensaje original-------

De: Jason Tishler
Fecha: Miércoles, 23 de Julio de 2003 07:33:02 p.m.
A: Marvin
CC: pgsql-cygwin(at)postgresql(dot)org
Asunto: Re: [CYGWIN] INITDB problem

Marvin,

On Wed, Jul 23, 2003 at 05:49:27PM -0600, Marvin wrote:
> Please help.

Please read the README:

http://www.tishler.net/jason/software/postgresql/postgresql-7.3.3.README

Thanks,
Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6

.


From: Jason Tishler <jason(at)tishler(dot)net>
To: Marvin <magosoft(at)gmx(dot)net>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: INITDB problem
Date: 2003-07-24 16:11:18
Message-ID: 20030724161117.GA588@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

Marvin,

On Thu, Jul 24, 2003 at 09:42:23AM -0600, Marvin wrote:
> In the step 4: (note that I used the ipc-daemon2 instead of ipc-daemon)

I will try one more time:

http://archives.postgresql.org/pgsql-cygwin/2003-07/msg00078.php

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6


From: "Marvin" <magosoft(at)gmx(dot)net>
To: <jason(at)tishler(dot)net>
Cc: <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: INITDB problem
Date: 2003-07-24 16:37:08
Message-ID: 3F200B34.000001.01796@guaj215desa
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

Forgive me if I am persistent and a little bit dumb.
But, what does that mean?
That I can't use CygWin right now 'till you release a new cygipc version?
What can I do?
I need to use the latest PostgreSQL version in my XP machine.

How coud I get an older version of cygipc?

Regards,

MAGO

-------Mensaje original-------

De: Jason Tishler
Fecha: Jueves, 24 de Julio de 2003 10:08:39 a.m.
A: Marvin
CC: pgsql-cygwin(at)postgresql(dot)org
Asunto: Re: [CYGWIN] INITDB problem

Marvin,

On Thu, Jul 24, 2003 at 09:42:23AM -0600, Marvin wrote:
> In the step 4: (note that I used the ipc-daemon2 instead of ipc-daemon)

I will try one more time:

http://archives.postgresql.org/pgsql-cygwin/2003-07/msg00078.php

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6

.


From: "Roger Ackroyd" <postgresql(at)ackroyd(dot)freeserve(dot)co(dot)uk>
To: <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: INITDB problem
Date: 2003-07-24 16:46:24
Message-ID: 008f01c35203$1f6a8540$b200a8c0@mydomain.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

Are you sourcing your PostgreSQL using cygwin setup?
Roger
----- Original Message -----
From: Marvin
To: jason(at)tishler(dot)net
Cc: pgsql-cygwin(at)postgresql(dot)org
Sent: Thursday, July 24, 2003 5:37 PM
Subject: Re: [CYGWIN] INITDB problem

Forgive me if I am persistent and a little bit dumb.
But, what does that mean?
That I can't use CygWin right now 'till you release a new cygipc version?
What can I do?
I need to use the latest PostgreSQL version in my XP machine.

How coud I get an older version of cygipc?

Regards,

MAGO

-------Mensaje original-------

De: Jason Tishler
Fecha: Jueves, 24 de Julio de 2003 10:08:39 a.m.
A: Marvin
CC: pgsql-cygwin(at)postgresql(dot)org
Asunto: Re: [CYGWIN] INITDB problem

Marvin,

On Thu, Jul 24, 2003 at 09:42:23AM -0600, Marvin wrote:
> In the step 4: (note that I used the ipc-daemon2 instead of ipc-daemon)

I will try one more time:

http://archives.postgresql.org/pgsql-cygwin/2003-07/msg00078.php

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6

.


_________________________________________________________________
IncrediMail - El E-mail ha evolucionado finalmente - Haga clic aquí


From: "Roger Ackroyd" <postgresql(at)ackroyd(dot)freeserve(dot)co(dot)uk>
To: <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: INITDB problem
Date: 2003-07-24 16:55:42
Message-ID: 00a401c35204$6be914d0$b200a8c0@mydomain.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

http://www.neuro.gatech.edu/users/cwilson/cygutils/cygipc/index.html
Scroll down the page to download section and download the latest 1.14-1 cygipc.
----- Original Message -----
From: Marvin
To: jason(at)tishler(dot)net
Cc: pgsql-cygwin(at)postgresql(dot)org
Sent: Thursday, July 24, 2003 5:37 PM
Subject: Re: [CYGWIN] INITDB problem

Forgive me if I am persistent and a little bit dumb.
But, what does that mean?
That I can't use CygWin right now 'till you release a new cygipc version?
What can I do?
I need to use the latest PostgreSQL version in my XP machine.

How coud I get an older version of cygipc?

Regards,

MAGO

-------Mensaje original-------

De: Jason Tishler
Fecha: Jueves, 24 de Julio de 2003 10:08:39 a.m.
A: Marvin
CC: pgsql-cygwin(at)postgresql(dot)org
Asunto: Re: [CYGWIN] INITDB problem

Marvin,

On Thu, Jul 24, 2003 at 09:42:23AM -0600, Marvin wrote:
> In the step 4: (note that I used the ipc-daemon2 instead of ipc-daemon)

I will try one more time:

http://archives.postgresql.org/pgsql-cygwin/2003-07/msg00078.php

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6

.


_________________________________________________________________
IncrediMail - El E-mail ha evolucionado finalmente - Haga clic aquí


From: Jason Tishler <jason(at)tishler(dot)net>
To: Marvin <magosoft(at)gmx(dot)net>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: INITDB problem
Date: 2003-07-24 17:10:36
Message-ID: 20030724171036.GB588@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

Marvin,

On Thu, Jul 24, 2003 at 10:37:08AM -0600, Marvin wrote:
> That I can't use CygWin right now 'till you release a new cygipc
> version?

No.

> What can I do?

Read the README:

http://www.tishler.net/jason/software/postgresql/postgresql-7.3.3.README

> I need to use the latest PostgreSQL version in my XP machine.

Understood.

> How coud I get an older version of cygipc?

Read the README. Specifically, the following:

Regardless of the installation type, the first step is to install
the latest cygipc from:

http://www.neuro.gatech.edu/users/cwilson/cygutils/cygipc/index.html

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6