程序问答   发布时间:2022-06-02  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了Docbase 无法连接到文档内容服务器安装中的数据库错误大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

如何解决Docbase 无法连接到文档内容服务器安装中的数据库错误?

开发过程中遇到Docbase 无法连接到文档内容服务器安装中的数据库错误的问题如何解决?下面主要结合日常开发的经验,给出你关于Docbase 无法连接到文档内容服务器安装中的数据库错误的解决方法建议,希望对你解决Docbase 无法连接到文档内容服务器安装中的数据库错误有所启发或帮助;

当我在 AWS EKS 上安装 documentum 内容服务器时,我收到此错误。 POSTGRess DB 安装在 EC2 虚拟机上。

14:20:47,013  INFO [main] com.documentum.install.server.installanywhere.actions.DiWAServerModifyDocbaseDirectory
- The installer will create the folder structure for repository POSTGRes. 14:20:47,021  INFO [main] com.documentum.install.server.installanywhere.actions.DiWAServerpasswordfileGenerator
- The installer is generaTing database password file... 14:20:47,111  INFO [main] com.documentum.install.server.installanywhere.actions.DiWAServerIniGenerator
- The installer will create server.in file for repository POSTGRes. 14:20:47,152  INFO [main] com.documentum.install.server.installanywhere.actions.DiWAServerCreatetableSpaceScriptGenerator
- The installer will create scripts to for Postgresql Database. 14:20:47,152  INFO [main] com.documentum.install.server.installanywhere.actions.DiWAServerCreatetableSpaceScriptGenerator
- The URL is jar:file:/tmp/install.dir.208/InstallerData/installer.zip!/dm_CreatetableSpace.sql 14:20:47,209  INFO [main] com.documentum.install.server.installanywhere.actions.DiWAServercopydeletetableSpaceScript
- The installer will move file /opt/dctm/dba/config/POSTGRes/dm_deletetableSpace.sql to a new LOCATIOn /opt/dctm/server_uninstall/delete_db/POSTGRes/dm_deletetableSpace.sql. 14:20:47,214  INFO [main] com.documentum.install.server.installanywhere.actions.DiWAServerCreatetableSpace
- The installer is execuTing the : CreaTing the database script. 14:20:47,355  INFO [main] com.documentum.install.server.installanywhere.actions.DiWAServerWebcacheIniGenerator
- The installer will create webcache.ini file for the repository. 14:20:47,394  INFO [main] com.documentum.install.server.installanywhere.actions.DiWAServerTestServerIni
- The installer is tesTing the database connection information 14:20:47,395  INFO [main] com.documentum.install.server.common.services.db.diserverPOSTGResqlServer
- The installer is valIDaTing the database connection information in the server.ini file. 14:20:47,563 ERROR [main] com.documentum.install.server.installanywhere.actions.DiWAServerTestServerIni
- Docbase Could not connect to the database. Please check output file for more information: /tmp/291406.tmp/DBTestresult18051870723865753931.tmp com.documentum.install.shared.common.error.DIException: Docbase Could not connect to the database. Please check output file for more information: /tmp/291406.tmp/DBTestresult18051870723865753931.tmp 

这是dm_CreatetableSpace.out

的日志
psql:/opt/dctm/dba/config/POSTGRes/dm_CreatetableSpace.sql:1: ERROR:  role "POSTGRes" already exists
psql:/opt/dctm/dba/config/POSTGRes/dm_CreatetableSpace.sql:3: ERROR:  zero-length delimited IDentifIEr at or near """"
liNE 1: GRANT "POSTGRes" TO "";
                            ^
psql:/opt/dctm/dba/config/POSTGRes/dm_CreatetableSpace.sql:6: ERROR:  database "dm_POSTGRes_docbase" already exists
ALTER DATABASE
GRANT
psql:/opt/dctm/dba/config/POSTGRes/dm_CreatetableSpace.sql:9: ERROR:  zero-length delimited IDentifIEr at or near """"
liNE 1: REVOKE "POSTGRes" FROM "";
                               ^
You are Now connected to database "dm_POSTGRes_docbase" as user "POSTGRes".
CREATE scheR_705_11845@A
SET
GRANT
GRANT
GRANT

我不明白如何让它工作。 甚至我也面临 POSTGRes RDS Instant 的问题,即

GRANT "POSTGRes" TO "" 

正在 POSTGResql ec2 实例上生成日志

2021-07-20 11:53:46.434 UTC [7854] dctm@dm_dctm_docbase 致命: 密码认证失败
为用户“dctm”编辑 2021-07-20 11:53:46.434 UTC [7854] dctm@dm_dctm_docbase 详细信息:角色“dctm”不存在。 连接匹配 pg_hba.conf 第 99 行:“host all all all 172
.16.0.0/16 md5" 2021-07-20 11:53:46.436 UTC [7855] dctm@dm_dctm_docbase 致命:密码认证失败
为用户“dctm”编辑 2021-07-20 11:53:46.436 UTC [7855] dctm@dm_dctm_docbase 详细信息:角色“dctm”不存在。 连接匹配 pg_hba.conf 第 99 行:“host all all all 172
.16.0.0/16 md5" 2021-07-20 11:53:49.056 UTC [7857] POSTGRes@POSTGRes 错误:零长度分隔标识符
r 位于或靠近字符 17 2021-07-20 11:53:49.056 UTC [7857] POSTGRes@POSTGRes 声明:将“dctm”授予“”; 2021-07-20 11:53:49.145 UTC [7857] POSTGRes@POSTGRes 错误:零长度 分隔标识符
r 位于或靠近字符 20 20 2021-07-20 11:53:49.145 UTC [7857] POSTGRes@POSTGRes 声明:从“”中撤销“dctm”;密码 用户“dctm”的身份验证失败 2021-07-20 11:53:46.434 UTC [7854] dctm@dm_dctm_docbase 详细信息:角色“dctm”确实如此 不存在。

我正在使用 POSTGResql 超级用户登录并且在 cli 上工作正常。 更新了 heml 图表中的值,即文档的 values.yaml :内容服务器。

解决方法

每次尝试重新运行安装时,您都应该完全删除所有内容。看起来 POSTGRes 已经创建了表空间,这就是测试失败的原因

大佬总结

以上是大佬教程为你收集整理的Docbase 无法连接到文档内容服务器安装中的数据库错误全部内容,希望文章能够帮你解决Docbase 无法连接到文档内容服务器安装中的数据库错误所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。