刚装的db2 出问题了 有会的吗?

[复制链接]
查看11 | 回复3 | 2010-10-8 09:31:22 | 显示全部楼层 |阅读模式
[root@linux instance]# su - db2das
-sh-3.2$ db2ilist
-sh: db2ilist: command not found
-sh-3.2$ ./das/dasprofile
-sh-3.2$ db2ilist
-sh: db2ilist: command not found
-sh-3.2$ db2admin start
-sh: db2admin: command not found

什么命令也没有 服务器管理器也启动不起来啊 有知道是怎么回事的吗?

回复

使用道具 举报

千问 | 2010-10-8 09:31:22 | 显示全部楼层
把instance下面的. ~/sqllib/db2profile 添加到到das的.profile里,如:
# The following three lines have been added by UDB DB2.
if [ -f /home/db2inst1//sqllib/db2profile ]; then
. /home/db2inst1//sqllib/db2profile
fi

回复

使用道具 举报

千问 | 2010-10-8 09:31:22 | 显示全部楼层
同意楼上!
回复

使用道具 举报

千问 | 2010-10-8 09:31:22 | 显示全部楼层
谢谢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行