Bankapp例子部署遇到问题,求高手帮忙解决_MQ, Tuxedo及OLTP讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MQ, Tuxedo及OLTP讨论区 »
总帖数
2
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 4122 | 回复: 1   主题: Bankapp例子部署遇到问题,求高手帮忙解决        下一篇 
lxk
注册用户
等级:上尉
经验:547
发帖:109
精华:0
注册:2011-8-18
状态:离线
发送短消息息给lxk 加好友    发送短消息息给lxk 发消息
发表于: IP:您无权察看 2014-9-29 9:54:14 | [全部帖] [楼主帖] 楼主

Bankapp例子部署遇到问题,求高手帮忙解决
单机模式,只能启动几个系统服务,业务服务没法启动,可以是因为TMS_SQL无法启动,高手帮忙看看咋解决啊

175626.TIME98EDF614BF!TMS_SQL.1576.1204.0: xa_open - QLopendb: LIBDUX_CAT:451: file system error: LIBDUX_CAT:78: existing shared memory doesn't match database
175626.TIME98EDF614BF!TMS_SQL.1576.1204.0: LIBTUX_CAT:466: ERROR: tpopen TPERMERR xa_open returned XAER_RMERR
175626.TIME98EDF614BF!TMS_SQL.1576.1204.0: LIBTUX_CAT:250: ERROR: tpsvrinit() failed
175626.TIME98EDF614BF!TMS_SQL.1576.1204.0: LIBTUX_CAT:300: ERROR: _tlog_open: _gp_tblopen: UNIX sys call error - 2
175626.TIME98EDF614BF!tmboot.1236.1944.-2: 02-20-2010: Tuxedo Version 10.3.0.0 with VS2008, 32-bit
175626.TIME98EDF614BF!tmboot.1236.1944.-2: CMDTUX_CAT:825: ERROR: Process TMS_SQL at SITE1 failed with /T tperrno (TPERMERR - resource manager error)
175626.TIME98EDF614BF!TMS_SQL.2052.2908.0: 02-20-2010: Tuxedo Version 10.3.0.0 with VS2008, 32-bit
175626.TIME98EDF614BF!TMS_SQL.2052.2908.0: LIBTUX_CAT:262: INFO: Standard main starting
175626.TIME98EDF614BF!TMS_SQL.2052.2908.0: xa_open - QLopendb: LIBDUX_CAT:451: file system error: LIBDUX_CAT:78: existing shared memory doesn't match database
175626.TIME98EDF614BF!TMS_SQL.2052.2908.0: LIBTUX_CAT:466: ERROR: tpopen TPERMERR xa_open returned XAER_RMERR
175626.TIME98EDF614BF!TMS_SQL.2052.2908.0: LIBTUX_CAT:250: ERROR: tpsvrinit() failed
175626.TIME98EDF614BF!TMS_SQL.2052.2908.0: LIBTUX_CAT:300: ERROR: _tlog_open: _gp_tblopen: UNIX sys call error - 2
175626.TIME98EDF614BF!tmboot.1236.1944.-2: CMDTUX_CAT:825: ERROR: Process TMS_SQL at SITE1 failed with /T tperrno (TPERMERR - resource manager error)


像是TMS配置的不对导致的。

看看UBB如何配置的。TMS如何build的?包括数据库服务器是否运行正常?

