求救了,参考别人的dpf搭建实验自己搭了下,不成功,求救:
[db2inst1@dpf1 adm]$ db2start
10/24/2012 06:45:16 0 0 SQL6048N A communication error occurred during START or STOP DATABASE MANAGER processing.
10/24/2012 06:45:16 1 0 SQL6048N A communication error occurred during START or STOP DATABASE MANAGER processing.
SQL1032N No start database manager command was issued. SQLSTATE=57019
1台虚拟机2个逻辑节点
rsh在按照如下链接设置后可以工作
http://linux.chinaunix.net/techdoc/net/2005/11/09/924935.shtml[db2inst1@dpf1 adm]$ rsh dpf1 date
Wed Oct 24 06:42:55 CST 2012
[db2inst1@dpf1 adm]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
#127.0.0.1 localhost.localdomain localhost
#::1 localhost6.localdomain6 localhost6
192.168.101.130 dpf1
[db2inst1@dpf1 adm]$ cat /etc/hosts.equiv
dpf1 db2inst1
[db2inst1@dpf1 adm]$ cat ~/.rhosts
dpf1 db2inst1
[db2inst1@dpf1 adm]$ cat ~/sqllib/db2nodes.cfg
0 dpf1 0
1 dpf1 1
[db2inst1@dpf1 adm]$ cat /etc/services | grep db2inst1
DB2c_db2inst1 50000/tcp
DB2_db2inst1 60000/tcp
DB2_db2inst1_1 60001/tcp
DB2_db2inst1_2 60002/tcp
DB2_db2inst1_END 60003/tcp
[db2inst1@dpf1 adm]$ db2 get dbm cfg | grep -i svcename
TCP/IP Service name (SVCENAME) = DB2c_db2inst1
SSL service name (SSL_SVCENAME) =
[db2inst1@dpf1 adm]$ db2set
DB2COMM=tcpip
diag里报错:
2012-10-24-06.05.08.512719+480 I2593G443 LEVEL: Error
PID : 5823 TID : 6518480 PROC : db2start
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, base sys utilities, sqleIssueStartStop, probe:90
MESSAGE : ZRC=0x810F001C=-2129723364=SQLO_NO_CONNECTION "No connection"
DATA #1 : String, 43 bytes
recv failure on db2start or db2stop result
DATA #2 : Database Partition Number, PD_TYPE_NODE, 2 bytes
0
2012-10-24-06.05.08.529223+480 I3037G919 LEVEL: Severe
PID : 5823 TID : 6518480 PROC : db2start
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, base sys utilities, sqleIssueStartStop, probe:100
DATA #1 : Hexdump, 136 bytes
0xBFAE49F4 : 5351 4C43 4120 2020 8800 0000 60E8 FFFF SQLCA ....`...
0xBFAE4A04 : 0000 2020 2020 2020 2020 2020 2020 2020 ..
0xBFAE4A14 : 2020 2020 2020 2020 2020 2020 2020 2020
0xBFAE4A24 : 2020 2020 2020 2020 2020 2020 2020 2020
0xBFAE4A34 : 2020 2020 2020 2020 2020 2020 2020 2020
0xBFAE4A44 : 2020 2020 2020 2020 5351 4C45 5353 434D SQLESSCM
0xBFAE4A54 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0xBFAE4A64 : 0000 0000 0000 0000 2020 2020 2020 2020 ........
0xBFAE4A74 : 2020 2020 2020 2020
2012-10-24-06.05.08.529380+480 E3957G375 LEVEL: Error
PID : 5823 TID : 6518480 PROC : db2start
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, base sys utilities, sqleIssueStartStop, probe:95
DATA #1 : String, 108 bytes
db2start or db2stop failure from node 0: env: /home/db2inst1/sqllib/adm/db2rstar: No such file or directory
PS:上网不便,稍后答复。各位大神看看
附件:
db2diag.log (5.93 KB)
收起