postgres for windows installation error at postinstallTrouble installing PostgreSQL 9 64bit on fairly fresh...

If I cast Expeditious Retreat, can I Dash as a bonus action on the same turn?

"You are your self first supporter", a more proper way to say it

Have astronauts in space suits ever taken selfies? If so, how?

Can a Warlock become Neutral Good?

Using theabspage from the 'perpage' package

How to re-create Edward Weson's Pepper No. 30?

Japan - Plan around max visa duration

How to feed LSTM with different input array sizes?

How to add power-LED to my small amplifier?

Dragon forelimb placement

Mains transformer blew up amplifier, incorrect description in wiring instructions?

If two metric spaces are topologically equivalent (homeomorphic) imply that they are complete?

Magento 2: Admin panel 3 level menu structure not working

Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)

Modeling an IPv4 Address

Why has Russell's definition of numbers using equivalence classes been finally abandonned? ( If it has actually been abandonned).

A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?

Suffixes -unt and -ut-

Why Is Death Allowed In the Matrix?

The use of multiple foreign keys on same column in SQL Server

Relation between Frobenius, spectral norm and sum of maxima

Why are 150k or 200k jobs considered good when there are 300k+ births a month?

strToHex ( string to its hex representation as string)

Has the BBC provided arguments for saying Brexit being cancelled is unlikely?



postgres for windows installation error at postinstall


Trouble installing PostgreSQL 9 64bit on fairly fresh Windows 7 Pro 64bitRunning Postgresql on OSXRunning a test database on RAM diskHow do I start Postgres on CentOS 6.5?Questions on compiling homebrew php with postgres support on MavericksHow do I use Postgres on Linux when the databases themselves reside on a Windows server?Postgres Authentication Fails When Starting DajngoHow to use a postgres base from an older version?configuration settings and versions needed for working with phppgadmin,postgres,apache in Windows 10 64 bit without getting login failed errorCentos 7 Postgresql 9.6 error on replication






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







1















My PC is running windows 10 ver 1803.



I downloaded the zip containing the binary of postgres 10.



When I tried to init the db with:



initdb.exe -D ../data –A trust


I received this error: child process was terminated by exception 0xC00000FD



creating directory ../data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting dynamic shared memory implementation ... windows
creating configuration files ... ok
running bootstrap script ... child process was terminated by exception 0xC00000FD
initdb: removing data directory "../data"


I tried to change version but postgres 11 and postgres 9.6 give to me the same result.



So I tried to install postgres 10 from the windows installer but the log in %TEMP% folder logged the same error:



    Executing batch file 'rad99CE0.bat'...
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

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

Data page checksums are disabled.

fixing permissions on existing directory C:/Program Files/PostgreSQL/10/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting dynamic shared memory implementation ... windows
creating configuration files ... ok
running bootstrap script ... child process was terminated by exception 0xC00000FD
initdb: removing contents of data directory "C:/Program Files/PostgreSQL/10/data"

Called Die(Failed to initialise the database cluster with initdb)...
Failed to initialise the database cluster with initdb

Script stderr:
Program ended with an error exit code

Error running cscript //NoLogo "C:Program FilesPostgreSQL10/installer/server/initcluster.vbs" "NT AUTHORITYNetworkService" "postgres" "****" "C:Program FilesPostgreSQL10" "C:Program FilesPostgreSQL10data" 5432 "DEFAULT" 0: Program ended with an error exit code
Problem running post-install step. Installation may not complete correctly
The database cluster initialisation failed.
[16:02:52] Delete the temporary scripts directory...
Creating menu shortcuts...
Executing cscript //NoLogo "C:Program FilesPostgreSQL10installerservercreateshortcuts_clt.vbs" "PostgreSQL 10" "C:Program FilesPostgreSQL10"
Script exit code: 0


I tried to uninstall and reinstall with postgres user and give postgres user the Administrators group but nothing changed.



Having the installation on an external hard drive I tried to do the same init on the same postgres10/bin folder from another PC with Windows 10 and the DB is initialized successfully at the first time. No installation needed.
The DB is starting well with:



pg_ctl.exe -D ../data start


When I reconnect my drive with the data folder created on my original PC, if I start the db with the instruction above, the server never start and after reaching the timeout, the process exits. No log at all.



D:pgsql10bin>pg_ctl.exe -D ../data start
waiting for server to start............................................................... stopped waiting
pg_ctl: server did not start in time


Any ideas?










share|improve this question







New contributor




