通过一些基本的Ansible步骤在Tomcat和CentOs7上安装了OpenAM 14.5.4。只是一步一步地构建一个合适的Ansible剧本。然而,在OpenDJ上,WebUI的"创建默认配置"一直失败,并且我们的Forgerock开发人员明年才有时间和我一起完成这项工作。也许有人已经遇到了这种情况?
==============/home/tomcat/openam 中的Install.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-1249578588005068186.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
提前感谢!Erik
在您的安装日志中,我看到:
--cli --adminConnectorPort 5444,
然而,当使用状态时,我看到你的管理端口是4444,所以请确保你使用相同的端口。