这是一个tuxedo和oracle通过XA链接的程序,启动TMS_ORA就报错
CMDTUX_CAT:819: INFO: Process id=5873 Assume started (pipe).
请各位大神帮忙看看,怎么解决这个问题
1、出错信息如下:
Booting all admin and server processes in /ngbss/tuxapp/etc/tuxconfig
INFO: Oracle Tuxedo, Version 12.1.1.0, 32-bit, Patch Level (none)
Booting admin processes ...
exec BBL -A :
process id=5872 ... Started.
Booting server processes ...
exec TMS_ORA -A :
CMDTUX_CAT:819: INFO: Process id=5873 Assume started (pipe).
exec TMS_ORA -A :
CMDTUX_CAT:819: INFO: Process id=5876 Assume started (pipe).
exec svrInsert -A :
CMDTUX_CAT:819: INFO: Process id=5879 Assume started (pipe).
4 processes started.
2、启动后的ulog日志如下:
183113.gc!BBL.6090.3086251712.0: 12-13-2013: client high water (0), total client (0)
183113.gc!BBL.6090.3086251712.0: 12-13-2013: Tuxedo Version 12.1.1.0, 32-bit, Patch Level (none)
183113.gc!BBL.6090.3086251712.0: LIBTUX_CAT:262: INFO: Standard main starting
183113.gc!TMS_ORA.6091.3086730960.0: 12-13-2013: Tuxedo Version 12.1.1.0, 32-bit
183113.gc!TMS_ORA.6091.3086730960.0: LIBTUX_CAT:262: INFO: Standard main starting
183113.gc!TMS_ORA.6094.3086702288.0: 12-13-2013: Tuxedo Version 12.1.1.0, 32-bit
183113.gc!TMS_ORA.6094.3086702288.0: LIBTUX_CAT:262: INFO: Standard main starting
183113.gc!svrInsert.6097.3434704.0: 12-13-2013: Tuxedo Version 12.1.1.0, 32-bit
183113.gc!svrInsert.6097.3434704.0: LIBTUX_CAT:262: INFO: Standard main starting
183113.gc!svrInsert.6097.3434704.0: Welcome to the simple server
183113.gc!svrInsert.6097.3434704.0: Try to connect to Oracle DataBase!
3、在svrInsert.pc源文件中tpsvrinit函数内容如下:
tpsvrinit(int argc, char *argv[])
{
argc = argc;
argv = argv;
/* userlog writes to the central TUXEDO message log */
userlog("Welcome to the simple server");
userlog("Try to connect to Oracle DataBase!\n");
if (tpopen() == -1) {
userlog("connect to Oracle error\n");
return -1;
} else
userlog("connect to Oracle normal\n");
if (sqlca.sqlcode != 0) {
userlog("%d:%-70s\n", sqlca.sqlcode, sqlca.sqlerrm.sqlerrmc);
tpreturn(TPFAIL, 0, NULL, 0, 0);
}
return (0);
}
4、感觉服务在启动的时候,在tpopen()调用就卡住了
5、然后我尝试用clientinsert客户端程序调用svrInsert服务(向某个数据表插入数据)
ulog记录的错误信息如下:
183313.gc!BBL.6090.3086251712.0: LIBTUX_CAT:541: WARN: Server ORAGRP/30001 terminated
183313.gc!BBL.6090.3086251712.0: LIBTUX_CAT:557: INFO: Server ORAGRP/30001 being restarted
183313.gc!BBL.6090.3086251712.0: LIBTUX_CAT:541: WARN: Server ORAGRP/30002 terminated
183313.gc!BBL.6090.3086251712.0: LIBTUX_CAT:557: INFO: Server ORAGRP/30002 being restarted
183313.gc!BBL.6090.3086251712.0: LIBTUX_CAT:541: WARN: Server ORAGRP/410 terminated
183313.gc!BBL.6090.3086251712.0: LIBTUX_CAT:551: WARN: Cleaning up server ORAGRP/410
183313.gc!TMS_ORA.6132.3086100176.0: 12-13-2013: Tuxedo Version 12.1.1.0, 32-bit
183313.gc!TMS_ORA.6132.3086100176.0: LIBTUX_CAT:262: INFO: Standard main starting
183313.gc!cleanupsrv.6131.3086575296.-2: 12-13-2013: Tuxedo Version 12.1.1.0, 32-bit
183313.gc!cleanupsrv.6131.3086575296.-2: server ORAGRP/410: CMDTUX_CAT:551: INFO: server removed
183313.gc!restartsrv.6128.3086472896.-2: 12-13-2013: Tuxedo Version 12.1.1.0, 32-bit
183313.gc!restartsrv.6128.3086472896.-2: server ORAGRP/30001: CMDTUX_CAT:1423: ERROR: Pipe error, assume failed.
183313.gc!TMS_ORA.6135.3086538448.0: 12-13-2013: Tuxedo Version 12.1.1.0, 32-bit
183313.gc!TMS_ORA.6135.3086538448.0: LIBTUX_CAT:262: INFO: Standard main starting
183313.gc!restartsrv.6128.3086472896.-2: server ORAGRP/30002: CMDTUX_CAT:1423: ERROR: Pipe error, assume failed.
183359.gc!?proc.6160.3086382784.0: 12-13-2013: Tuxedo Version 12.1.1.0, 32-bit
183359.gc!?proc.6160.3086382784.0: Clientfml failed to call the INSERT service -- TPENOENT - no entry found
6、之后ulog继续记录tuxedo的错误信息如下:
183513.gc!BBL.6090.3086251712.0: LIBTUX_CAT:541: WARN: Server ORAGRP/30001 terminated
183513.gc!BBL.6090.3086251712.0: LIBTUX_CAT:557: INFO: Server ORAGRP/30001 being restarted
183513.gc!BBL.6090.3086251712.0: LIBTUX_CAT:541: WARN: Server ORAGRP/30002 terminated
183513.gc!BBL.6090.3086251712.0: LIBTUX_CAT:557: INFO: Server ORAGRP/30002 being restarted
183513.gc!TMS_ORA.6177.3086382800.0: 12-13-2013: Tuxedo Version 12.1.1.0, 32-bit
183513.gc!TMS_ORA.6177.3086382800.0: LIBTUX_CAT:262: INFO: Standard main starting
183513.gc!restartsrv.6176.3086563008.-2: 12-13-2013: Tuxedo Version 12.1.1.0, 32-bit
183513.gc!restartsrv.6176.3086563008.-2: server ORAGRP/30001: CMDTUX_CAT:1423: ERROR: Pipe error, assume failed.
183513.gc!TMS_ORA.6180.3086546640.0: 12-13-2013: Tuxedo Version 12.1.1.0, 32-bit
183513.gc!TMS_ORA.6180.3086546640.0: LIBTUX_CAT:262: INFO: Standard main starting
183513.gc!restartsrv.6176.3086563008.-2: server ORAGRP/30002: CMDTUX_CAT:1423: ERROR: Pipe error, assume failed.
183713.gc!BBL.6090.3086251712.0: LIBTUX_CAT:541: WARN: Server ORAGRP/30001 terminated
183713.gc!BBL.6090.3086251712.0: LIBTUX_CAT:557: INFO: Server ORAGRP/30001 being restarted
183713.gc!BBL.6090.3086251712.0: LIBTUX_CAT:541: WARN: Server ORAGRP/30002 terminated
183713.gc!BBL.6090.3086251712.0: LIBTUX_CAT:557: INFO: Server ORAGRP/30002 being restarted
183713.gc!TMS_ORA.6209.3086042832.0: 12-13-2013: Tuxedo Version 12.1.1.0, 32-bit
183713.gc!TMS_ORA.6209.3086042832.0: LIBTUX_CAT:262: INFO: Standard main starting
183713.gc!restartsrv.6208.3086145216.-2: 12-13-2013: Tuxedo Version 12.1.1.0, 32-bit
183713.gc!restartsrv.6208.3086145216.-2: server ORAGRP/30001: CMDTUX_CAT:1423: ERROR: Pipe error, assume failed.
183713.gc!TMS_ORA.6212.3086337744.0: 12-13-2013: Tuxedo Version 12.1.1.0, 32-bit
183713.gc!TMS_ORA.6212.3086337744.0: LIBTUX_CAT:262: INFO: Standard main starting
183713.gc!restartsrv.6208.3086145216.-2: server ORAGRP/30002: CMDTUX_CAT:1423: ERROR: Pipe error, assume failed.
7、我的ubbconfig文件内容如下:
*RESOURCES
IPCKEY 123238
DOMAINID ubss
MASTER ubss
MAXACCESSERS 1500
MAXSERVERS 500
MAXSERVICES 1000
SCANUNIT 10
SANITYSCAN 12
BLOCKTIME 12
SYSTEM_ACCESS FASTPATH
MODEL SHM
#LDBAL N
MAXGTT 1500
*MACHINES
DEFAULT:
APPDIR="/ngbss/tuxapp/bin"
TUXCONFIG="/ngbss/tuxapp/etc/tuxconfig"
TUXDIR="/bea/tuxedo/tuxedo12.1.1.0"
TLOGDEVICE="/ngbss/tuxapp/etc/tlog"
ULOGPFX="/ngbss/tuxapp/log/ulog"
TLOGNAME=TLOG
TLOGSIZE=300
MAXGTT=500
MAXWSCLIENTS=1000
SPINCOUNT=40000
CMPLIMIT = "131072"
gc LMID=ubss
*GROUPS
ORAGRP
LMID=ubss GRPNO=400
OPENINFO="Oracle_XA:Oracle_XA+Acc=P/frank/frank+SesTm=30+SqlNet=gcy+LogDir=."
CLOSEINFO=""
TMSNAME=TMS_ORA
TMSCOUNT=2
*SERVERS
DEFAULT:
CLOPT="-A"
svrInsert SRVID=410 SRVGRP=ORAGRP
DEFAULT:
*SERVICES
INSERT
--转自