[英]Pentaho install error: Error running initdb.exe -U postgres -E UTF8 -D
I am new to Pentaho, I just download a Pentaho Business Analytics 64 bit version(My os is Windows 64bit). 我是Pentaho的新手,我只是下载了Pentaho Business Analytics 64位版本(我的操作系统是Windows 64位)。 When I install, I'm getting an "Error running initdb.exe -U postgres -E UTF8 -DC:/PENTAH~1/POSTGR~1/data" message. 安装时,出现“运行initdb.exe -U postgres -E UTF8 -DC:/ PENTAH〜1 / POSTGR〜1 / data错误”消息。 Does anybody know how to solve this problem?Thanks! 有人知道如何解决这个问题吗?
Check if Postgres is already installed in your system with port 5432, using netstat -a
使用netstat -a
检查Postgres是否已通过端口5432安装在系统中
This error most likely appears when there's problem while installing Postgres. 安装Postgres时出现问题时,很可能会出现此错误。 Go to "My Computer" right-click "properties", choose "Advanced System Settings", "Environmental Variables". 转到“我的电脑”,右键单击“属性”,选择“高级系统设置”,“环境变量”。 In "system variables" for the variable ComSpec
remove the semicolon after cmd.exe
. 在变量ComSpec
“系统变量”中,删除cmd.exe
之后的分号。 This worked for me and allowed me to install Postgres. 这对我有用,并允许我安装Postgres。
我使用现有的PostgreSQL而不是捆绑在一起解决了我的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.