search cancel

ldap_add_s returned LDAP err=0x44 (Already Exists)

book

Article ID: 240562

calendar_today

Updated On:

Products

SITEMINDER

Issue/Introduction

This error is occurring on the Policy Server (smps,log):

 

[HH:MM:SS.ms][3][377758][SmSSInLDAPStore.cpp:8][DoMaintenance][][][][][][][][][][][][][][][][][][][][][Enter function DoMaintenance]

[HH:MM:SS.ms][3][377758][LdapStore.cpp:37][Lock_LdapHandle][][][][][][][][][][][][][][][][][][][][][Lock LDAP handle. slot= ld=x<NAN>]

[HH:MM:SS.ms][3][377758][LdapStore.cpp:85][CLdapStore][][][][][][][][][][][][][][][][][][][][][Trying to create an object, LDAP returned an error message: Already exists, (ldap_add_s returned LDAP err=x]

[HH:MM:SS.ms][3][377758][LdapStore.cpp:37][Lock_LdapHandle][][][][][][][][][][][][][][][][][][][][][Lock LDAP handle. slot= ld=x<NAN>]

[HH:MM:SS.ms][3][377758][LdapStore.cpp:86][ReBind][][][][][][][][][][][][][][][][][][][][][Releasing LDAP connection for varprdlrhs8.rup.afsiep.net:55]

[HH:MM:SS.ms]][3][377758][LdapStore.cpp:8][ReBind][][][][][][][][][][][][][][][sessionstore1.smlab.net][55][][][][][Connected to LDAP server varprdlrhs8.rup.afsiep.net:55 as cn=smadmin1,ou=DirectoryAdministrators,ou=Admins,ou=Users,o=smlab,c=US]

[HH:MM:SS.ms][3][377758][LdapStore.cpp:85][CLdapStore][][][][][][][][][][][][][][][][][][][][][Trying to create an object, LDAP returned an error message: Already exists, (ldap_add_s returned LDAP err=x]

[HH:MM:SS.ms][3][377758][LdapStore.cpp:557][QueryObject][][][][][][][][][][][][][][][][][][][][][Querying for object 'cn=smMaintenance,ou=sessiondb, o=smlab,c=US', (filter:" (objectClass=smMaintenance) ")]

[HH:MM:SS.ms][3][377758][SmSSInLDAPStore.cpp:33][DoMaintenance][][][][][][][][][][][][][][][][][][][][][Leave function DoMaintenance]

 

Cause

The Policy Server uses the following registry key to set the frequency it performs session store maintenance.  Session Store maintenance is basically the clearing out of stale sessions from the store.  The frequency is configured in the following registry key:

Linux: <Install_Dir>/CA/siteiminder/registry/sm.registry

Windows: run 'regedit.exe'

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Netegrity\SiteMinder\CurrentVersion\SessionServer\MaintenancePeriod

This message will occur if there are multiple policy servers connecting to the session store.  The message indicates that when the policy server attempted to perform session store maintenance, it found that another policy server was already in the process of doing session store maintenance.  This process locks out other policy servers from attempting to execute the same maintenance at the same time.

 

 

Environment

Release : 12.8

Component :

Resolution

This message is expected and can be ignored.