I am currently working on Ondemand migration from Solaris to Linux environment. When i try to create the new Instance i am facing below issue.
[root@XXXXXX bin]# /opt/ondemand/bin/arsdb -I archive -gcv
arsdb: Unable to load >DB2<
Database path in ars.cfg file.
ARS_DB2_DATABASE_PATH=/local/data/arsdb
Please Can anyone let me know is there anything that i need to modify or else give me some solution for the above error.
Hello Rajesh,
have you sourced the db2profile into the shell?
Something like
. sqllib/db2profile
???
If not, such errors can happen.
And concerning your migration Solaris -> Linux, why are you using "root" and not a simple user? using root is from a security point of view absolutely not recommended. So if you are doing such migration, then correcting such things are essential.
Regards,
Alessandro
Thank you Alessandro,
it worked mistake is i have invoked db2profile with my local id in shell.