I'm trying to install latest version of PostgreSQL and the install keeps running into the problem of
Error running the Post-Install Step. Installation may not complete correctly. The data cluster initialization has failed.
I looked online and found a lot of solutions to the problem and I've tried most of them. However, I keep getting the same error, so I looked at the Install-Log and it say that Icacls doesn't exist, which seems new.
Called IsVistaOrNewer()…
'winmgmts' object initialized…
Version:10.
MajorVersion:10
Ensuring we can write to the data directory (using icacls) to CORPORATE\pjy002:
Executing batch file 'radC235D.bat'…
'icacls' is not recognized as an internal or external command,
operable program or batch file.
Some other important things.
-
Downloading PostgreSQL on a virtual machine
-
Am an administrator of said virtual machine or at least can get adminrights
-
Using Windows 10
-
Installing PostgresSQL 10.4
Best Answer
Figure out the problem. Had to get elevated rights and then install it. Thanks to everyone that helped.