Unix Technical Forum

BUG #2493: bug with initdb under an administrator

This is a discussion on BUG #2493: bug with initdb under an administrator within the pgsql Bugs forums, part of the PostgreSQL category; --> The following bug has been logged online: Bug reference: 2493 Logged by: Alexander Pravdin Email address: speller@yandex.ru PostgreSQL version: ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Bugs

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 11:04 AM
Alexander Pravdin
 
Posts: n/a
Default BUG #2493: bug with initdb under an administrator


The following bug has been logged online:

Bug reference: 2493
Logged by: Alexander Pravdin
Email address: speller@yandex.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.

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 11:04 AM
Magnus Hagander
 
Posts: n/a
Default Re: BUG #2493: bug with initdb under an administrator

> Bug reference: 2493
> Logged by: Alexander Pravdin
> Email address: speller@yandex.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...user_8.1.4.zip.
It's the 8.1.4 initdb with the run-as-admin fixes from HEAD backpatched.


//Magnus

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

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:00 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com