How to know if you are running a DS 5.2 Patch5 timebomb affected system and how to fix it
By marcos on Aug 13, 2007
Am I running a DS 5.2 Patch5 time-bombed instance (Bug 6587775)?
If you installed/upgraded your instance 5.2 Patch5 directory server before August 1st, 2007 and you have never applied any hotfixes to it as the server has been working on nicely since it was first installed/upgraded, then you are most likely running a DS 5.2 Patch5 time-bombed instance, but pleaaaase, don't panic yet: the following steps will allow you to get rid of it without even knowing about it... You can in the meantime keep your DS instance up and running safely as long as you DO NOT STOP it. If you do, then you will not be able to start it again until you will get a hotfix for the bug.
How can I confirm the presence of Bug 6587775 in my system?
Here are a couple of easy ways to know if you are running a DS 5.2 Patch5 time-bombed instance, none of them will affect your already running instance, so you can safely execute any of both:
- Running ns-slapd and verifying the build number (5.2_Patch_5 B2007.093.0058 indicates the bug):
Sun Microsystems, Inc.
Sun Java(TM) System Directory Server/5.2_Patch_5 B2007.093.0058
- Hitting the bug as follows (this should produce a "beta software has expired" message):
./ns-slapd -D ../../../slapd-incus -V
[01/Aug/2007:18:08:37 +0200] - DEBUG - conn=-1 op=-1 msgId=-1 - ERROR: \*\* This beta software has expired \*\*
Which implications does this bug have for my directory services?
None, as long as you DO NOT STOP your instances. If you do, then you will not be able to start them again until you will get a hotfix for the bug. Also, the offline import/exports and backup/restores will not work due to this bug, so it is highly recommended to use the online import/export procedures (db2ldif.pl, ldif2db.pl, etc) until a fix for this bug will be in place.
How can I fix the bug?
The easiest and safest way is to contact Sun Support for a delivery of a hotfix for your particular OS. Please make sure you specify the type of distribution you have installed (Zip or Native Package).
Once you will have that hotfix delivered (that should happen really fast), you will need to install it following Sun Support instructions which are different depending whether you installed a Native Package or a Zip distribution of the product. In any case, the installation of the hotfix is pretty simple, as such hotfix will only affect the ns-slapd binary, no other library in your system will be touched.