今天收到客户邮件 说tuxedo服务报错
报错内容如下:
083851.test!GWTDOMAIN.7033.1127782720.0: LIBGW_CAT:1023: ERROR: Service request <test> from remote site <test> fai
led:"TPENOENT - no entry found" gwerrno(402017)
自己在测试环境上使用 tuxedo自带的simpapp例子进行多域的配置,
节点1 中没有配置服务,节点1通过GWTDOMAIN 域网关进程与节点2进行通信,节点2上配置了toupper服务
启动服务后
查看节点1的service
使用tmadmin -psc
> psc
Service Name Routine Name Prog Name Grp Name ID Machine # Done Status
------------ ------------ --------- -------- -- ------- ------ ------
DMADMIN DMADMIN DMADM DMAGRP 1000 local 0 AVAIL
LOCALDOM1 GWS GWADM GWATG+ 1001 local 0 AVAIL
TOUPPER GWS GWTDOMAIN GWATG+ 1002 local 0 AVAIL
查看节点2 的service
使用tmadmin -psc
> psc
Service Name Routine Name Prog Name Grp Name ID Machine # Done Status
------------ ------------ --------- -------- -- ------- ------ ------
TOUPPER TOUPPER simpserv GROUP1 2000 remote 0 AVAIL
DMADMIN DMADMIN DMADM DMAGRP 1000 remote 0 AVAIL
REMOTEDOM2 GWS GWADM GWATG+ 2001 remote 0 AVAIL
REMOTEDOM1 GWS GWADM GWATG+ 1001 remote 0 AVAIL
调用节点的simpcl
节点1 : ./simcl test
[tuxedo@middleware simpapp]$ ./simpcl test
Returned string is: TEST
[tuxedo@middleware simpapp]$
关闭节点2 的toupper服务 toupper服务的组为GROUP1
[tuxedo1@middleware simpapp]$ tmshutdown -g GROUP1
Shutting down server processes ...
Server Id = 2000 Group Id = GROUP1 Machine = remote: shutdown succeeded
1 process stopped.
[tuxedo1@middleware simpapp]$
在通过节点1 应用调用远程toupper服务
节点1 :./simpcl test
[tuxedo@middleware simpapp]$ ./simpcl test
Can't send request to service TOUPPER
Tperrno = 6
[tuxedo@middleware simpapp]$
查看节点2 ULOG日志:
[tuxedo1@middleware simpapp]$ more ULOG.122112
141051.middleware!simpserv.15776.3086612160.0: LIBTUX_CAT:522: INFO: Default tpsvrdone() function used
141156.middleware!GWTDOMAIN.15769.3057163184.0: LIBGW_CAT:1023: ERROR: Service request <TOUPPER> from remote site <LOCALDOM1> failed:"TPENOENT - no entry found" gwerrno(402017)
出现的问题和客户那的问题相同
排查此问题
1 在远程域端,确认该服务是否存在 使用 tmadmin psc
2 查看是否有core文件, 是否由于进程异常退出而造成远程域端没有可用服务,而不能对外提供服务
--转自