By: Philippe Page user 28 Feb 2019 at 9:22 p.m. CST

12 Responses
Philippe Page gravatar
We tried configuring cache refresh with our LDAP which is FreeIPA. But after setting up the configurations we don't have any outputs on the "Last run:" "Updates at the last run:" and "Problems at the last run:" We followed the video tutorial, however we can't search any users created on our LDAP (FreeIPA). Thank you in advance.

By Michael Schwartz Account Admin 28 Feb 2019 at 9:29 p.m. CST

Michael Schwartz gravatar
Can you share more details about your configuration?

By Aliaksandr Samuseu staff 28 Feb 2019 at 9:41 p.m. CST

Aliaksandr Samuseu gravatar
Hi, Philippe. A few items we need to be able to help with your issue: 1. CR's log: `/opt/gluu/jetty/identity/logs/oxtrust_cache_refresh.log` 2. Screenshots of all web UI pages with your settings for CR 3. Output of this commands (inside container): - `# grep -i -e 'ssl.' /etc/gluu/conf/ox-ldap.properties` - `# ls -alh /var/ox/identity/cr-snapshots` Also, are you sure the host where Gluu Server is installed meets minimal requirements specified [here](https://gluu.org/docs/ce/3.1.5/installation-guide/#system-requirements)?

By Philippe Page user 28 Feb 2019 at 11:33 p.m. CST

