Re: Hello,

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: fumihisa(dot)suzuki(at)justsystems(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Hello,
Date: 2013-09-09 13:24:22
Message-ID: 522DCC06.2010503@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 09/09/2013 05:55 AM, fumihisa(dot)suzuki(at)justsystems(dot)com wrote:
> Hello,
>
> initdb fails as follows:
>
> initdb.exe -A md5 -D "C:\Program Files\...\postgresql\data" -E UTF-8 --
> locale C -U postgres --pwfile="C:\Program Files\...\postgresql\pwfile.
> txt"
> The files belonging to this database system will be owned by user "
> u00001".
> This user must also own the server process.
> The database cluster will be initialized with locale C.
> The default text search configuration will be set to "english".
> fixing permissions on existing directory C:/Program Files/.../
> postgresql/data ... ok
> creating subdirectories ... ok
> selecting default max_connections ... 10
> selecting default shared_buffers ... 400kB
> creating configuration files ... ok
> creating template1 database in C:/Program Files/.../postgresql/data/
> base/1 ... child process exited with exit code 5
> initdb: removing contents of data directory "C:/Program Files/.../
> postgresql/data"
>
> Wwhat does the exit code 5 mean?

http://www.symantec.com/connect/articles/windows-system-error-codes-exit-codes-description

5 Access is denied.

My guess, a permissions problem on C:\Program Files\...\postgresql\data.
>
> Best regards,
> Fumihisa Suzuki
>
>

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

  • Hello, at 2013-09-09 12:55:38 from fumihisa.suzuki

Browse pgsql-general by date

  From Date Subject
Next Message David Johnston 2013-09-09 13:41:14 Re: Making substrings uppercase
Previous Message Agustin Larreinegabe 2013-09-09 13:07:02 Re: PK referenced function