在windows2003系统中安装postgreSQL8遇到错误,几次尝试都无法完成安装,错误日志如下:
1.log.txt
(2008-6-9 16:26:34), Install, com.enterprisedb.isaction.InitDBFailAction, err, ProductException: (error code = 601; message="Initdb Failed"; additional data = [Contents of data folder [E:\Program\Install\PostgresSQL\PostgresPlus\8.3AS\data] are invalid.])
STACK_TRACE: 12
ProductException: (error code = 601; message="Initdb Failed"; additional data = [Contents of data folder [E:\Program\Install\PostgresSQL\PostgresPlus\8.3AS\data] are invalid.])
at com.enterprisedb.isaction.InitDBFailAction.install(InitDBFailAction.java:75)
at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(Unknown Source)
at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
2. install_logs/inidb_stderr.txt
initdb: 无法改变目录 "E:/Program/Install/PostgresSQL/PostgresPlus/8.3AS/data" 的权限: Permission denied
3. install_logs/inidb_stdout.txt
属于此数据库系统的文件宿主为用户 "Administrator".
此用户也必须为服务器进程的宿主.
数据库簇将带有 locale Chinese_People's Republic of China.936 初始化.
修复已存在目录 E:/Program/Install/PostgresSQL/PostgresPlus/8.3AS/data 的权限 ...
4. install_logs/initerr.txt
CPAU V01.10.00cpp Joe Richards (joe@joeware.net) October 2004
5. install_logs/initout.txt
Adjusting rights for current user to impersonate(required for Windows 2000 based systems)...
Granting SeTcbPrivilege to WWW-64C854AFFB8\Administrator ... successful
Calling initdb as user enterprisedb...
Process Created...
The command completed successfully.
Done!
后来到论坛上去查了一下
查到这个页面
http://forums.enterprisedb.com/posts/list/1135.page
他是这样解决的:
Please ensure that secondary logon service is running in your services console. Once it’s started, please try running the installer again and hopefully your issue would be resolved.
In case it fails again, then run the installer from the command prompt as given below:
edb-installation_file.exe -use_local_logon
大概的意思就是
确保服务进程“secondary logon”运行的情况下,进行安装,如果出现了安装错误无法完成的情况,
尝试在命令行进行安装
我如法尝试了一下,最终完成了安装。
运行的命令
edb-installation_file.exe -use_local_logon
附:edb-installation_file.exe对应为安装原文件,文件名称可能不同,用时需要注意。
分享到:
相关推荐
本地hadoop程序bug ExitCodeException exitCode=-1073741701 case1.双击本地hadoop目录下的bin/winutils.exe 提示操作系统缺少 msvcr100.dll文件 case2.如过第一种情况不成功,则安装常用C++库合集(x86 + 64位)
最新的facebook提供的lib包登录会报错:facebook login result.grantedPermissions = (null),error = Error Domain=com.facebook.sdk.core Code=3 "(null)" UserInfo={... 所以我回退了版本,并把lib包共享出来提供给...
java was started but returned exit code=1; 关于Android最新的SDK下载解压后出现java was started but returned exit code=1;时的解决方法,我在网上参考相关文献后得出的,希望对你有用!
HG8245升级software Operation Faild!RetCode=0xf7204030!
Loadrunner Error -27492: "HttpSendRequest" failed, Windows error code....错误解决方法
EasyASP Convert VC Source Code
Code Warrior6.3 为飞思卡尔8位单片机开发环境,官网下载的版本只能在32位系统环境下安装,而目前大多数电脑都为64位系统,而官方提供的10.x版本太过臃肿,速度太慢,本教程将提供如何在64为系统下安装Code Warrior...
接口返回规范,其中包含(code状态码,data承载数据,message返回消息)
Error response from daemon: rpc error: code = FailedPrecondition desc = node y2qsyjdbfmm4tjwh4p9wqlmq1 is not down and can’t be removed 解决(需要把active状态的节点的docker服务关闭;同时在manager节点中...
Microsoft.WindowsAPICodePack.dll Microsoft.WindowsAPICodePack.Shell.dll VistaBridgeLibrary.dll Windows7.DesktopIntegration.dll Windows7.DesktopIntegration.Registration.exe Jumplist 编程时候用的引用...
针对 appcode 的快捷键说明。
禁用状态下不能在玩红警过程中切屏,而且对其他大型游戏有影响,如英雄联盟,穿越火线等大型网游。玩过红警之后记得开启
<CountryRegion Name="阿尔巴尼亚" Code="ALB"> <City Name="爱尔巴桑" Code="EL"> <City Name="迪勃拉" Code="DI"> <City Name="地拉那" Code="TR"> <City Name="都拉斯" Code="DR"> <City Name="发...
CodeWarrior安装与BDM驱动安装,关于飞思卡尔智能车竞赛的资料
<City Name="Aana" Code="AAN"/> <City Name="Aigaile Tai" Code="AIT"/> <City Name="Atua" Code="ATU"/> <City Name="Faasaleleaga" Code="FAA"/> <City Name="Gagaemauga" Code="GMG"/> <City Name=...
2. 查:通过系统内置的Windows PowerShellI命令,尝试解决Win10应用商店消失的问题。一、在开始菜单,右键打开Windows PowerShell(管理员),在Windows PowerShell(管理员)页面,输入以下命令,获取您电脑所安装...
Microsoft.WindowsAPICodePack.Shell.dll
Windows程序设计(CODE),非常好的C++程序设计的源代码,结合前面发的电子书学习,免费分享了