intializing problem with postgresql-8.0.4-binaries-no-installer.zip

Lists: pgsql-ports
From: Shahid Manzoor <shahid(dot)manzoor(at)ifomis(dot)uni-saarland(dot)de>
To: pgsql-ports(at)postgresql(dot)org
Subject: intializing problem with postgresql-8.0.4-binaries-no-installer.zip
Date: 2005-11-01 12:45:47
Message-ID: f245c4cc0511010445g65ec4a54x22c340873facf07f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-ports

Hi,

I want to run the postgresql-8.0.4-binaries-no-installer.zip version
of the postgresql in windows 2000 environment. When I run initdb
command I got the following error message.

D:\softwares\postgresql-8.0.4-binaries-no-installer\pgsql\bin>initdb -D ../data
The files belonging to this database system will be owned by user "shma001".
This user must also own the server process.

The database cluster will be initialized with locale English_United Kingdom.125
.

fixing permissions on existing directory ../data ... ok
creating directory ../data/global ... ok
creating directory ../data/pg_xlog ... ok
creating directory ../data/pg_xlog/archive_status ... ok
creating directory ../data/pg_clog ... ok
creating directory ../data/pg_subtrans ... ok
creating directory ../data/base ... ok
creating directory ../data/base/1 ... ok
creating directory ../data/pg_tblspc ... ok
selecting default max_connections ... 10
selecting default shared_buffers ... 50
creating configuration files ... ok
creating template1 database in ../data/base/1 ... Execution of PostgreSQL by a
ser with administrative permissions is not
permitted.
The server must be started under an unprivileged user ID to prevent
possible system security compromises. See the documentation for
more information on how to properly start the server.
child process was terminated by signal 1
initdb: removing contents of data directory "../data"

Can I any body tell me how to run this version of postgresql server.

regards,

--
Shahid Manzoor


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Shahid Manzoor <shahid(dot)manzoor(at)ifomis(dot)uni-saarland(dot)de>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: intializing problem with postgresql-8.0.4-binaries-no-installer.zip
Date: 2005-11-04 10:02:43
Message-ID: 200511041102.43544.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-ports

Shahid Manzoor wrote:
> The server must be started under an unprivileged user ID to prevent
> possible system security compromises. See the documentation for
> more information on how to properly start the server.
> child process was terminated by signal 1
> initdb: removing contents of data directory "../data"
>
> Can I any body tell me how to run this version of postgresql server.

Please read the advice printed by initdb.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/