RonnieJ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    1















    My PC is running windows 10 ver 1803.



    I downloaded the zip containing the binary of postgres 10.



    When I tried to init the db with:



    initdb.exe -D ../data –A trust


    I received this error: child process was terminated by exception 0xC00000FD



    creating directory ../data ... ok
    creating subdirectories ... ok
    selecting default max_connections ... 100
    selecting default shared_buffers ... 128MB
    selecting dynamic shared memory implementation ... windows
    creating configuration files ... ok
    running bootstrap script ... child process was terminated by exception 0xC00000FD
    initdb: removing data directory "../data"


    I tried to change version but postgres 11 and postgres 9.6 give to me the same result.



    So I tried to install postgres 10 from the windows installer but the log in %TEMP% folder logged the same error:



        Executing batch file 'rad99CE0.bat'...
    The files belonging to this database system will be owned by user "postgres".
    This user must also own the server process.

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

    Data page checksums are disabled.

    fixing permissions on existing directory C:/Program Files/PostgreSQL/10/data ... ok
    creating subdirectories ... ok
    selecting default max_connections ... 100
    selecting default shared_buffers ... 128MB
    selecting dynamic shared memory implementation ... windows
    creating configuration files ... ok
    running bootstrap script ... child process was terminated by exception 0xC00000FD
    initdb: removing contents of data directory "C:/Program Files/PostgreSQL/10/data"

    Called Die(Failed to initialise the database cluster with initdb)...
    Failed to initialise the database cluster with initdb

    Script stderr:
    Program ended with an error exit code

    Error running cscript //NoLogo "C:Program FilesPostgreSQL10/installer/server/initcluster.vbs" "NT AUTHORITYNetworkService" "postgres" "****" "C:Program FilesPostgreSQL10" "C:Program FilesPostgreSQL10data" 5432 "DEFAULT" 0: Program ended with an error exit code
    Problem running post-install step. Installation may not complete correctly
    The database cluster initialisation failed.
    [16:02:52] Delete the temporary scripts directory...
    Creating menu shortcuts...
    Executing cscript //NoLogo "C:Program FilesPostgreSQL10installerservercreateshortcuts_clt.vbs" "PostgreSQL 10" "C:Program FilesPostgreSQL10"
    Script exit code: 0


    I tried to uninstall and reinstall with postgres user and give postgres user the Administrators group but nothing changed.



    Having the installation on an external hard drive I tried to do the same init on the same postgres10/bin folder from another PC with Windows 10 and the DB is initialized successfully at the first time. No installation needed.
    The DB is starting well with:



    pg_ctl.exe -D ../data start


    When I reconnect my drive with the data folder created on my original PC, if I start the db with the instruction above, the server never start and after reaching the timeout, the process exits. No log at all.



    D:pgsql10bin>pg_ctl.exe -D ../data start
    waiting for server to start............................................................... stopped waiting
    pg_ctl: server did not start in time


    Any ideas?










    share|improve this question







    New contributor




    RonnieJ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      1












      1








      1








      My PC is running windows 10 ver 1803.



      I downloaded the zip containing the binary of postgres 10.



      When I tried to init the db with:



      initdb.exe -D ../data –A trust


      I received this error: child process was terminated by exception 0xC00000FD



      creating directory ../data ... ok
      creating subdirectories ... ok
      selecting default max_connections ... 100
      selecting default shared_buffers ... 128MB
      selecting dynamic shared memory implementation ... windows
      creating configuration files ... ok
      running bootstrap script ... child process was terminated by exception 0xC00000FD
      initdb: removing data directory "../data"


      I tried to change version but postgres 11 and postgres 9.6 give to me the same result.



      So I tried to install postgres 10 from the windows installer but the log in %TEMP% folder logged the same error:



          Executing batch file 'rad99CE0.bat'...
      The files belonging to this database system will be owned by user "postgres".
      This user must also own the server process.

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

      Data page checksums are disabled.

      fixing permissions on existing directory C:/Program Files/PostgreSQL/10/data ... ok
      creating subdirectories ... ok
      selecting default max_connections ... 100
      selecting default shared_buffers ... 128MB
      selecting dynamic shared memory implementation ... windows
      creating configuration files ... ok
      running bootstrap script ... child process was terminated by exception 0xC00000FD
      initdb: removing contents of data directory "C:/Program Files/PostgreSQL/10/data"

      Called Die(Failed to initialise the database cluster with initdb)...
      Failed to initialise the database cluster with initdb

      Script stderr:
      Program ended with an error exit code

      Error running cscript //NoLogo "C:Program FilesPostgreSQL10/installer/server/initcluster.vbs" "NT AUTHORITYNetworkService" "postgres" "****" "C:Program FilesPostgreSQL10" "C:Program FilesPostgreSQL10data" 5432 "DEFAULT" 0: Program ended with an error exit code
      Problem running post-install step. Installation may not complete correctly
      The database cluster initialisation failed.
      [16:02:52] Delete the temporary scripts directory...
      Creating menu shortcuts...
      Executing cscript //NoLogo "C:Program FilesPostgreSQL10installerservercreateshortcuts_clt.vbs" "PostgreSQL 10" "C:Program FilesPostgreSQL10"
      Script exit code: 0


      I tried to uninstall and reinstall with postgres user and give postgres user the Administrators group but nothing changed.



      Having the installation on an external hard drive I tried to do the same init on the same postgres10/bin folder from another PC with Windows 10 and the DB is initialized successfully at the first time. No installation needed.
      The DB is starting well with:



      pg_ctl.exe -D ../data start


      When I reconnect my drive with the data folder created on my original PC, if I start the db with the instruction above, the server never start and after reaching the timeout, the process exits. No log at all.



      D:pgsql10bin>pg_ctl.exe -D ../data start
      waiting for server to start............................................................... stopped waiting
      pg_ctl: server did not start in time


      Any ideas?










      share|improve this question







      New contributor




      RonnieJ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      My PC is running windows 10 ver 1803.



      I downloaded the zip containing the binary of postgres 10.



      When I tried to init the db with:



      initdb.exe -D ../data –A trust


      I received this error: child process was terminated by exception 0xC00000FD



      creating directory ../data ... ok
      creating subdirectories ... ok
      selecting default max_connections ... 100
      selecting default shared_buffers ... 128MB
      selecting dynamic shared memory implementation ... windows
      creating configuration files ... ok
      running bootstrap script ... child process was terminated by exception 0xC00000FD
      initdb: removing data directory "../data"


      I tried to change version but postgres 11 and postgres 9.6 give to me the same result.



      So I tried to install postgres 10 from the windows installer but the log in %TEMP% folder logged the same error:



          Executing batch file 'rad99CE0.bat'...
      The files belonging to this database system will be owned by user "postgres".
      This user must also own the server process.

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

      Data page checksums are disabled.

      fixing permissions on existing directory C:/Program Files/PostgreSQL/10/data ... ok
      creating subdirectories ... ok
      selecting default max_connections ... 100
      selecting default shared_buffers ... 128MB
      selecting dynamic shared memory implementation ... windows
      creating configuration files ... ok
      running bootstrap script ... child process was terminated by exception 0xC00000FD
      initdb: removing contents of data directory "C:/Program Files/PostgreSQL/10/data"

      Called Die(Failed to initialise the database cluster with initdb)...
      Failed to initialise the database cluster with initdb

      Script stderr:
      Program ended with an error exit code

      Error running cscript //NoLogo "C:Program FilesPostgreSQL10/installer/server/initcluster.vbs" "NT AUTHORITYNetworkService" "postgres" "****" "C:Program FilesPostgreSQL10" "C:Program FilesPostgreSQL10data" 5432 "DEFAULT" 0: Program ended with an error exit code
      Problem running post-install step. Installation may not complete correctly
      The database cluster initialisation failed.
      [16:02:52] Delete the temporary scripts directory...
      Creating menu shortcuts...
      Executing cscript //NoLogo "C:Program FilesPostgreSQL10installerservercreateshortcuts_clt.vbs" "PostgreSQL 10" "C:Program FilesPostgreSQL10"
      Script exit code: 0


      I tried to uninstall and reinstall with postgres user and give postgres user the Administrators group but nothing changed.



      Having the installation on an external hard drive I tried to do the same init on the same postgres10/bin folder from another PC with Windows 10 and the DB is initialized successfully at the first time. No installation needed.
      The DB is starting well with:



      pg_ctl.exe -D ../data start


      When I reconnect my drive with the data folder created on my original PC, if I start the db with the instruction above, the server never start and after reaching the timeout, the process exits. No log at all.



      D:pgsql10bin>pg_ctl.exe -D ../data start
      waiting for server to start............................................................... stopped waiting
      pg_ctl: server did not start in time


      Any ideas?







      postgresql






      share|improve this question







      New contributor




      RonnieJ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      RonnieJ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      RonnieJ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked yesterday









      RonnieJRonnieJ

      61




      61




      New contributor




      RonnieJ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      RonnieJ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      RonnieJ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          RonnieJ is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1421986%2fpostgres-for-windows-installation-error-at-postinstall%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          RonnieJ is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          RonnieJ is a new contributor. Be nice, and check out our Code of Conduct.













          RonnieJ is a new contributor. Be nice, and check out our Code of Conduct.












          RonnieJ is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1421986%2fpostgres-for-windows-installation-error-at-postinstall%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Cannot install PyQt5 The Next CEO of Stack OverflowCannot install tcpreplay 3.4.4cannot...

          Kapp-Putsch Acontecimentos | Outros artigos | Menu de navegação

          Why did early computer designers eschew integers? The Next CEO of Stack OverflowWhat register...