By: Adam Keily user 25 Jun 2015 at 7:40 p.m. CDT

2 Responses
Adam Keily gravatar
I've installed gluu server and reinstalled it over and over. I've combed through the doco but regardless of what I do, I can't seem to trigger cache refresh to run. Here is my oxTrustCacheRefresh.properties, senstive info commented masked with ***** `# Define LDAP server configurations server.source.configs=source server.inum.config=InumDB server.target.config= cache.config.sizelimit=0 # Define configuration for source LDAP server #1 ldap.conf.source.bindDN=cn=ssprproxy\,o=resources ldap.conf.source.bindPassword=************** ldap.conf.source.servers=idmdev01.***.edu.au:636 ldap.conf.source.maxconnections=2 ldap.conf.source.useSSL=true ldap.conf.source.baseDNs=o=people ldap.conf.source.useAnonymousBind=false # Define configuration for InumDB server ldap.conf.InumDB.bindDN=cn=directory manager ldap.conf.InumDB.bindPassword=GYFa0zN9yfHYOA9OlQaxig== ldap.conf.InumDB.servers=localhost:1636 ldap.conf.InumDB.maxconnections=3 ldap.conf.InumDB.useSSL=true ldap.conf.InumDB.baseDNs=ou=people\,o=site # Define compound key ldap.conf.source.compoundKey.attr=cn ldap.conf.source.compoundKey.objectClasses=User # Define source attributes which application synchronize ldap.conf.source.attrs=cn, sn, givenName, displayName # Define custom filter ldap.conf.source.custom.filter= # Use VDS or direct copy update method. Allowed values are 'vds', 'copy' target.server.update.method=copy # Keep non cache refresh users. Allowed values are 'true', 'false' target.keep.external.person=true # Use unlimited search or not. Allowed values are 'true', 'false' source.load.use.search.limit=false # Define mapping from source attribute names to destination attribute names. It's needed for target.server.update.method=copy only ldap.conf.target.attr.mapping.mail=mail ldap.conf.target.attr.mapping.sn=sn ldap.conf.target.attr.mapping.cn=cn ldap.conf.target.attr.mapping.givenname=givenname # Snapshot configuration snapshot.folder=/tmp/snapshots/ snapshot.max.count=0 ` Is there anything I need to do to trigger it. All I see in the log is `2015-06-25 02:05:11,217 INFO [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (localhost-startStop-1) Initializing CacheRefreshTimer... 2015-06-25 02:06:11,282 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-8) Starting conditions aren't reached 2015-06-25 02:06:11,289 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-8) Allowing to run new process exclusively 2015-06-25 02:07:11,248 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-7) Starting conditions aren't reached 2015-06-25 02:07:11,248 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-7) Allowing to run new process exclusively 2015-06-25 02:08:11,250 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-6) Starting conditions aren't reached 2015-06-25 02:08:11,250 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-6) Allowing to run new process exclusively 2015-06-25 02:09:11,235 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-3) Starting conditions aren't reached 2015-06-25 02:09:11,235 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-3) Allowing to run new process exclusively 2015-06-25 02:10:11,259 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-8) Starting conditions aren't reached 2015-06-25 02:10:11,262 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-8) Allowing to run new process exclusively 2015-06-25 02:11:16,367 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-7) Starting conditions aren't reached 2015-06-25 02:11:16,368 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-7) Allowing to run new process exclusively 2015-06-25 02:12:11,226 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-6) Starting conditions aren't reached 2015-06-25 02:12:11,226 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-6) Allowing to run new process exclusively 2015-06-25 02:13:11,226 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-3) Starting conditions aren't reached 2015-06-25 02:13:11,226 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-3) Allowing to run new process exclusively 2015-06-25 02:14:11,239 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-8) Starting conditions aren't reached 2015-06-25 02:14:11,239 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-8) Allowing to run new process exclusively 2015-06-25 02:15:11,240 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-7) Starting conditions aren't reached 2015-06-25 02:15:11,240 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-7) Allowing to run new process exclusively 2015-06-25 02:16:11,248 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-9) Starting conditions aren't reached 2015-06-25 02:16:11,248 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-9) Allowing to run new process exclusively 2015-06-25 02:17:11,246 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-3) Starting conditions aren't reached 2015-06-25 02:17:11,246 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-3) Allowing to run new process exclusively 2015-06-25 02:18:11,242 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-6) Starting conditions aren't reached 2015-06-25 02:18:11,242 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-6) Allowing to run new process exclusively 2015-06-25 02:19:11,243 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-1) Starting conditions aren't reached 2015-06-25 02:19:11,244 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-1) Allowing to run new process exclusively 2015-06-25 02:20:11,253 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-7) Starting conditions aren't reached 2015-06-25 02:20:11,254 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-7) Allowing to run new process exclusively 2015-06-25 02:21:11,230 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-9) Starting conditions aren't reached 2015-06-25 02:21:11,230 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-9) Allowing to run new process exclusively 2015-06-25 02:22:11,266 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-4) Starting conditions aren't reached 2015-06-25 02:22:11,267 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-4) Allowing to run new process exclusively 2015-06-25 02:23:11,251 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-10) Starting conditions aren't reached 2015-06-25 02:23:11,251 DEBUG [gluu.oxtrust.ldap.cache.service.CacheRefreshTimer] (pool-4-thread-10) Allowing to run new process exclusively`

By Mohib Zico Account Admin 26 Jun 2015 at 3:51 a.m. CDT

Mohib Zico gravatar
Have you enabled Cache Refresh? There is small switch under [System Configuration](http://www.gluu.org/docs/admin-guide/configuration/#system-configuration) to start Cache Refresh.

By Adam Keily user 28 Jun 2015 at 7:55 p.m. CDT

Adam Keily gravatar
That did the trick. Thanks very much.