postgresql installation failed

后端 未结 21 1586
你的背包
你的背包 2020-12-24 08:05

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 min         


        
21条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-24 08:42

    For me the problem was that PATH variable did not have C:\Windows\system32 and so it did not find ICACLS command to change folder permissions. So the solution is to add C:\Windows\system32 to system PATH variable (if it does not contain it already):

    1. Control Panel -> System -> Advanced System Settings -> Advanced -> Environment Variables
    2. Under "System variable" find and select "Path"
    3. Click "Edit..."
    4. Now if value does not contain path to system32 append string ;C:\Windows\system32 (or wherever your windows path is)

提交回复
热议问题