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

Re: BUG #5130: Failed to run initdb:1

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: flamin dragon <flamindragon1(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5130: Failed to run initdb:1
Date: 2009-10-22 16:32:33
Message-ID: 603c8f070910220932w5f8524c5yde116ccfebbf13e1@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-bugs
On Thu, Oct 22, 2009 at 10:47 AM, flamin dragon <flamindragon1(at)gmail(dot)com> wrote:
>
>
> 2009/10/22 Robert Haas <robertmhaas(at)gmail(dot)com>
>>
>> On Wed, Oct 21, 2009 at 12:51 PM,  <flamindragon1(at)gmail(dot)com> wrote:
>> >
>> > The following bug has been logged online:
>> >
>> > Bug reference:      5130
>> > Logged by:
>> > Email address:      flamindragon1(at)gmail(dot)com
>> > PostgreSQL version: any
>> > Operating system:   Win XP Pro SP2
>> > Description:        Failed to run initdb:1
>> > Details:
>> >
>> > here's the log of the bug
>> >
>> > The files belonging to this database system will be owned by user
>> > "SYSTEM".
>> > This user must also own the server process.
>> >
>> > The database cluster will be initialized with locale Polish_Poland.1250.
>> > initdb: could not find suitable text search configuration for locale
>> > Polish_Poland.1250
>> > The default text search configuration will be set to "simple".
>> >
>> > creating directory C:/Program Files/PostgreSQL/8.3/data ... ok
>> > creating subdirectories ... ok
>> > selecting default max_connections ... Nie moľna odnale«† okre˜lonego
>> > pliku.
>> > Nie moľna odnale«† okre˜lonego pliku.
>> > Nie moľna odnale«† okre˜lonego pliku.
>> > Nie moľna odnale«† okre˜lonego pliku.
>> > Nie moľna odnale«† okre˜lonego pliku.
>> > Nie moľna odnale«† okre˜lonego pliku.
>> > 10
>> > selecting default shared_buffers/max_fsm_pages ... Nie moľna odnale«†
>> > okre˜lonego pliku.
>> > Nie moľna odnale«† okre˜lonego pliku.
>> > Nie moľna odnale«† okre˜lonego pliku.
>> > Nie moľna odnale«† okre˜lonego pliku.
>> > Nie moľna odnale«† okre˜lonego pliku.
>> > Nie moľna odnale«† okre˜lonego pliku.
>> > Nie moľna odnale«† okre˜lonego pliku.
>> > Nie moľna odnale«† okre˜lonego pliku.
>> > Nie moľna odnale«† okre˜lonego pliku.
>> > Nie moľna odnale«† okre˜lonego pliku.
>> > Nie moľna odnale«† okre˜lonego pliku.
>> > Nie moľna odnale«† okre˜lonego pliku.
>> > Nie moľna odnale«† okre˜lonego pliku.
>> > Nie moľna odnale«† okre˜lonego pliku.
>> > Nie moľna odnale«† okre˜lonego pliku.
>> > Nie moľna odnale«† okre˜lonego pliku.
>> > Nie moľna odnale«† okre˜lonego pliku.
>> > 400kB/20000
>> > creating configuration files ... ok
>> > creating template1 database in C:/Program
>> > Files/PostgreSQL/8.3/data/base/1
>> > ... ok
>> > initializing pg_authid ... Nie moľna odnale«† okre˜lonego pliku.
>> > child process exited with exit code 1
>> > initdb: removing data directory "C:/Program Files/PostgreSQL/8.3/data"
>> >
>> > Nie moľna odnale«† okre˜lonego pliku. = unable to find the file
>>
>> What's interesting to me is that I can't find that string anywhere in
>> the PostgreSQL 8.3 sources.  I think this must be an operating system
>> error message.  It looks like initdb is trying to invoke the postgres
>> executable as a standalone backend, and failing.  There is some code
>> in initdb.c's main() routine which appears to be intended to prevent
>> this from happening, or at least throw a less cryptic error message,
>> but it's evidently not working for you for some reason.  I speculate
>> that this might be some kind of funky permissions issue, but I am not
>> a Windows expert...
>>
>> ...Robert
>
> So, do you have any suggestions how to solve this or where I could get any
> help?

Well, I'm sort of hoping one of the Windows folks will chime in
here...  but I would start by checking that PostgreSQL is in your path
exactly once and that the permissions are set right.

...Robert

In response to

Responses

pgsql-bugs by date

Next:From: Dan O'HaraDate: 2009-10-22 17:10:07
Subject: Re: BUG #5021: ts_parse doesn't recognize email addresses with underscores
Previous:From: Robert HaasDate: 2009-10-22 16:30:18
Subject: Re: BUG #5039: 'i' flag i in regexp_replace ignored for polish letters

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group