Posted by: Karl H. Beckers | September 18, 2007

Directory Server Enterprise Edition (DSEE) 6.2 on … ubuntu

Among the billion other things I seem to be doing at the moment, I’ve invested some time into installing DSEE 6.2 on my ubuntu (feisty) laptop rather than setting up a vmware image of a supported Linux platform. “6.2″, I hear you say, “hasn’t even been released, yet.” You’re right, but rest assured it will ;) Also, the stuff I’ve found may well help a 6.1 install, as well. I haven’t tested that, though.

How to do it? Follow these easy steps:

  1. Download the zip installer from the http://www.sun.com/downloads site once 6.2 becomes available, or try with 6.1.
  2. Install in the documented way. The installation will fail to register the JES mgmt. framework. Apparently there is a problem with <dsee-install-dir>/dsee6/cacao_2/configure . Instead of fixing that, it is very easy to do the following.
  3. Go to <dsee-install-dir>/dsee6/cacao_2/cacao and do this (feel free to use other ports):
    dsee6/cacao_2/cacao$ bin/cacaoadm set-param jmxmp-connector-port=11162
    dsee6/cacao_2/cacao$ bin/cacaoadm set-param snmp-adaptor-port=11160
    dsee6/cacao_2/cacao$ bin/cacaoadm set-param snmp-adaptor-trap-port=11161
    dsee6/cacao_2/cacao$ bin/cacaoadm set-param commandstream-adaptor-port=11163
    dsee6/cacao_2/cacao$ bin/cacaoadm set-param rmi-registry-port=11164
    dsee6/cacao_2/cacao$ bin/cacaoadm set-param secure-webserver-port=11165
    dsee6/cacao_2/cacao$ bin/cacaoadm start
  4. Then go to <dsee-install-dir>/dscc and do:
    bin/dsccsetup dismantle
    bin/dsccsetup initialize
  5. Deploy the dscc war file found under <dsee-install-dir>/var/dscc6/dscc.war to the app server of your choice.
  6. This would allow you to start the dscc web console and do anything that does not need cacao (yummy). To e. g. install a new instance, you also need to give suexec the right permissions:
    $ sudo chown root.root /dsee6/cacao_2/cacao/private/bin/suexec
    $ sudo chmod u+s /dsee6/cacao_2/cacao/private/bin/suexec

That’s it, you’re ready to go.


Responses

  1. [...] Directory Server Enterprise Edition (DSEE) 6.2 on … ubuntu [...]

  2. Hi, I tried to follow your simple steps on ubuntu 7.10 with Polish locale. I’ve found that you need to symlink /usr/bin/basename to /bin/basename before running “LANG=C ./dsee_deploy install ….”

    Following steps worked for me so far.

    Greg

  3. Uh oh, sorry about that.
    I guess I already had that linked from previous attempts with v. 6.0. I remember linking more than that for installations of previous version via the JES installer, but that must have been before my hdd crashed, because now I only have:


    lrwxrwxrwx 1 root root 16 2007-06-25 13:25 ./pidof -> ../sbin/killall5
    lrwxrwxrwx 1 root root 15 2007-06-25 13:25 ./setpci -> /usr/bin/setpci
    lrwxrwxrwx 1 root root 4 2007-06-25 13:25 ./sh.distrib -> bash
    lrwxrwxrwx 1 root root 20 2007-06-25 13:25 ./lsmod.modutils -> /sbin/lsmod.modutils
    lrwxrwxrwx 1 root root 4 2007-06-25 13:25 ./rnano -> nano
    lrwxrwxrwx 1 root root 14 2007-06-25 13:25 ./lspci -> /usr/bin/lspci
    lrwxrwxrwx 1 root root 4 2007-06-25 13:25 ./sh -> dash
    lrwxrwxrwx 1 root root 20 2007-06-25 13:25 ./mt -> /etc/alternatives/mt
    lrwxrwxrwx 1 root root 2 2007-06-25 13:25 ./netcat -> nc
    lrwxrwxrwx 1 root root 4 2007-06-25 13:25 ./rbash -> bash
    lrwxrwxrwx 1 root root 12 2007-08-27 18:16 ./rpm -> /usr/bin/rpm
    lrwxrwxrwx 2 root root 21 2007-06-25 13:25 ./awk -> /etc/alternatives/awk
    lrwxrwxrwx 1 root root 17 2007-08-31 16:30 ./basename -> /usr/bin/basename
    lrwxrwxrwx 1 root root 13 2007-08-28 16:12 ./sort -> /usr/bin/sort

    Most of that stuff seems standard ubuntu convention and is the same on another box here.

    Karl.

  4. I tried following the steps yove sugegsted, but everytime i try.. i get the error :
    Instance Name Not Found [default]

  5. setting the symlink as greg mentioned before running the install worked for me.

  6. im a little bit lost. can you be more specific on point 2?

    which package do you use?

    which steps do you perform?

  7. Well,
    Q: What package did I use in step 2?
    A: The zip file downloaded in step 1 … go to:
    http://www.sun.com/software/products/directory_srvr_ee/get1.jsp
    select component: Directory Server Enterprise Edition 6.x
    select version: 6.2 (is no longer available, try 6.3)
    select delivery type: compressed archive (zip)
    select platform: any linux version (you’ll be redirected to the red hat downloads eventually, anyway)

    Q: Which steps did I perform?
    A: As stated: The ones documented in the installation guide, ref:
    http://docs.sun.com/app/docs/doc/820-2489?l=en


Leave a response

Your response:

Categories