再发一下报错信息
root@vioclient1:/db2data/db2_home/instance>./db2icrt -u db2fadm1 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:
Respond in one of the following ways:
* Add the profile to the .profile file
* Add the location of db2cshrc to the .profile file
Related information
UNIX environment variable settings
Setting up the application development environment (Linux and UNIX)
DBI1070I Program db2icrt completed successfully.