Juanjo,
thanks for the help, but I am still having problems.
I tried your suggestion but it didn’t work.
Maybe you could clarify a few things for me about your configuration since you seem to have it working.
Are you running the same versions as I?
-tamino 3111
-sequelink server 4
-sequelink odbc client 451
I realize what you are saying that it is probably environment variables - it is just that there are so many separate scripts that set the env variables.
Here is what I understand about the chain of scripts/environments
inetd.conf runs the sequelink server script as root: (from /etc/inetd.conf)
(root has no variables set in /etc/profile)
----------------------------------------
isl4015 stream tcp nowait root /usr/sqlnk/instances/SLTamino.sh SLTamino.sh
SLTamino.sh runs and calls the sequelink server binary (sltam)
( I tried adding the call to /usr/SAG/sagenv.new to this but it didn’t seem to help)
----------------------------------
#!/bin/sh
#. /usr/SAG/sagenv.new
SLSERVICE=SLTamino
export SLSERVICE
SQLNKDIR=/usr/sqlnk
export SQLNKDIR
VERSION=4_00_00
export VERSION
ISLVINI=/usr/sqlnk
export ISLVINI
SQLNK_OPERATOR=local3
export SQLNK_OPERATOR
LD_LIBRARY_PATH=/usr/sqlnk/tamino/lib:/usr/SAG/common/lib:LD_LIBRARY_PATH
export LD_LIBRARY_PATH
exec /usr/sqlnk/4_00_00/bin/sltam -S SLTamino > /usr/sqlnk/SLTamino.log 2>&1
-----------------------------------------
Here is where I am lost. apparently the sltam binary is looking at some variables to determine how to find the ODBC datasource entries, and I can’t tell how it would get back to the
/usr/SAG/v3111/sqlnk/sqlnk.sh or /usr/SAG/sagenv.new scripts, unless I tell inetd to run the script as the sag user or add these calls to the SLTamino.sh script.
Here is a summary of all the variables and scripts
that set them that I can find:
-/usr/sqlnk/instances/SLTamino.sh and .cfg
-/usr/sqlnk/4_51_00/.sqlnk.sh
-/usr/SAG/ino/v3111/sqlnk/sqlnk.sh
And here is a list of all the odbc definitions I can find
-/usr/sqlnk/tamino/tam.ini
-/usr/sqlnk/4_51_00/ini/.odbc.ini and other sqlnk*.ini
-/usr/SAG/ino/v3111/sqlnk/odbc.ini
if you could help clear up I would appreciate it
thanks,
Lee
#Tamino#webMethods#API-Management