Thread: INITDB problem

INITDB problem

From
"Marvin"
Date:
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
_________________________________________________________________
  IncrediMail - El E-mail ha evolucionado finalmente - Haga clic aquí
Attachment

Re: INITDB problem

From
Jason Tishler
Date:
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

Re: INITDB problem

From
"Marvin"
Date:
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-------
 
Fecha: Miércoles, 23 de Julio de 2003 07:33:02 p.m.
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

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

Re: INITDB problem

From
Jason Tishler
Date:
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

Re: INITDB problem

From
"Marvin"
Date:
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-------
 
Fecha: Jueves, 24 de Julio de 2003 10:08:39 a.m.
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í
Attachment

Re: INITDB problem

From
"Roger Ackroyd"
Date:
Are you sourcing your PostgreSQL using cygwin setup?
Roger
----- Original Message -----
From: Marvin
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-------
 
Fecha: Jueves, 24 de Julio de 2003 10:08:39 a.m.
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í
Attachment

Re: INITDB problem

From
"Roger Ackroyd"
Date:
Scroll down the page to download section and download the latest 1.14-1 cygipc.
----- Original Message -----
From: Marvin
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-------
 
Fecha: Jueves, 24 de Julio de 2003 10:08:39 a.m.
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í
Attachment

Re: INITDB problem

From
Jason Tishler
Date:
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