如图啊!我用root和db2inst1 的身份都执行了,不行的!请各位指教啊!谢谢了!急!!=================我重装了一遍,好像是有问题!DBI1768W Unable to add /home/db2inst1/sqllib/db2profile to the .profile file or /home/db2inst1/sqllib/db2csh...显示全部
如图啊!我用root和db2inst1 的身份都执行了,不行的!
请各位指教啊!谢谢了!急!!
=================
我重装了一遍,好像是有问题!
DBI1768W Unable to add /home/db2inst1/sqllib/db2profile to the .profile file or
/home/db2inst1/sqllib/db2cshrc to the .login file of user db2inst1.
Explanation:
DB2 has failed to modify the .profile file or the .login file of this
user. These files may not exist, or you may not have write permission to
them. Without the modification you need to set your environment manually
each time when you log in as this user to use DB2.
User response:
Add the following line to the .profile file or the .login file:
. /home/db2inst1/sqllib/db2profile to the .profile file, or
source /home/db2inst1/sqllib/db2cshrc to the .login file (不过增加了还是不行啊,,文件已经赋予最高权限)
是要手动设置变量吧,怎么弄的!谢谢!收起