db2 安裝後建立例項錯誤!高手指教(轉)

ba發表於2007-08-15
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部落格 ” ,連結:http://blog.itpub.net/10617731/viewspace-958741/,如需轉載,請註明出處,否則將追究法律責任。

相關文章