Highlighted
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-18-2019
03:54 PM
11-18-2019
03:54 PM
Postgresql fail with install 12 on Windows 10
Hi all. Today i install Postgresql 12 on Windows 10. And show error on creating database in. After scrool file install-postgresql.log i see error
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:\bin\PostgreSQL12/installer/server/initcluster.vbs" "NT AUTHORITY\NetworkService" "postgres" "****" "C:\Users\kvn\AppData\Local\Temp/postgresql_installer_37a9c0f77e" "C:\bin\PostgreSQL12" "C:\bin\PostgreSQL12\data" 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.
After i type in command prompt next command
initdb -U "postgres" -W -D"C:\DB\PostgreSQL\"
And see next error
c:\bin\PostgreSQL12\bin>initdb.exe -U "postgres" -W -D"C:\DB\PostgreSQL\" initdb: ошибка: Программа "postgres" найдена в "c:\bin\PostgreSQL12\bin/initdb.exe", но её версия отличается от версии initdb. Проверьте правильность установки СУБД.
How i can initialize database?
Archived Discussions
Effective March 31st, we will no longer engage on PostgresRocks.
How to engage with us further?
- Thought Leadership: EDB Blogs
- Tips and Tricks: Postgres Tutorials
- Customer Support: Create a Case Please note: Only customers with an active EDB support subscription and support portal authorization can create support ticket
- Engage on Stackoverflow While engaging on Stackoverflow tag the question with EDB or EnterpriseDB.
1 REPLY 1
Highlighted
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-19-2019
04:12 AM
11-19-2019
04:12 AM
Re: Postgresql fail with install 12 on Windows 10
Hi,
The error shared by you, states that the installation completed, however, the DB cluster initialization failed.
Could you please check the below things :
- The permissions are set correctly on the data directory.
- No antivirus is running on the server as it might cause the issue.
- Create the DB cluster manually using the initdb utility.
Also, could you please share the installation logs with us for the analysis.