Philippe Page gravatar
Thank you for the immediate response. Attached are the necessary informations: **/opt/gluu/jetty/identity/logs/oxtrust_cache_refresh.log** > ``` > > 2019-02-28 00:36:36,150 ERROR [qtp1094834071-13] [org.gluu.oxtrust.action.ConfigureCacheRefreshAction] (ConfigureCacheRefreshAction.java:423) - Can't load Cache Refresh scripts. Using default script > > 2019-02-28 00:41:27,324 ERROR [qtp1094834071-11] [org.gluu.oxtrust.action.ConfigureCacheRefreshAction] (ConfigureCacheRefreshAction.java:423) - Can't load Cache Refresh scripts. Using default script > > 2019-02-28 00:45:47,402 ERROR [qtp1094834071-7526] [org.gluu.oxtrust.action.ConfigureCacheRefreshAction] (ConfigureCacheRefreshAction.java:423) - Can't load Cache Refresh scripts. Using default script > > 2019-02-28 01:07:33,355 ERROR [qtp1094834071-94] [org.gluu.oxtrust.action.ConfigureCacheRefreshAction] (ConfigureCacheRefreshAction.java:423) - Can't load Cache Refresh scripts. Using default script > > 2019-02-28 01:08:10,435 ERROR [qtp1094834071-15] [org.gluu.oxtrust.action.ConfigureCacheRefreshAction] (ConfigureCacheRefreshAction.java:423) - Can't load Cache Refresh scripts. Using default script > > 2019-02-28 01:09:42,123 ERROR [qtp1094834071-14] [org.gluu.oxtrust.action.ConfigureCacheRefreshAction] (ConfigureCacheRefreshAction.java:423) - Can't load Cache Refresh scripts. Using default script > > 2019-02-28 01:10:28,853 INFO [qtp1094834071-14] [org.gluu.oxtrust.action.ConfigureCacheRefreshAction] (ConfigureCacheRefreshAction.java:476) - Script has been executed successfully. > > Sample source entry is: > > ' > > uid: 'Test value' > > mail: 'Test value' > > cn: 'Test value' > > sn: 'Test value''. > > Sample result entry is: > > 'dn: 'inum=@!519F.5AFC.EED7.BFE9!0001!3282.54E3!0000!8AFA.3929,ou=people,o=@!519F.5AFC.EED7.BFE9!0001!3282.54E3,o=gluu' > > inum: '@!519F.5AFC.EED7.BFE9!0001!3282.54E3!0000!8AFA.3929', > > gluuStatus: 'active' > > inum: '@!519F.5AFC.EED7.BFE9!0001!3282.54E3!0000!8AFA.3929' > > gluuStatus: 'active' > > uid: 'Test value' > > mail: 'Test value' > > cn: 'Test value' > > sn: 'Test value' > > preferredLanguage: 'en-us' > > userPassword: 'test'' > > 2019-02-28 20:34:32,114 INFO [qtp1094834071-7526] [org.gluu.oxtrust.action.ConfigureCacheRefreshAction] (ConfigureCacheRefreshAction.java:476) - Script has been executed successfully. > > Sample source entry is: > > ' > > uid: 'Test value' > > mail: 'Test value' > > cn: 'Test value' > > sn: 'Test value''. > > Sample result entry is: > > 'dn: 'inum=@!519F.5AFC.EED7.BFE9!0001!3282.54E3!0000!C5D6.1223,ou=people,o=@!519F.5AFC.EED7.BFE9!0001!3282.54E3,o=gluu' > > inum: '@!519F.5AFC.EED7.BFE9!0001!3282.54E3!0000!C5D6.1223', > > gluuStatus: 'active' > > inum: '@!519F.5AFC.EED7.BFE9!0001!3282.54E3!0000!C5D6.1223' > > gluuStatus: 'active' > > uid: 'Test value' > > mail: 'Test value' > > cn: 'Test value' > > sn: 'Test value' > > preferredLanguage: 'en-us' > > userPassword: 'test'' > > 2019-02-28 21:46:27,756 INFO [qtp1094834071-11] [org.gluu.oxtrust.action.ConfigureCacheRefreshAction] (ConfigureCacheRefreshAction.java:476) - Script has been executed successfully. > > Sample source entry is: > > ' > > uid: 'Test value' > > mail: 'Test value' > > cn: 'Test value' > > sn: 'Test value''. > > Sample result entry is: > > 'dn: 'inum=@!519F.5AFC.EED7.BFE9!0001!3282.54E3!0000!DA65.BE0A,ou=people,o=@!519F.5AFC.EED7.BFE9!0001!3282.54E3,o=gluu' > > inum: '@!519F.5AFC.EED7.BFE9!0001!3282.54E3!0000!DA65.BE0A', > > gluuStatus: 'active' > > inum: '@!519F.5AFC.EED7.BFE9!0001!3282.54E3!0000!DA65.BE0A' > > gluuStatus: 'active' > > uid: 'Test value' > > mail: 'Test value' > > cn: 'Test value' > > sn: 'Test value' > > preferredLanguage: 'en-us' > > userPassword: 'test'' > > 2019-02-28 21:48:04,885 INFO [qtp1094834071-94] [org.gluu.oxtrust.action.ConfigureCacheRefreshAction] (ConfigureCacheRefreshAction.java:476) - Script has been executed successfully. > > Sample source entry is: > > ' > > uid: 'Test value' > > mail: 'Test value' > > cn: 'Test value' > > sn: 'Test value''. > > Sample result entry is: > > 'dn: 'inum=@!519F.5AFC.EED7.BFE9!0001!3282.54E3!0000!39F7.ECB9,ou=people,o=@!519F.5AFC.EED7.BFE9!0001!3282.54E3,o=gluu' > > inum: '@!519F.5AFC.EED7.BFE9!0001!3282.54E3!0000!39F7.ECB9', > > gluuStatus: 'active' > > inum: '@!519F.5AFC.EED7.BFE9!0001!3282.54E3!0000!39F7.ECB9' > > gluuStatus: 'active' > > uid: 'Test value' > > mail: 'Test value' > > cn: 'Test value' > > sn: 'Test value' > > preferredLanguage: 'en-us' > > userPassword: 'test'' > > 2019-02-28 22:48:39,103 INFO [qtp1094834071-15] [org.gluu.oxtrust.action.ConfigureCacheRefreshAction] (ConfigureCacheRefreshAction.java:476) - Script has been executed successfully. > > Sample source entry is: > > ' > > uid: 'Test value' > > mail: 'Test value' > > cn: 'Test value' > > sn: 'Test value''. > > Sample result entry is: > > 'dn: 'inum=@!519F.5AFC.EED7.BFE9!0001!3282.54E3!0000!E159.A3F5,ou=people,o=@!519F.5AFC.EED7.BFE9!0001!3282.54E3,o=gluu' > > inum: '@!519F.5AFC.EED7.BFE9!0001!3282.54E3!0000!E159.A3F5', > > gluuStatus: 'active' > > inum: '@!519F.5AFC.EED7.BFE9!0001!3282.54E3!0000!E159.A3F5' > > gluuStatus: 'active' > > uid: 'Test value' > > mail: 'Test value' > > cn: 'Test value' > > sn: 'Test value' > > preferredLanguage: 'en-us' > > userPassword: 'test'' > ``` **** ![enter image description here](https://drive.google.com/file/d/1ZPGmmDE3iX-COIwYInP6I3ayto2U9rtX/view?usp=sharing "enter image title here") ![enter image description here](https://drive.google.com/file/d/1YzJn9KpYC-BP4UCdqOxgA5yMuqUY1hec/view?usp=sharing "enter image title here")

By Philippe Page user 28 Feb 2019 at 11:37 p.m. CST

Philippe Page gravatar
I can't figure out how to attach screenshots. Sorry.

By Philippe Page user 28 Feb 2019 at 11:38 p.m. CST

Philippe Page gravatar
Im trying to attach via Link URL on google drive.

By Philippe Page user 28 Feb 2019 at 11:39 p.m. CST

Philippe Page gravatar
``` [root@localhost ~]# grep -i -e 'ssl.' /etc/gluu/conf/ox-ldap.properties grep: /etc/gluu/conf/ox-ldap.properties: No such file or directory [root@localhost ~]# ls -alh /var/ox/identity/cr-snapshots total 8.0K drwxr-xr-x. 2 root root 4.0K Feb 28 22:42 . drwxr-xr-x. 3 root root 4.0K Feb 28 22:42 .. [root@localhost ~]# ```

By Aliaksandr Samuseu staff 28 Feb 2019 at 11:54 p.m. CST

Aliaksandr Samuseu gravatar
Google Drive is fine. But I only see one screenshot of one page at your link. We need screenshots of at least first 3 tabs of CR's page, with all settings. Please also share complete logs (via Google Drive), not the fragment. This doesn't seem right too, the file must be present: ``` [root@localhost ~]# grep -i -e 'ssl.' /etc/gluu/conf/ox-ldap.properties grep: /etc/gluu/conf/ox-ldap.properties: No such file or directory ``` What files are in this directory? `# ls /etc/gluu/conf/`

By Philippe Page user 01 Mar 2019 at 12:37 a.m. CST

Philippe Page gravatar
Here is the link for the screenshot of cache refresh https://drive.google.com/drive/folders/1xBAaniWIqoXopPE9unLzWFGEylwxZqkz?usp=sharing Here is the output of the command ls @ /etc/gluu/conf ``` [root@localhost conf]# ls fido2 oxTrustLogRotationConfiguration.xml passport-saml-config.json ox-ldap.properties passport-inbound-idp-initiated.json salt [root@localhost conf]# ```

By Mohib Zico staff 20 Mar 2019 at 9:59 a.m. CDT

Mohib Zico gravatar
Hi Philippe, Let's try to increase the oxTrust [Log level](https://gluu.org/docs/ce/3.1.5/operation/logs/#log-levels) to DEBUG and start Cache Refresh from scratch. 'oxtrust_cache_refresh.log' should show us the failure.

By Aliaksandr Samuseu staff 20 Mar 2019 at 11:38 a.m. CDT

Aliaksandr Samuseu gravatar
Hi, Philippe. Please follow Zico's suggestion, it should provide a more detailed via logs. Still, one thing I've noted on your screenshots: you are using the same ip address both for specifying Source Backend LDAP Server, and for property called "Server IP Address" on the first tab of CR's settings page. This is most likely not corret. Assuming `10.0.93.53` is ip address of your backed (remote) LDAP server, for "Server IP Address" you must provide ip address of this very Gluu Server node. Those addresses in most cases are not the same, like on your screenshots.

By Aliaksandr Samuseu staff 27 Mar 2019 at 9:01 p.m. CDT

Aliaksandr Samuseu gravatar
Hi, Philippe. Did you try the fix suggested in my previous post? Do you still need this ticket to stay open?

By Aliaksandr Samuseu staff 23 Apr 2019 at 2:44 p.m. CDT

Aliaksandr Samuseu gravatar
Closing the ticket due to inactivity.