Thursday, November 11, 2010

Behavior seen between TDI and Domino

These's have been a few of the error messages I've come across using the Domino User Connector.

Error: CTGDKC065E Unable to execute Domino Action. NotesException occurred: ID=4,005, Error Text=Notes error: You are not allowed to update the certifier log (Smith)
Cause: 'REG_RegistrationServer' value is wrong


Error: CTGDKC065E Unable to execute Domino Action. NotesException occurred: ID=4,000, Error Text=Notes error: The prompt for password was aborted by user
Cause: 'REG_CertPassword' value is wrong


Error: CTGDKC002E Failed to execute the command. NotesException occurred: Notes error: Unable to find path to server. Check that your network connection is working. If you have a working connection, go to Preferences - Notes Ports and click Trace to discover where it breaks down. (adtdi/ibm!!mail\msmith.nsf)
Cause: 'REG_Server' value is wrong

Thursday, November 4, 2010

Derby Access Denied Error - TDIv7.x


Solution:
1. Stop ALL running processes of the Derby instance associated with TDI. By default this instance runs on port 1527
ps -ef | grep 1527
kill -9


2. Locate the Directory Path specified in the 'com.ibm.di.store.database' parameter found in the solution.properties file.
Example: com.ibm.di.store.database=jdbc:derby://localhost:1527//opt/IBM/TDI/V7.1/TDISysStore;create=true

3. Modify the 'derby.properties' file found in the [TDI_InstallDir]/etc & [TDI_SolutionDir]/etc
Add the following parameter to the files.
derby.system.home=
Example: derby.system.home=/opt/IBM/TDI/V7.1

Wednesday, November 3, 2010

Can TDIv7.1 be Installed on Ubuntu?

I've recently come accross colleagues looking to install IBM Tivoli Directory Integrator v7.1 on Ubuntu. Ubuntu isn't in the list of supported platforms for this product, although I believe we should be able to make this work.



TDI v7.0 - Ubuntu 9.05
As a reference, here's my past experience with TDIv7.0 and Ubuntu 9.10
I started with a fresh installation of Ubuntu 9.10 with the latest patches.

1.) Log on as a normal user.

2.) Install the libstdc++5 dependency by running the following from a command prompt:

sudo dpkg -i libstdc++5_3.3.6-17ubuntu1_i386.deb

3.) Launch the TDI installer as the current user. Do not use sudo:

./install_tdiv71_linux_x86.bin

4.) Install to some location within the current users home directory such as /home/jamie/opt/IBM/TDI/V7.1

5.) Keep all other options as default in the installer.

6.) Fix the known issue with GTK by modifying ibmditk (Found in /home/jamie/opt/IBM/TDI/V7.1 on my system) and modify it as follows:

#
# CMDFINDER holds the command which is used to find other commands
# depending on the platform.
#

CMDFINDER=which
export GDK_NATIVE_WINDOWS=1
UNAME_OS=`uname`

7.) Launch ibmditk and as the currently logged in user without using sudo and it should run fine.




TDI v7.1 - Ubuntu 10.10
1. I have a fresh copy of Ubuntu 10.10
2. Check to make sure Ubuntu has the latest patches applied.
3. Have to install an old library -- The original libstdc++5 package is no longer available with the Ubuntu 9.10 or 10.x repos. So for 32 bit system you would have to get it from Jaunty Repository.

a. Add the repository
`deb http://cz.archive.ubuntu.com/ubuntu jaunty main universe` to the Repository list in Synaptic Package Manager.
b. At a terminal window run 'sudo apt-get install libstdc++5'
Note: If this package is not installed. The 'ibmdisrv -d' command will receive the following error in the ibmdi.log
"CTGDIS958E The system cannot find an enrolled product license."
If you've hit this error, you'll need to uninstall TDI, install the libstdc++5, then reinstall TDI.
c. You also need to run the following command, to rebuild the cache in order for the installer to find the library.
/sbin/ldconfig -v
4. Launch the TDI Installer (linux_x86/install_tdiv71_linux_x86.bin) as the current user. I am not installing with sudo. This installation is being done as a non-root user.
a. I selected a directory under my home directory for the install location.
b. I selected the Typical Install Set, whether then Custom
c. Pre-Installation Summary appeared.
d. The install completed successfully.