0

通过几个基本的 Ansible 步骤在 Tomcat 和 CentOs7 上安装了 OpenAM 14.5.4。只是一步一步地构建一个合适的 Ansible 剧本。然而,来自 WebUI 的“创建默认配置”在 OpenDJ 上一直失败,而我将与我一起完成工作的 Forgerock 开发人员明年才有时间。所以也许有人已经遇到过这个?

============== 在 /home/tomcat/openam 中安装.log

2/18/2020 12:48:21:265 PM UTC: Extracting OpenDJ, please wait...
12/18/2020 12:48:21:563 PM UTC: Complete
12/18/2020 12:48:21:563 PM UTC: Running OpenDJ setup
12/18/2020 12:48:21:563 PM UTC: Setup command: --cli --adminConnectorPort 5444 --baseDN dc=openam,dc=openidentityplatform,dc=org --rootUserDN cn=Directory Manager --ldapPort 51389 --skipPortCheck --rootUserPassword xxxxxxx --jmxPort 2689 --no-prompt --doNotStart --hostname 1.1.1.34 --noPropertiesFile --backendType je

Configuring Directory Server .....

Error Configuring Directory Server.
See /opt/tomcat/temp/opendj-setup-12499578588005068186.log for a detailed log
of the failed operation.
Please report this error and provide the log file mentioned above.

To see basic server configuration status and configuration, you can launch
/home/tomcat/openam/opends/bin/status

12/18/2020 12:48:22:967 PM UTC: ...Failed.
12/18/2020 12:48:22:967 PM UTC: ...Failed 5

========================== 然后

/home/tomcat/openam/opends/bin/status

          --- Server Status ---
Server Run Status:        Stopped
Open Connections:         <not available> (*)

          --- Server Details ---
Host Name:                bkd-revgem-proxy.bkd.local
Administrative Users:     cn=Directory Manager
Installation Path:        /home/tomcat/openam/opends
Version:                  OpenDJ Server 4.4.8
Java Version:             <not available> (*)
Administration Connector: Port 4444 (LDAPS)

          --- Connection Handlers ---
Address:Port : Protocol : State
-------------:----------:---------
--           : LDIF     : Disabled
0.0.0.0:389  : LDAP     : Enabled
0.0.0.0:636  : LDAPS    : Disabled
0.0.0.0:1689 : JMX      : Disabled
0.0.0.0:8080 : HTTP     : Disabled

          --- Data Sources ---
Base DN:     dc=openam,dc=openidentityplatform,dc=org
Backend ID:  userRoot
Entries:     <not available> (*)
Replication: 

* Information only available if server is running and you provide val

=============== 并且文件 /opt/tomcat/temp/opendj-setup-12499578588005068186.log(和 .log.lck)的大小为 0 :-(

================= 因为它帮助解决了一些更早的/etc/hosts:

127.0.0.1       bkd-revgem-proxy.bkd.local      bkd-revgem-proxy
# This file is managed by Ansible, all changes will be lost.
127.0.0.1 localhost.localdomain localhost
10.0.2.15 bkd-revgem-proxy bkd-revgem-proxy
1.1.1.5 bkd-awx awx
1.1.1.34 bkd-revgem-proxy.bkd.local
1.1.1.34 bkd-revgem-proxy

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

提前致谢!埃里克

4

1 回答 1

0

在您的安装日志中,我看到:

--cli --adminConnectorPort 5444,

但是在使用状态时,我看到您的管理端口是 4444,因此请确保您使用相同的端口。

于 2021-01-19T12:41:30.463 回答