thxs.
db2 is installed on ubuntu server 10 (remote machine)
db2start and db2 not working, cause I have to supply full paths to
db2start/stop and db2 into the local .sh script stored on xp
Code:
./sqllib/adm/db2start # assumming pwd is the db2/linux user home dir
cd /
./opt/ibm/db2/V9.7/bin/db2 connect to tuning
Btw, db2 works in the ubuntu box console,
and it seems to work over ssh if I set explicitly the path to db2 in linux profile (eventhough it finds it somehow from ubuntu's console)
Now I am trying to run remotely a python script.
It is the same situation with the python imports:
Code:
import ibm_db
import sys
and
Code:
sh: import not found
sh: import not found
I supplied the path:
Code:
import ./usr/include/sys
and it does not complain, but where to find
ibm_db on linux ????
>>>import ibm_db # on linux goes without complaint, but the 'find' bash command does not find any 'ibm_db'
where to find ibm_db on ubuntu10.10 (it is the python db2 driver)