By: Hari Mvg user 28 Jun 2017 at 1:18 a.m. CDT

8 Responses
Hari Mvg gravatar
Installation failing on the LDAP -- irrespective if I select "Install LDAP". We have an external LDAP -- so it is not 100% necessary, but for ease on the Gluu PoC, we would prefer with the LDAP. Any suggestions will be greatly appreciated. Snippet from setup.log: ``` 23:02:12 06/27/17 Running: /bin/su ldap -c cd /opt/opendj ; export OPENDJ_JAVA_HOME=/opt/jre ; /opt/opendj/setup --no-prompt --cli --propertiesFilePath /opt/opendj/opendj-setup.properties --acceptLicense 23:02:14 06/27/17 An error occurred while parsing the command-line arguments: An unexpected error occurred while attempting to initialize the command-line arguments: An error occurred while attempting to read the contents of the argument properties file /opt/opendj/opendj-setup.properties: FileNotFoundException(/opt/opendj/opendj-setup.properties (Permission denied)) ERROR: No password was provided for the initial root user. When performing a non-interactive installation, this must be provided using either the rootUserPassword or the rootUserPasswordFile argument See "setup --help" to get more usage help 23:02:14 06/27/17 Running: /bin/su ldap -c cd /opt/opendj/bin ; /opt/opendj/bin/dsjavaproperties 23:02:15 06/27/17 An error occurred while parsing the command-line arguments: An unexpected error occurred while attempting to initialize the command-line arguments: The file properties "/opt/opendj/config/java.properties" cannot be read. Check that it exists and that you have read rights to it See "dsjavaproperties --help" to get more usage help 23:02:15 06/27/17 Running: /bin/su ldap -c cd /opt/opendj/bin ; /opt/opendj/bin/stop-ds 23:02:16 06/27/17 Stopping Server... ERROR: Unable to find the server.pid file to determine the process ID of the OpenDJ process to terminate. 23:02:16 06/27/17 Running OpenLDAP Setup 23:02:16 06/27/17 Installing OpenLDAP from package 23:02:16 06/27/17 ***** Error caught in main loop ***** 23:02:16 06/27/17 Traceback (most recent call last): File "./setup.py", line 2763, in <module> installObject.install_ldap_server() File "./setup.py", line 2527, in install_ldap_server installObject.install_openldap() File "./setup.py", line 2448, in install_openldap for file in os.listdir(openLdapDistFolder): OSError: [Errno 2] No such file or directory: '/opt/dist/symas' ```

By Mohib Zico staff 28 Jun 2017 at 4:37 a.m. CDT

Mohib Zico gravatar
Please allow us to take a quick look.

By Mohib Zico staff 28 Jun 2017 at 5:03 a.m. CDT

Mohib Zico gravatar
Couldn't reproduce the issue. [Here](https://youtu.be/VUa4HuDxU4A) is the screencast.

By Aliaksandr Samuseu staff 28 Jun 2017 at 7:51 a.m. CDT

Aliaksandr Samuseu gravatar
Hi, Hari. What version of RHEL7 do you use? Have you tried to update your distro prior to install? Did you disable SELinux? Please also have a look at [minimal requirements](https://gluu.org/docs/ce/3.0.2/installation-guide/#minimum-requirements) for Gluu CE.

By William Lowe user 28 Jun 2017 at 8:33 a.m. CDT

William Lowe gravatar
> We have an external LDAP -- so it is not 100% necessary Just one note... it actually is necessary even if you have an external LDAP. The Gluu Server needs its local LDAP to store user data, like sessions and attributes. Thanks, Will

By Hari Mvg user 28 Jun 2017 at 1:26 p.m. CDT

Hari Mvg gravatar
Thanks Will! Our PoC server is: 3.10.0-514.21.2.el7.x86_64 -- if PoC is successful, likely will be AWS. Running setup.py as 'sudo -i' -- for outpout from 'setup.log' below -- should I manually create file 'opendj-setup.properties' -- but was unsure on values to set? ``` 11:22:47 06/28/17 Running: /bin/su ldap -c cd /opt/opendj ; export OPENDJ_JAVA_HOME=/opt/jre ; /opt/opendj/setup --no-prompt --cli --propertiesFilePath /opt/opendj/opendj-setup.properties --acceptLicense 11:22:49 06/28/17 An error occurred while parsing the command-line arguments: An unexpected error occurred while attempting to initialize the command-line arguments: An error occurred while attempting to read the contents of the argument properties file /opt/opendj/opendj-setup.properties: FileNotFoundException(/opt/opendj/opendj-setup.properties (Permission denied)) ERROR: No password was provided for the initial root user. When performing a non-interactive installation, this must be provided using either the rootUserPassword or the rootUserPasswordFile argument ```

By Hari Mvg user 28 Jun 2017 at 1:32 p.m. CDT

Hari Mvg gravatar
Hi Will: FYI -- going to perform a reinstall from scratch -- in case missed a step -- will follow screencast at: https://www.youtube.com/watch?v=VUa4HuDxU4A&feature=youtu.be FYI RHEL version: [root@oidc1 community-edition-setup]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.3 (Maipo)

By William Lowe user 28 Jun 2017 at 1:36 p.m. CDT

William Lowe gravatar
Yes good idea. Often times can be an issue with how the VM is configured. Let us know how it goes.

By William Lowe user 30 Jun 2017 at 8:12 a.m. CDT

William Lowe gravatar
I'm going to close this ticket out for now. Please feel free to open a new ticket if you are still facing issues. Thanks Will