initdb crash

[email protected]
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
Hello,

i know it's just a developer version currently, but i downloaded the win32 
binaries to give it a run. Everything worked fine until i tried to execute 
the initdb command as stated in the instructions. First i executed it as 
an admin user and yielded the following result:

creating configuration files ... ok
creating template1 database in c:/postgres/data/base/1 ... execution of 
PostgreS
QL by a user with administrative permissions is not permitted.
The server must be started under an unprivileged user ID to prevent
possible system security compromise.  See the documentation for
more information on how to properly start the server.
child process was terminated by signal 1
initdb: failed
initdb: removing data directory "c:/postgres/data"


So I created a new restricted user postgres, switched to his account and 
tried to execute initdb from there. The result was that the app crashed 
(that box with error appeared), console output given below:

creating configuration files ... ok
creating template1 database in c:/postgres/data/base/1 ... child process 
was ter
minated by signal 5
initdb: failed
initdb: removing data directory "c:/postgres/data"

I'm pretty sure all my environment variables are set correctly and that i 
used the proper slashes at the proper places (just like stated in the 
instructions that can be found on the win32 binaries site). I'm using 
WinXP Home Edition.

Is this a known problem? How can i fix it?

Thank you very much for your answer!


-Matthias


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faqs/FAQ.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.