INITDB problem

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
Thread:
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

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2003-07-24 01:28:48 Re: Can't find ipc-daemon on latest cygwin install
Previous Message Ian Burrell 2003-07-23 23:25:11 Bounce messages to sender