db2 安装后建立实例错误!高手指教(转)[@more@]在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.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10617731/viewspace-958741/
,如需转载,请注明出处,否则将追究法律责任。