![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||
Solution Type Problem Resolution Sure Solution 2342174.1 : LDAP service in 'maintenance' state. Service log reports "certutil: could not add certificate to token or database: Error adding certificate to database" SMF-8000-YX
In this Document
Created from <SR 3-16463590610> Applies to:Sun ZFS Storage 7420 - Version All Versions to All Versions [Release All Releases]Oracle ZFS Storage ZS5-4 - Version All Versions to All Versions [Release All Releases] Oracle ZFS Storage ZS5-2 - Version All Versions to All Versions [Release All Releases] Oracle ZFS Storage ZS3-4 - Version All Versions to All Versions [Release All Releases] Oracle ZFS Storage ZS3-2 - Version All Versions to All Versions [Release All Releases] Information in this document applies to any platform. SymptomsThe ZFS Storage Appliance reports a problem due to the LDAP serice being failed, SMF-8000-YX. e.g.: ZFSSA:> maintenance problems ZFSSA:maintenance problems> select problem-000 This is also seen in the BUI under: Maintenance > PROBLEMS
ZFSSA:> maintenance logs select system list
ENTRY TIME Description entry-xx0 2018-1-2 11:22:33 Enabled. entry-xx1 2018-1-2 11:22:33 Executing start method ("exec /lib/svc/method/ldap-client start"). certutil: could not add certificate to token or database: Error adding certificate to database. svc:/network/ldap/client:default: cert conversion failed. entry-xx2 2018-1-2 11:22:34 Method "start" exited with status 95. This is also seen in the BUI under: Configuration > SERVICES > LDAP > Logs.
ChangesA new LDAP server was installed replacing the old LDAP server. The new and old LDAP server had the same name. CauseThe LDAP certificates could not be added. SolutionUnder Configuration Settings, check for any certificates that are no longer needed and remove them, then restart the LDAP service.
The certificates are in the directory /var/ldap/certs. The following command can assist in view what the certificate is used for. I was able to use this to determine that there were some certificates that could be removed. Once they were removed from the /var/ldap/certs directory, the LDAP service was able to be restarted via the BUI. # openssl x509 -noout -subject -dates -in f2756d61-9376-ee3b-b437-8abfc835e235.pem Attachments This solution has no attachment |
||||||||||||||||||
|