OnDemand Users Group

Support Forums => CMOD for Multiplatforms => Topic started by: rajesh on April 28, 2015, 01:14:56 PM

Title: Error while creating Instance in Linux
Post by: rajesh on April 28, 2015, 01:14:56 PM
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.
Title: Re: Error while creating Instance in Linux
Post by: Alessandro Perucchi on April 28, 2015, 01:40:57 PM
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
Title: Re: Error while creating Instance in Linux
Post by: rajesh on April 28, 2015, 01:58:32 PM
Thank you Alessandro,

it worked mistake is i have invoked db2profile with my local id in shell.