当我在AWS EKS上安装Documentum 内容服务器时,我收到此错误。 Postgress 数据库安装在 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 SCHEMA
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 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 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 声明:GRANT "dctm" TO "" 处或附近的 """";2021-07-20 11:53:49.145 UTC [7857] postgres@postgres 错误:零长度分隔标识符
在字符 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 图表中的值,即 documentum 的 values.yaml :内容服务器。