tmshutdown: internal error: CMDTUX_CAT:766: ERROR: must run on master nod_MQ, Tuxedo及OLTP讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MQ, Tuxedo及OLTP讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 4697 | 回复: 0   主题: tmshutdown: internal error: CMDTUX_CAT:766: ERROR: must run on master nod        下一篇 
Gavin
注册用户
等级:少校
经验:878
发帖:130
精华:1
注册:2011-7-21
状态:离线
发送短消息息给Gavin 加好友    发送短消息息给Gavin 发消息
发表于: IP:您无权察看 2014-10-8 15:03:20 | [全部帖] [楼主帖] 楼主

Tuxedo 版本:9.1;

操作系统版本:Red Hat Enterprise Linux Server release 4.7

执行tmshutdown -y时,出现如下告警:

[yebsale@N-YEB-TUX2 yebsale]$ tmshutdown -y
Shutting down all admin and server processes in /app/yebsale/bin/tuxconfig
tmshutdown: internal error: CMDTUX_CAT:766: ERROR: must run on master node


解决思路:

2014年3月14日工作内容:

1、            更新补丁级是否超过059。Tuxedo 9.1补丁级在低于059存在此类BUG。如下为补丁修复解释:

059. CR324969 TUX 9.1 tmshutdown fails with “CMDTUX_CAT:766: ERROR: must run on master node” on HPUX 11iv3


如下为检查结果

[yebsale@N-YEB-TUX2 20140314]$ tmadmin -v
INFO: BEA Tuxedo, Version 9.1, 64-bit, Patch Level 163
INFO: Serial #: 454493271161-2664953090480, Expiration NONE, Maxusers 1000000
INFO: Licensed to: Customer


结果:Tuxedo 9.1已更新最新补丁级 (163);

2、            Tuxedo是否配置为多机模式;

如下为检查结果

[yebsale@N-YEB-TUX2 20140314]$ tmunloadcf
*RESOURCES
IPCKEY          32789
MASTER          “directserver_yeb”
UID             501
GID             500
PERM            0666
MAXACCESSERS    400
MAXACLGROUPS    16384
MAXGTT          100
DOMAINID        “directA”
MAXGROUPS       100
MAXNETGROUPS    8
MAXMACHINES     256
MAXQUEUES       200
MAXDRT  0
MAXRFT  0
MAXRTDATA       4
MAXSPDATA       111024
MAXSERVERS      200
MAXSERVICES     400
MAXCONV         64
MODEL           SHM


结果:Tuxedo 9.1配置为单机模式;

3、            Tuxedo配置文件( ubbconfig)中主机名与操作系统主机名是否一致;

如下为检查结果

root@N-YEB-TUX2 ~]# sysctl -a|grep hostname
kernel.hostname = N-YEB-TUX2
[yebsale@N-YEB-TUX2 20140314]$ tmunloadcf
*MACHINES
“N-YEB-TUX2″ LMID=”directserver_yeb”


结果:Tuxedo配置文件( ubbconfig)中主机名与操作系统主机名一致;

4、            查看Tuxedo启动情况

如下为检查结果

