Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8325911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T00:35:40+00:00 2026-06-09T00:35:40+00:00

I tried to install postgresql 8.4 in my windows 7 (64 bit). But it

  • 0

I tried to install postgresql 8.4 in my windows 7 (64 bit). But it fails with following messages in log

Initialising the database cluster (this may take a few minutes)...
Executing cscript //NoLogo "C:\PostgreSQL\8.4/installer/server/initcluster.vbs" "postgres" "postgres" "****" "C:\PostgreSQL\8.4" "C:\PostgreSQL\data" 5432 "DEFAULT"
Script exit code: 1

Script output:
 CScript Error: Can't find script engine "VBScript" for script "C:\PostgreSQL\8.4\installer\server\initcluster.vbs".

Script stderr:
 Program ended with an error exit code

Error running cscript //NoLogo "C:\PostgreSQL\8.4/installer/server/initcluster.vbs" "postgres" "postgres" "****" "C:\PostgreSQL\8.4" "C:\PostgreSQL\data" 5432 "DEFAULT" : Program ended with an error exit code
Problem running post-install step. Installation may not complete correctly
 The database cluster initialisation failed.
Creating Uninstaller
Creating uninstaller 25%
Creating uninstaller 50%
Creating uninstaller 75%

I have googled about this and run the command ‘regsvr32 vbscript.dll’ and it shows the message ‘DllRegisterServer in vbscript.dll is succeeded’, but it haven’t solved my issue.

Also I set the default value for {B54F3741-5B07-11cf-A4B0-00AA004A55E8} in registry to the file path of vbscript.dll, but it also haven’t solved my issue.

How to fix this issue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T00:35:41+00:00Added an answer on June 9, 2026 at 12:35 am

    Following link solve my issue

    http://www.geekscribes.net/blog/2009/04/22/postgresql-database-cluster-initialisation-failed-solution/

    The article text:

    I’ll keep this one short and sweet. For those of you that have tried
    to install PostgreSQL (mine was 8.3.7-1) on Windows Vista and got the
    error Database Cluster Initialisation Failed error at the end of the
    install, read this.

    The problem is that Vista has some safety features associated with
    setting permissions on the Program Files folder. Basically, even if
    you are an admin, you can’t change permissions on some folders like
    Program Files and Windows folder itself. This causes initdb to be
    unable to create some folders and the database cluster. What this
    means for you is that you need to install PostgreSQL in another folder
    that is not inside Program Files.

    By the way, if you have forgotten your Postgres account password while
    installing the first time, just open a Command Prompt in Vista (If you
    don’t know how, Google for it). Then type the command “net user”. You
    will see a list of users on your computer. Find Postgre’s account.
    It’s usually “postgres“. Then you need to change its password by
    typing “net user postgres new_password” where new_password is… well, a
    new password for the account. You will be needing that postgres
    account during install. You will need admin privileges to do this
    change however.

    Firstly, uninstall any failed installations. Use the Control Panel or
    the PostgreSQL installer in the install folder.

    During the install, you will be prompted to choose where you want to
    install the program. Just select a location in another place. Like
    “C:\PostgreSQL” or something similar. It may even be on your desktop.
    But not inside Program Files. Not inside Windows folder. However, it’s
    not as easy. Bear with me.

    After the install, you will still see that darned error message (or
    something like non-fatal error occured). Do not despair! (For Windows
    Power Users, we are just assigning Full Control permission to Postgres
    account on the new PostgreSQL install folder). For other users, read
    on if you don’t know how to do it.

    Go to where you just installed PostgreSQL. In this case, the C:
    drive. There, right-click on the folder (usually called PostgreSQL),
    and go to Properties – Security tab. Click on the Edit button. You
    will now see some usernames and other stuff. Click on the Add button.
    In the “Enter the object names to select” box, enter “postgres” and
    press Check. Postgres’ user account should appear there. Click on Ok.

    Now from the “Group or Usernames” box, select the Postgres account. In
    the window below, with lots of checkboxes, assign permission “Full
    Control” in the Allow Column to it. Note, if you don’t want to allow
    full control, just give it read/write. But I just went ahead and gave
    it Full Control. (I was tired and annoyed. The “World’s most advanced
    open source database” had failed to install!). Click on Ok and wait a
    bit for permissions to be applied.

    Then, just do a re-install. Do not uninstall anything. Just run the
    setup again. It’ll say that a PostgreSQL install folder already exists
    and other stuff. Just click on Next until the install finishes. If you
    see “file cannot be copied” errors, click on the “ignore” button when
    needed.

    That’s it. PostgreSQL should be up and running on Vista now. Hope it
    works for you too as it did for me, and that my guide is helpful to
    anybody. If it works, or if you have other solutions, let us know.
    Thanks for reading! 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried to install XCode via AppStore but it fails with the following message:
I tried to install PEAR in my php(XAMPP). But i get the following error..
I tried to install git + gitolite following this manual - using root instalation
I tried to install python below way. But this did not work. This take
I tried Install-Package Solrnet.NHibernate on a new console application but it failed with this
Tried to install some program, it gives above message requiring 1.1.4322. BUT as the
I tried to install the RMySQL-library (R version 2.14.2, WinXP on 32bit) but got
I tried to install the Yahoo BOSS mashup framework, but am having trouble running
I tried to install google salve http://code.google.com/p/salve/ by adding following statements in the project's
I tried to install gcc 4.5 on ubuntu 10.04 but failed. Here is a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.