bash-3.00# ./db2icrt -u db2fenc1 db2inst1
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
touch: /tmp/db2idbm.tmp.20608 cannot create
/opt/IBM/db2/V9.5/instance/db2idbm: /tmp/db2idbm.tmp.20608: cannot create
/opt/IBM/db2/V9.5/instance/db2idbm: /tmp/db2idbm.tmp.20608: cannot create
/opt/IBM/db2/V9.5/instance/db2idbm: /tmp/db2idbm.tmp.20608: cannot create
/opt/IBM/db2/V9.5/instance/db2idbm: /tmp/db2idbm.tmp.20608: cannot create
/opt/IBM/db2/V9.5/instance/db2idbm: /tmp/db2idbm.tmp.20608: cannot create
/opt/IBM/db2/V9.5/instance/db2idbm: /tmp/db2idbm.tmp.20608: cannot create
/opt/IBM/db2/V9.5/instance/db2idbm: /tmp/db2idbm.tmp.20608: cannot create
cp: cannot access /tmp/db2idbm.tmp.20608
2010-09-07-14.56.57.958357+480 I1A869 LEVEL: Event
PID : 20623 TID : 1 PROC : db2flacc
INSTANCE: db2inst1 NODE : 000
EDUID : 1
FUNCTION: DB2 UDB, RAS/PD component, pdLogInternal, probe:120
START : New Diagnostic Log file
DATA #1 : Build Level, 152 bytes
Instance "db2inst1" uses "64" bits and DB2 code release "SQL09050"
with level identifier "03010107".
Informational tokens are "DB2 v9.5.0.0", "s071001", "SUN6495", Fix Pack "0".
DATA #2 : System Info, 1592 bytes
System: SunOS bztest 5.10 Generic_127127-11 sun4u
CPU: total:16 online:16 Threading degree per core:1
Physical Memory(MB): total:32768 free:27565
Virtual Memory(MB): total:65542 free:60339
Swap Memory(MB): total:32774 free:32774
Information in this record is only valid at the time when this file was
created (see this record's time stamp)
2010-09-07-14.56.57.957926+480 I871A310 LEVEL: Event
PID : 20623 TID : 1 PROC : db2flacc
INSTANCE: db2inst1 NODE : 000
EDUID : 1
FUNCTION: DB2 UDB, config/install, sqlfLogUpdateCfgParam, probe:30
CHANGE : CFG DBM: "Sysadm_group" From: "" To: "db2iadm1"
cat: cannot open /tmp/db2icrt.tmp1.19568
DBI1281E The database manager configuration file could not be
initialized.
Explanation:
An error occurred when attempting to initialize the database manager
configuration file. A DB2 instance could not be created or migrated.
User response:
Refer to the log file for troubleshooting. Resolve the problem and try
the command again. If the problem persists, please contact IBM Support.
DBI1079I Output is saved in the log file /tmp/db2icrt.log.19568.
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.
--------------------------
解决思路:1、db2osconf 查看内核参数
2、tmp 查看文件夹权限,db2inst1需有读写权限