`

解决windows2003安装PostgreSQLerror code = 601; message

阅读更多
在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.zip

    本地hadoop程序bug ExitCodeException exitCode=-1073741701 case1.双击本地hadoop目录下的bin/winutils.exe 提示操作系统缺少 msvcr100.dll文件 case2.如过第一种情况不成功,则安装常用C++库合集(x86 + 64位)

    解决facebookcom.facebook.sdk.core Code=3 错误

    最新的facebook提供的lib包登录会报错:facebook login result.grantedPermissions = (null),error = Error Domain=com.facebook.sdk.core Code=3 "(null)" UserInfo={... 所以我回退了版本,并把lib包共享出来提供给...

    Loadrunner并发Error -27492错误解决方法

    Loadrunner Error -27492: "HttpSendRequest" failed, Windows error code....错误解决方法

    java was started but returned exit code

    java was started but returned exit code=1; 关于Android最新的SDK下载解压后出现java was started but returned exit code=1;时的解决方法,我在网上参考相关文献后得出的,希望对你有用!

    HG8245升级

    HG8245升级software Operation Faild!RetCode=0xf7204030!

    CodeWarrior安装与BDM驱动安装

    在Windows 7操作系统下安装CodeWarrior时,用户可能会遇到一些问题。为了顺利安装,建议先安装Visual Studio,再安装CodeWarrior,这种方法可以避免一些常见的安装障碍。 安装CodeWarrior的基本步骤如下: 1. 双击...

    Microsoft.WindowsAPICodePack dll

    《深入理解Microsoft.WindowsAPICodePack与C# dll的整合应用》 在现代软件开发中,尤其是Windows平台上的应用程序,开发者经常会遇到需要调用操作系统API的情况。Microsoft.WindowsAPICodePack是一个强大的工具集,...

    win10玩红警解决方案.rar

    《解决Win10系统下玩红警游戏问题的策略》 在Windows 10操作系统中,部分用户在体验经典游戏“红色警戒”时遇到了一些困扰。主要问题表现为:在游戏中切换到桌面或其他应用程序时,游戏会自动暂停或者无法正常运行...

    windows 64位系统下安装Code Warrior6.3方法

    Code Warrior6.3 为飞思卡尔8位单片机开发环境,官网下载的版本只能在32位系统环境下安装,而目前大多数电脑都为64位系统,而官方提供的10.x版本太过臃肿,速度太慢,本教程将提供如何在64为系统下安装Code Warrior...

    R1.java——接口返回规范(code,data,message)

    接口返回规范,其中包含(code状态码,data承载数据,message返回消息)

    Error response from daemon: rpc error: code = FailedPrecondition

    Error response from daemon: rpc error: code = FailedPrecondition desc = node y2qsyjdbfmm4tjwh4p9wqlmq1 is not down and can’t be removed 解决(需要把active状态的节点的docker服务关闭;同时在manager节点中...

    WindowsAPICodePack

    在实际开发中,Windows API Code Pack可以通过NuGet包管理器进行安装,方便快捷。使用时只需引用相关命名空间,即可调用对应的类和方法,极大地降低了学习和使用新API的门槛。 总结来说,Windows API Code Pack是...

    zbarcode php二维码识别类库(window)

    为了在Windows环境下使用zbarCode.dll,我们需要先安装配套的软件。其中,ImageMagick-7.0.6-3-Q16-x64-dll.exe是著名的图像处理工具,它提供了强大的图像处理功能,包括转换、编辑和合成图像。zbar-0.10-setup.exe...

    DB2报错:SQL10007N Message "-1390" could not be retrieved. Reason code.doc版下载

    Reason code 的解决方案 在安装 DB2 9.7 之后,某人发现 db2inst1 用户下无法运行一切 db2 命令,如果跑到 db2 的 bin 目录下运行 db2 命令,会给出标题内的错误提示。分析发现这是由于没有建立 instance造成的。...

    红警2 Win10黑屏补丁

    《红警2 Win10黑屏补丁》是一款专为Windows 10用户解决《命令与征服:红色警戒2》在该操作系统上运行时出现黑屏问题的修复工具。这款补丁对于那些怀旧的70后、80后以及部分90后玩家尤为重要,因为他们中的许多人曾在...

    最新CodeMix eclipse 插件离线安装文件

    这个“最新CodeMix eclipse 插件离线安装文件”提供了一种解决方案,对于那些在线下载速度慢或者经常失败的用户,可以方便地进行离线安装。 Vue.js是一种轻量级、高性能的前端JavaScript框架,由尤雨溪开发。Vue...

    Windows 10封装中出现“无法验证你的Windows安装”错误解决方法.docx

    ### Windows 10封装中出现“无法验证你的Windows安装”错误解决方法 #### 背景与问题描述 在进行Windows 10系统的封装过程中,可能会遇到“无法验证你的Windows安装”的错误提示。这一问题常见于Windows Server ...

    win10补丁 改分辨率 防卡代码.zip

    总的来说,这个压缩包提供了一种针对Windows 10环境下运行"红色警戒"时遇到问题的解决方案,通过补丁和代码优化,让玩家能够在现代操作系统上享受经典游戏的乐趣。对于那些热衷于复古游戏的玩家,这样的工具无疑是一...

Global site tag (gtag.js) - Google Analytics