*RESOURCES
IPCKEY                80952
UID                0
GID                0
PERM                0660
MAXACCESSERS        40
MAXSERVERS        35
MAXSERVICES        75
MAXCONV                10
MASTER                SITE1
SCANUNIT        10
MODEL                SHM
LDBAL                Y
SECURITY        ACL
AUTHSVC                "..AUTHSVC"
#
#
*MACHINES
TIME98EDF614BF LMID=SITE1
TUXDIR="D:\oracle\tuxedo10gR3_VS2008"
APPDIR="D:\oracle\tuxedo10gR3_VS2008\samples\atmi\bankapp"
ENVFILE="D:\oracle\tuxedo10gR3_VS2008\samples\atmi\bankapp\ENVFILE"
TLOGDEVICE="D:\oracle\tuxedo10gR3_VS2008\samples\atmi\bankapp\TLOG"
TLOGNAME=TLOG
TUXCONFIG="D:\oracle\tuxedo10gR3_VS2008\samples\atmi\bankapp\tuxconfig"
ULOGPFX="D:\oracle\tuxedo10gR3_VS2008\samples\atmi\bankapp\ULOG"
#
#
*GROUPS
#AUTHGRP        LMID=SITE1        GRPNO=101
#
#QGRP1        LMID=SITE1        GRPNO=102
#        TMSNAME=TMS_QM        TMSCOUNT=2
#        OPENINFO="TUXEDO/QM
:\oracle\tuxedo10gR3_VS2008\samples\atmi\bankapp\qdevice;QSP_BANKAPP"
#
#MGRGRP1        LMID=SITE1      GRPNO=103
#
#EVBGRP1        LMID=SITE1      GRPNO=104
#
DEFAULT:        TMSNAME=TMS_SQL        TMSCOUNT=2 LMID=SITE1
BANKB1        GRPNO=1
OPENINFO="TUXEDO/SQL
:\oracle\tuxedo10gR3_VS2008\samples\atmi\bankapp\bankdl1;bankdb;readwrite"
BANKB2                GRPNO=2
OPENINFO="TUXEDO/SQL
:\oracle\tuxedo10gR3_VS2008\samples\atmi\bankapp\bankdl2;bankdb;readwrite"
BANKB3                GRPNO=3
OPENINFO="TUXEDO/SQL
:\oracle\tuxedo10gR3_VS2008\samples\atmi\bankapp\bankdl3;bankdb;readwrite"
#
#
*SERVERS
#AUTHSVR        SRVGRP=AUTHGRP        SRVID=1        RESTART=Y  GRACE=0  MAXGEN=2
#        CLOPT="-A"
#
##
## TUXEDO System /T Message Queue Manager. It is a server that enqueues and
## dequeues messages on behalf of programs calling tpenqueue(3) and
## tpdequeue(3) respectively. Ref. TMQUEUE(5).
##
#TMQUEUE        SRVGRP=QGRP1        SRVID=1        CONV=N        GRACE=0
#        CLOPT="-s QSP_BANKAPP:TMQUEUE"
#
#TMQFORWARD        SRVGRP=QGRP1        SRVID=2        CONV=N        REPLYQ=N GRACE=0
#        CLOPT="-- -e -n -d -q Q_OPENACCT_LOG"
#
#TMUSREVT        SRVGRP=EVBGRP1        SRVID=1        GRACE=3600
#                ENVFILE="D:\oracle\tuxedo10gR3_VS2008\samples\atmi\bankapp\TMUSREVT.ENV"
#                CLOPT="-e tmusrevt.out -o tmusrevt.out -A --
#                        -f D:\oracle\tuxedo10gR3_VS2008\samples\atmi\bankapp\tmusrevt.dat"
#                SEQUENCE=11
#
#ACCTMGR SRVGRP=MGRGRP1        SRVID=1
#        CLOPT="-A -o ACCTMGR.LOG -- -w 1000.00"
#                SEQUENCE=12
#
#
# TUXEDO System /T Metadata Repository Server that manages application
# services information for retrieving and updating. Ref. TMMETADATA(5).
#
##TMMETADATA        SRVGRP=MGRGRP1        SRVID=1        CONV=N        RESTART=Y
##        CLOPT="-A -- -f D:\oracle\tuxedo10gR3_VS2008\samples\atmi\bankapp\metarepos.bk"
DEFAULT: RESTART=Y MAXGEN=5 REPLYQ=Y CLOPT="-A"
TLR        SRVGRP=BANKB1        SRVID=1                CLOPT="-A -- -T 100 -e 1000.00"
TLR        SRVGRP=BANKB2        SRVID=2                CLOPT="-A -- -T 500 -e 1000.00"
TLR        SRVGRP=BANKB3        SRVID=3                CLOPT="-A -- -T 800 -e 1000.00"
XFER        SRVGRP=BANKB1        SRVID=4
XFER        SRVGRP=BANKB2        SRVID=5
XFER        SRVGRP=BANKB3        SRVID=6
ACCT        SRVGRP=BANKB1        SRVID=7
ACCT        SRVGRP=BANKB2        SRVID=8
ACCT        SRVGRP=BANKB3        SRVID=9
BAL        SRVGRP=BANKB1        SRVID=10
BAL        SRVGRP=BANKB2        SRVID=11
BAL        SRVGRP=BANKB3        SRVID=12
BTADD        SRVGRP=BANKB1        SRVID=13
BTADD        SRVGRP=BANKB2        SRVID=14
BTADD        SRVGRP=BANKB3        SRVID=15
AUDITC        SRVGRP=BANKB1        SRVID=16 CONV=Y MIN=1 MAX=10 RQADDR="auditc"
BALC        SRVGRP=BANKB1        SRVID=27
BALC        SRVGRP=BANKB2        SRVID=28
BALC        SRVGRP=BANKB3        SRVID=29
#
#
*SERVICES
DEFAULT:        LOAD=50                AUTOTRAN=Y                TRANTIME=30
WITHDRAWAL        PRIO=50                ROUTING=ACCOUNT_ID
DEPOSIT                PRIO=50                ROUTING=ACCOUNT_ID
TRANSFER        PRIO=50                ROUTING=ACCOUNT_ID
INQUIRY                PRIO=50                ROUTING=ACCOUNT_ID
CLOSE_ACCT        PRIO=40                ROUTING=ACCOUNT_ID
OPEN_ACCT        PRIO=40                ROUTING=BRANCH_ID
BR_ADD                PRIO=20                ROUTING=BRANCH_ID
TLR_ADD                PRIO=20                ROUTING=BRANCH_ID
ABAL                PRIO=30                ROUTING=b_id
TBAL                PRIO=30                ROUTING=b_id
ABAL_BID        PRIO=30                ROUTING=b_id
TBAL_BID        PRIO=30                ROUTING=b_id
ABALC_BID        PRIO=30                ROUTING=b_id
TBALC_BID        PRIO=30                ROUTING=b_id
*ROUTING
ACCOUNT_ID        FIELD=ACCOUNT_ID
BUFTYPE="FML"
RANGES="10000-49999:BANKB1,
50000-79999:BANKB2,
80000-109999:BANKB3"
BRANCH_ID        FIELD=BRANCH_ID
BUFTYPE="FML"
RANGES="1-4:BANKB1,
5-7:BANKB2,
8-10:BANKB3"
b_id                FIELD=b_id
BUFTYPE="VIEW:aud"
RANGES="1-4:BANKB1,
5-7:BANKB2,
8-10:BANKB3"
@echo off
set APPDIR=%TUXDIR%\samples\atmi\bankapp
set NLSPATH=%TUXDIR%\locale\C\%%N
set BLKSIZE=512
set DBNAME=bankdb
set DBPRIVATE=no
rem  Set Ipc Key for the database; this MUST differ from the UBBCONFIG
rem  *RESOURCES IPCKEY parameter
set DIPCKEY=80953
set ENVFILE=%APPDIR%\ENVFILE
set FIELDTBLS=Usysflds,bankflds,creditflds
set FLDTBLDIR=%TUXDIR%\udataobj;%APPDIR%
rem
rem  Universal Device List for database
rem
set FSCONFIG=%APPDIR%\bankdl1
rem
rem  Network address, used in MENU script
rem
set NADDR=
rem
rem  Network device name
rem
set NDEVICE=
rem
rem  Network listener address, used in MENU script
rem
set NLSADDR=
set TLOGDEVICE=%APPDIR%\TLOG
set TUXCONFIG=%APPDIR%\tuxconfig
set ULOGPFX=%APPDIR%\ULOG
rem
rem  System name, used by RUNME.sh
rem
set UNAME=
set VIEWFILES=aud.vv
set VIEWFILES32=mib_views,tmib_views
set VIEWDIR=%TUXDIR%\udataobj;%APPDIR%
set VIEWDIR32=%TUXDIR%\udataobj;%APPDIR%
set QMCONFIG=%APPDIR%\qdevice
set PATH=%TUXDIR%\bin;%PATH%
set MSDEV=C:\Program Files\Microsoft Visual Studio 9.0\VC
rem c:\msdev
set PATH=%PATH%;%MSDEV%\bin
set INCLUDE=%INCLUDE%;%MSDEV%\include;%MSDEV%\mfc\include
set LIB=%LIB%;%MSDEV%\lib;%MSDEV%\mfc\lib


--转自必应




赞(0)    操作        顶端 
koei123
注册用户
等级:大校
经验:4196
发帖:16
精华:0
注册:2011-7-21
状态:离线
发送短消息息给koei123 加好友    发送短消息息给koei123 发消息
发表于: IP:您无权察看 2014-9-29 14:25:01 | [全部帖] [楼主帖] 2  楼

这个看提示很明显:

175626.TIME98EDF614BF!TMS_SQL.1576.1204.0: xa_open - QLopendb: LIBDUX_CAT:451: file system error: LIBDUX_CAT:78: existing shared memory doesn't match database
175626.TIME98EDF614BF!TMS_SQL.1576.1204.0: LIBTUX_CAT:466: ERROR: tpopen TPERMERR xa_open returned XAER_RMERR


因为Bankapp里面的数据库,是模拟的;楼主重点还是把模拟的数据库正常启动起来。



赞(0)    操作        顶端 
总帖数
2
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论