erikdr
erikdr

Reputation: 11

OpenAM install cannot create default configuration, error in OpenDS

Have installed OpenAM 14.5.4 on Tomcat and CentOs7 with a few basic Ansible steps. Just building a proper Ansible playbook step by step. However 'Create default configuration' from the WebUI keeps on failing at OpenDJ, and our Forgerock developer with whom I'll be completing the work only has time next year. So maybe someone encountered this already?

============== Install.log in /home/tomcat/openam

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

========================= Then

/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

=============== And file /opt/tomcat/temp/opendj-setup-12499578588005068186.log (and .log.lck) were created with size 0 :-(

================= As it helped solving some earlier also the /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

Thanks in advance! Erik

Upvotes: 1

Views: 2144

Answers (1)

Hamza Tahiri
Hamza Tahiri

Reputation: 506

In your install log i see:

--cli --adminConnectorPort 5444,

However when using status, i see that your admin port is 4444, so make sure you use the same port.

Upvotes: 0

Related Questions