[yebsale@N-YEB-TUX2 yebsale]$ tmboot -y
Booting all admin and server processes in /app/yebsale/bin/tuxconfig
INFO: BEA Tuxedo, Version 9.1, 64-bit, Patch Level 163
INFO: Serial #: 454493271161-2664953090480, Expiration NONE, Maxusers 1000000
INFO: Licensed to: Customer
Booting admin processes …
exec BBL -A :
process id=47935 … Started.
Booting server processes …
exec yeb_ostransaction -A :
process id=47936 … Started.
exec yeb_ostransaction -A :
process id=47937 … Started.
exec yeb_ostransaction -A :
process id=47938 … Started.
exec yeb_ostransaction -A :
process id=47939 … Started.
exec yeb_ostransaction -A :
process id=47940 … Started.
exec yeb_ostransaction -A :
process id=47941 … Started.
exec yeb_ostransaction -A :
process id=47942 … Started.
exec yeb_ostransaction -A :
process id=47943 … Started.
exec yeb_ostransaction -A :
process id=47944 … Started.
exec yeb_ostransaction -A :
process id=47945 … Started.
exec yeb_ostransaction -A :
process id=47946 … Started.
exec yeb_ostransaction -A :
process id=47947 … Started.
exec yeb_ostransaction -A :
process id=47948 … Started.
exec yeb_ostransaction -A :
process id=47949 … Started.
exec yeb_ostransaction -A :
process id=47950 … Started.
exec yeb_ostransaction -A :
process id=47951 … Started.
exec yeb_ostransaction -A :
process id=47952 … Started.
exec yeb_ostransaction -A :
process id=47953 … Started.
exec yeb_ostransaction -A :
process id=47954 … Started.
exec yeb_ostransaction -A :
process id=47955 … Started.
exec yeb_querysvr -A :
process id=47956 … Started.
exec yeb_querysvr -A :
process id=47957 … Started.
exec yeb_querysvr -A :
process id=47958 … Started.
exec yeb_querysvr -A :
process id=47959 … Started.
exec yeb_querysvr -A :
process id=47960 … Started.
exec yeb_querysvr -A :
process id=47961 … Started.
exec yeb_querysvr -A :
process id=47962 … Started.
exec yeb_querysvr -A :
process id=47963 … Started.
exec yeb_querysvr -A :
process id=47964 … Started.
exec yeb_querysvr -A :
process id=47965 … Started.
exec yeb_osdealdata -A :
process id=47966 … Started.
exec WSL -A — -n //172.16.0.11:9997 -m 1 -M 5 -x 3 :
process id=47970 … Started.
exec DMADM -A :
process id=47972 … Started.
exec GWADM -A :
process id=47973 … Started.
exec GWTDOMAIN -A :
process id=47974 … Started.
36 processes started.


  结果:Tuxedo 可正常启动;

5、            IPC资源清理情况

如下为检查结果

[yebsale@N-YEB-TUX2 yebsale]$ tmipcrm -y
Looking for IPC resources in TUXCONFIG file /app/yebsale/bin/tuxconfig
The following IPC recources were found:
Message Queues:
15630337
16810021
16777252
15663106
16842790
15695875
16318486
15728644
16646176
16678945
16351255
15761413
16384024
15794182
16711714
16416793
15826951
16449562
15859720
16482331
15892489
16515100
15925258
16547869
15958027
16580638
15990796
16613407
16023565
16056334
16089103
16121872
16154641
16187410
16220179
16252948
16285717
16744483
Shared Memory:
1146885
1114116
1081347
Semaphores:
2097155
2129924
2031618
Removing IPC resources …
done!


使用ipcs查看ipc资源清理情况;

ipcs -s|grep yebsale
ipcs -q|grep yebsale
ipcs -m|grep yebsale


结果:ipc资源已清理干净;

如果还有,执行ipcrm删除;

关闭脚本:

kill -9 `ps -u lmgse |awk ‘{print $1}’` 1>/dev/null 2>/dev/null
kill -9 `ps -u lmgs |awk ‘{print $1}’` 1>/dev/null 2>/dev/null
for x in `ipcs -m | grep lmgs|awk ‘{print $2}’`
do
ipcrm -m $x
done
for y in `ipcs -s | grep lmgs|awk ‘{print $2}’`
do
ipcrm -s $y
done
for z in `ipcs -q | grep lmgs|awk ‘{print $2}’`
do
ipcrm -q $z
done
for x in `ipcs -m | grep lmgse|awk ‘{print $2}’`
do
ipcrm -m $x
done
for y in `ipcs -s | grep lmgse|awk ‘{print $2}’`
do
ipcrm -s $y
done
for z in `ipcs -q | grep lmgse|awk ‘{print $2}’`
do
ipcrm -q $z
done


执行tmboot -y 后,再执行tmshutdown -y,问题解决。

--转自搜狗




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