Tuxedo多人使用tmadmin命令时,如何强制停止服务
2015-07-05 00:39
585 查看
需要重启Tuxedo应用时,提示:LIBTUX_CAT:577: ERROR: Unable to register because the slot is already owned
此时执行tmadmin命令,有报错:
$ tmadmin
tmadmin - Copyright (c) 1996-1999 BEA Systems, Inc. Portions * Copyright 1986-1997 RSA Data Security, Inc. All Rights Reserved. Distributed under license by BEA Systems, Inc. Tuxedo is a registered trademark. TMADMIN_CAT:199: WARN: Cannot become administrator.Limited set of commands available.
从上面两个提示看,可能有其他用户正在使用tmadmin操作,导致此用户session登录后无法执行这些高级别命令。
进一步使用w命令,看是否有这样的用户操作:
v490e5-tux:/opt/app/tuxapp/gateway/config$ w
1:29pm up 354 day(s), 1:57, 3 users, load average: 0.02, 0.03, 0.04
User tty login@ idle JCPU PCPU what
root console 7Jul14354days -sh
tuxapp pts/2 1:14pm tmadmin
tuxapp pts/3 1:28pm tmadmin
确实如此,有其他用户session正在做指令。
此时停止所有服务会报错:
tmshutdown -y;
Shutting down all admin and server processes in /app/app/etc/tuxconfig
Shutting down server processes ...
Shutting down admin processes ...
Server Id = 0 Group Id = SITE1 Machine = SITE1:
CMDTUX_CAT:1668: WARN: Cannot shutdown BBL on SITE1. Clients and/or servers may be running
CMDTUX_CAT:949: WARN: Shutdown failed
0 processes stopped.
必须使用强制命令:tmshutdown -c -y
这样就可以停止所有Tuxedo服务,再做其他操作。
此时执行tmadmin命令,有报错:
$ tmadmin
tmadmin - Copyright (c) 1996-1999 BEA Systems, Inc. Portions * Copyright 1986-1997 RSA Data Security, Inc. All Rights Reserved. Distributed under license by BEA Systems, Inc. Tuxedo is a registered trademark. TMADMIN_CAT:199: WARN: Cannot become administrator.Limited set of commands available.
从上面两个提示看,可能有其他用户正在使用tmadmin操作,导致此用户session登录后无法执行这些高级别命令。
进一步使用w命令,看是否有这样的用户操作:
v490e5-tux:/opt/app/tuxapp/gateway/config$ w
1:29pm up 354 day(s), 1:57, 3 users, load average: 0.02, 0.03, 0.04
User tty login@ idle JCPU PCPU what
root console 7Jul14354days -sh
tuxapp pts/2 1:14pm tmadmin
tuxapp pts/3 1:28pm tmadmin
确实如此,有其他用户session正在做指令。
此时停止所有服务会报错:
tmshutdown -y;
Shutting down all admin and server processes in /app/app/etc/tuxconfig
Shutting down server processes ...
Shutting down admin processes ...
Server Id = 0 Group Id = SITE1 Machine = SITE1:
CMDTUX_CAT:1668: WARN: Cannot shutdown BBL on SITE1. Clients and/or servers may be running
CMDTUX_CAT:949: WARN: Shutdown failed
0 processes stopped.
必须使用强制命令:tmshutdown -c -y
这样就可以停止所有Tuxedo服务,再做其他操作。
相关文章推荐
- Tuxedo配置管理简要说明
- Tuxedo杂记
- 停TUXEDO服务时的参数选择
- Linux下Tuxedo的安装与部署
- Tuxedo与Weblogic互连指南(2)--Weblogic部分
- Tuxedo与Weblogic互连指南(3)--测试
- CMDGW_CAT:3051: ERROR: VTOC Can't readvtoc_errno 5: Unix error: Error 0 解决
- bea tuxedo中间件入门
- tuxedo中间件tmadmin的命令使用
- CMDTUX_CAT:822: ERROR: No BBL available, cannot boot
- 基于zeromq的交易平台
- NLS:4: Cannot open message catalog TMADMIN_CAT
- 红旗服务器安装Tuxedo中间件
- tmshutdown: internal error: CMDTUX_CAT:764: ERROR: can't attach to BB
- Tuxedo Multi-Domains 配置
- tuxedo的配置
- tuxedo无权限启停
- 监控固定Tuxedo服务进程
- tuxedo GAI
- UPESB Tuxedo适配器介绍