Novell Home

Installing DirXML 1.1 on Linux 7.2

Novell Cool Solutions: Feature
By Xavier Martorell

Digg This - Slashdot This

Posted: 12 Mar 2002
 

Novell Systems Engineer Xavier Martorell recently went throught the process of installing DirXML on a machine running Redhat Linux v7.2. As part of the process, he put together a checklist that may come in handy if you plan to tackle the same task.

If this list interests you, Xavier prepared another one specifically for installing eDirectory 8.6.1 on Linux. You can find that article here.

Requirements:

  • glibc 2.1.3 or higher
    • To check the lib version: ls /lib/libc-*
  • eDirectory 8.6.x
  • ConsoleOne 1.3.3

Prepare install process:
  • Mount CDROM:
    • mount /mnt/cdrom
  • If you have the installation cdrom:
    • cd /mnt/cdrom/Linux/setup
  • If you have the compressed file create a new directory to install the software.
    • cd /usr
    • mkdir soft
    • cd soft
    • mkdir dirxml1l
    • cd dirxml
    • cp /mnt/cdrom/dirxml/linux/*.* .
    • ls (see the file dirxml_1_1_full_linux.tar.gz)
  • Extract files from dirxml_1_1_linux_full.tar.gz
    • If the file has .gz extension: gzip -d dirxml_1_1_linux_full.tar.gz (it becomes the .gz file to .tar file)
    • tar -xvf dirxml_1_1_linux_full.tar
  • Go to install directory (Be careful with caps!)
    • cd /usr/soft/dirxml11/Linux/setup
  • Run install process: ./dirxml-install

DirXML 1.1 Install process

  • Select language for license text
  • Set ENTER to accept the license
  • Accept the terms - "y" + ENTER
  • Select option: 1 - DirXML Engine and Drivers
  • If ConsoleOne is installed, the install process will detect it. Select 'yes' to install DirXML 1.1 snap-ins
  • Extend the schema after to install the software.
    • Dxmlconfig config admin.<admin path>
  • Include /usr/lib/dirxml/jre/lib/i386 path to LD_LIBRARY_PATH into the start scripts /etc/rc.d/init.d/nds and /etc/rc.d/init.d/ndsd.
    • Edit /etc/rc.d/init.d/ndsd
    • After the line PATH=$PATH:/usr/local/bin, write:
      LD_LIBRARY_PATH=/usr/lib/dirxml/jre1.2.2/lib/i386
      export LD_LIBRARY_PATH
    • Edit /etc/rc.d/init.d/nds
    • After the line PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH export PATH, write:
      LD_LIBRARY_PATH=/usr/lib/dirxml/jre1.2.2/lib/i386
      export LD_LIBRARY_PATH
    • Stop and start ndsd:
      /etc/rc.d/init.d/nds stop
      /etc/rc.d/init.d/nds start

Helping commands:

  • Start and stop ndsd
    • /etc/rc.d/init.d/nds stop
    • /etc/rc.d/init.d/nds start
  • Start ndstrace
    • When ndstrace is started for first time you could see:
      ndstrace: error while loading shared libraries: libncurses.so.4: cannot load shared object file: No such file or directory
    • To resolve it:
      ln -s /usr/lib/libncurses.so.5.2 /usr/lib/libncurses.so.4
  • Set up ndstrace filters for DirXML:
    • ndstrace
    • set ndstrace=NODEBUG (no filters)
    • dstrace +dxml
    • dstrace +dvrs
  • Reinitialize server
    • shutdown -r now


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell