红联Linux门户
Linux帮助

db2 安装后建立实例错误!高手指教

发布时间:2006-05-11 17:48:08来源:红联作者:lovela
在db2 安装后建立实例错误
[root@gmh instance]# ./db2icrt -u db2fenc1 db2inst1
tail: cannot open `+2' for reading: No such file or directory
lcount = 0
DBI1069E Unexpected error. Function = chk_fsystype, Return code =
22.

Explanation:

An unexpected error occurred during the execution of this
program.

User Response:

If the problem persists, contact IBM Support with the following
information:

o Message number

o Function name

o Return code

o Problem description




DBI1079I Output is saved in the log file /tmp/db2icrt.log.2345.

Explanation:

All processed and failed operations have been saved into this log
file.

User Response:

Do not modify this file in any way. This file is for IBM
Technical Support reference.

在一个国外的网站上有个解决办法 可是我不懂,现在贴在下面,那位高手指点一下:
You can go into /opt/IBM/db2/V8.1/instance, and find all calls to
> "tail" in all the shell scripts there and change them to be "tail -n"
> instead. So, if it's "tail +2", change it to be "tail -n +2". Of
> course, I can't easily test this supposition.


O.K. now I understand what you mean. I'm gonna check it out and will
post my experiences right here in this group.
文章评论

共有 1 条评论

  1. du51 于 2007-07-31 21:35:55发表:

    把db2iutil里所有的 tail +2 替换为 tail -n +2