如果在带有卷的docker中运行opendj,则Opendj安装失败(创建基本条目时出错)

时间:2019-02-19 18:57:53

标签: docker opendj

Opendj4.3.3如果在具有卷的docker中运行opendj,则安装失败,如下所示:

docker run -h ldap-01.domain.com -p 1389:1389 -p 1636:1636 -p 4444:4444 -v C:/Users/openidentityplatform/data:/opt/opendj/data --name ldap-01 openidentityplatform/opendj

但是,如果我们不装载卷,则opendj docker容器将按预期工作。

docker run -h ldap-01.domain.com -p 1389:1389 -p 1636:1636 -p 4444:4444 --name ldap-01 openidentityplatform/opendj

错误日志:

* category=QUICKSETUP seq=68 severity=WARNING msg=Error writing host name file: java.io.FileNotFoundException: /opt/opendj/config/hostname (No such file or directory)
* [19/02/2019:13:48:47 +0000] category=QUICKSETUP seq=84 severity=WARNING msg=import-ldif error log: [19/02/2019:13:48:47 +0000] category=TOOLS seq=26 severity=SEVERE msg=An error occurred while attempting to process the LDIF import:  ThreadInterruptedException((JE 7.5.11) Environment must be closed, caused by: com.sleepycat.je.ThreadInterruptedException: Environment invalid because of previous exception: (JE 7.5.11) /opt/opendj/data/db/userRoot java.lang.InterruptedException THREAD_INTERRUPTED: InterruptedException may cause incorrect internal state, unable to continue. Environment is invalid and must be closed.)
* [19/02/2019:13:48:48 +0000] category=QUICKSETUP seq=85 severity=SEVERE msg=Error: Error Creating Base Entry.
* [19/02/2019:13:48:48 +0000] category=QUICKSETUP seq=86 severity=SEVERE msg=Caught exception: Error Creating Base Entry.
* [19/02/2019:13:48:48 +0000] category=QUICKSETUP seq=87 severity=SEVERE msg=Error installing.

更多详细信息: https://github.com/OpenIdentityPlatform/OpenDJ/issues/50

0 个答案:

没有答案