1. Add into /root/.bash_profile (or common /etc/profile)
if
[ -f /home/db2inst1/sqllib/db2profile ]; then
. /home/db2inst1/sqllib/db2profile
fi
Check new environment variables by env command.
After this you can run db2cc under root etc.
2. Add into /etc/ld.so.conf <db2 lib folder path>
for example:
/opt/ibm/db2/V9.7/lib64
/opt/ibm/db2/V9.7/lib32
and run the command ldconfig
3. Using Cognos console (http://host_name:port_number/p2pd/servlet/dispatch/ext) delete old datasource WBMONITOR_DB and run creating of cubes.
No comments:
Post a Comment