Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: BUG #2493: bug with initdb under an administrator



> Bug reference:      2493
> Logged by:          Alexander Pravdin
> Email address:      speller(at)yandex(dot)ru
> PostgreSQL version: 8.1.4
> Operating system:   Windows XP
> Description:        bug with initdb under an administrator
> Details: 
> 
> If I run the initdb under an administrator, the program 
> crashes without any error reporting. The last string in the output is 
> 
> "creating base template1 in E:/usr/local/postgres/data/base/1 ..."
> (translated from russian)
> 
> The "data" directory remains empty.
> 
> Under the limited user account initialization completed successfully.
> 
> 
> I think the program should report if it require to run under 
> a limited user account.

Hm. It does for me. Do you get something in the eventlog? Perhaps it's
incorrectly thinking it's running as a service, and logging there
instead?

Do you run this from the commandline, or from inside another program?

Finally, you can try the initdb version at
http://www.hagander.net/pgsql/initdb_pgctl_restricted_user_8.1.4.zip.
It's the 8.1.4 initdb with the run-as-admin fixes from HEAD backpatched.


//Magnus



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group