DSEE 7 on RHEL 6 Install Notes

Just a few notes following an install of 64-bit Directory Server Enterprise Edition (DSEE) 7 (actually Oracle DSEE 11g on Red Hat Enterprise Linux (RHEL) 6.2 x86_64.

The install was done on a pretty lean RHEL 6 image, and so was lacking a lot of the stuff I usually take for granted: like all the 32-bit versions of core libraries as well as the development packages for same. It was also missing the OpenLDAP client utilities. Enough to make you want to go out to the range and pile up some brass.

In the end I learned two important lessons:

1. To install DSEE on RHEL 6 you really want the latest zip distribution from Oracle Technology Network. At this writing that’s

2. You’ll need both the 64-bit and 32-bit versions of the following libraries:


3. Also make sure you’ve got the openldap-clients package installed. Makes life much easier.

4. Make sure the limits in /etc/security/limits and kernel parameters in /etc/sysctl.conf are set to something reasonable — in other words less restrictive than the defaults.

5. When creating my directory instances I always located them directly under $DSHOME (e.g. /opt/sun/dsee7) and usually follow the following naming convention:

slapd-[short hostname]-[type]

for example, “/opt/sun/dsee7/slapd-myhost-user”.

6. Check out my DSEE Cheat Sheet for how to create and initialize instances as well as perform various post installation configuration tasks.

Here’s a simple init script for DSEE 7 on RHEL 6:

# Sun DSEE init script
# /etc/rc.d/init.d/dsee
# chkconfig: 345 98 29
# description: Starts/Stops Sun DSEE
SERVER=`hostname --short`

case $1 in
    $PROG_PATH/dsadm start $INST1
    $PROG_PATH/dsadm stop $INST1
    $PROG_PATH/dsadm restart $INST1
    $PROG_PATH/dsadm info $INST1
    echo "Usage: $0 { start | stop | restart | status}"

Final Note: As I was doing this I kept thinking “if only there was a zip distribution for 389 Directory …”