initdb crash
От | nitrogenycs@web.de |
---|---|
Тема | initdb crash |
Дата | |
Msg-id | opsak99tmftb7900@smtp.web.de обсуждение исходный текст |
Ответы |
Re: initdb crash
Re: initdb crash |
Список | pgsql-hackers-win32 |
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
В списке pgsql-hackers-win32 по дате отправления: