Today, I was trying to config a db2 instance, and got following error
$ db2set db2comm=tcpip
DBI1306N The instance profile is not defined.
Explanation:
The instance is not defined in the target machine registry.
User response:
Specify an existing instance name or create the required
instance.
Googled and found a fix.
http://www-01.ibm.com/support/docview.wss?uid=swg1IC67080
Local fix
- Execute this command as root, where <DB2DIR> is the path where
your DB2 copy is installed:
<DB2DIR>/instance/db2iupdt <INSTANCE NAME>
添加新评论1 条评论
2012-10-04 13:50