pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: dheeru.chhabra@gmail.com
Subject: BUG #15049: Initdb.exe failing to create DB
Date: Mon, 05 Feb 2018 07:53:36 +0000
Message-ID: <151781721676.1235.12605653644679951132@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15049
Logged by:          dheeraj chhabra
Email address:      dheeru.chhabra@gmail.com
PostgreSQL version: 9.4.4
Operating system:   Windows 2012 R2
Description:        

The DB creation is failing with below output:

initdb: could not start process for command ""D:\BMC
Software\TrueSightPServer\truesightpserver\modules\pgsql\bin\initdb.exe" -U
SVC_BMCMON -A trust -E utf8 -D "D:\BMC
Software\TrueSightPServer\truesightpserver\data\pgsql" -X "D:\BMC
Software\TrueSightPServer\truesightpserver\data\pgsql_txnlog" --pwfile
"D:\BMC
Software\TrueSightPServer\truesightpserver\tmp\DBdata7317520133955961463ks"":
error code 1260
initdb: could not re-execute with restricted token: error code 3
The files belonging to this database system will be owned by user
"admrak".
This user must also own the server process.

The database cluster will be initialized with locale
"English_Australia.1252".
The default text search configuration will be set to "english".

Data page checksums are disabled.

creating directory D:/BMC
Software/TrueSightPServer/truesightpserver/data/pgsql ... ok
creating directory D:/BMC
Software/TrueSightPServer/truesightpserver/data/pgsql_txnlog ... ok
creating subdirectories ... ok
selecting default max_connections ... 10
selecting default shared_buffers ... 400kB
selecting dynamic shared memory implementation ... windows
creating configuration files ... ok
running bootstrap script ... Execution of PostgreSQL by a user with
administrative permissions is not
permitted.
The server must be started under an unprivileged user ID to prevent
possible system security compromises.  See the documentation for
more information on how to properly start the server.
child process exited with exit code 1
initdb: removing data directory "D:/BMC
Software/TrueSightPServer/truesightpserver/data/pgsql"
initdb: removing transaction log directory "D:/BMC
Software/TrueSightPServer/truesightpserver/data/pgsql_txnlog"


Please suggest the resolution ASAP.

-Dheeraj



view thread (7+ messages)  latest in thread

Message-ID: <151781721676.1235.12605653644679951132@wrigleys.postgresql.org>
Permalink:  ../151781721676.1235.12605653644679951132@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/151781721676.1235.12605653644679951132@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, dheeru.chhabra@gmail.com
  Subject: Re: BUG #15049: Initdb.exe failing to create DB
  In-Reply-To: <151781721676.1235.12605653644679951132@wrigleys.postgresql.org>
  References: <151781721676.1235.12605653644679951132@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox