请教一个关于TUXEDO的TPESYSTEM错误_MQ, Tuxedo及OLTP讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MQ, Tuxedo及OLTP讨论区 »
总帖数
3
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 5017 | 回复: 2   主题: 请教一个关于TUXEDO的TPESYSTEM错误        上一篇   下一篇 
chao.yu
注册用户
等级:新兵
经验:66
发帖:1
精华:0
注册:1970-1-1
状态:离线
发送短消息息给chao.yu 加好友    发送短消息息给chao.yu 发消息
发表于: IP:您无权察看 2014-9-23 9:52:19 | [全部帖] [楼主帖] 楼主

安装php-tuxedo_0_4_1后,可以访问TUXEDO服务,但是时间长了就在tux_tpcall出现TPESYSTEM错误,等待一段时间或apachectl restart以后又正常了,不知道是什么原因,有说法是WSNADDR的问题,但是我每次都利用API确认过的,服务是TUXEDO的SAMPLE服务TOUPPER,我的主要访问流程:

  1. tux_tuxputenv("WSNADDR",$srv)
  2. $in_buff=tux_tpalloc(TUX_STRING,"",strlen($txt)+1);
  3. tux_put_buf($in_buff,$my_text);
  4. tux_tpcall("TOUPPER",$in_buff,$out_buff,0);
  5. tux_tpfree($in_buff);
  6. tux_tpclose();



以上只是部分主要代码,大部分时间能够成功,只是不稳定,出现TPESYSTEM后重启APACHE就立马恢复,否则也只有等一段时间,实在郁闷。
出错后的ULOG:

  1. 140855.d390!?proc.5672.1.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection
  2. 140855.d390!?proc.5672.1.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH
  3. 140855.d390!?proc.5672.1.0: LIBWSC_CAT:1020: ERROR: Unable to obtain authentication level
  4. 140855.d390!?proc.5672.1.-2: GP_CAT:1569: ERROR: Unable to lock network mutex -1 at 3556
  5. 140855.d390!?proc.5672.1.-2: LIBWSC_CAT:1011: ERROR: tpcall() message send failure
  6. 140855.d390!?proc.5672.1.-2: GP_CAT:1569: ERROR: Unable to lock network mutex -1 at 3556
  7. 140855.d390!?proc.5672.1.-2: LIBWSC_CAT:1025: ERROR: Unable to send tpterm() request
  8. 140916.d390!?proc.5675.1.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection
  9. 140916.d390!?proc.5675.1.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH
  10. 140916.d390!?proc.5675.1.0: LIBWSC_CAT:1020: ERROR: Unable to obtain authentication level
  11. 140916.d390!?proc.5675.1.-2: GP_CAT:1569: ERROR: Unable to lock network mutex -1 at 3556
  12. 140916.d390!?proc.5675.1.-2: LIBWSC_CAT:1011: ERROR: tpcall() message send failure
  13. 140916.d390!?proc.5675.1.-2: GP_CAT:1569: ERROR: Unable to lock network mutex -1 at 3556
  14. 140916.d390!?proc.5675.1.-2: LIBWSC_CAT:1025: ERROR: Unable to send tpterm() request



看起来象服务端的问题,事实上其他客户端可以连接,如果是WSNADDR的问题,tux_tuxgetenv("WSNADDR")的返回也是正确。

OS:HPUX 11.00 Tuxedo Version 8.1,APACHE 1.3.33+PHP 5.1.2+PHP-Tuxedo Version  0.4.0




赞(0)    操作        顶端 
koei
版主
等级:上校
经验:3293
发帖:7
精华:0
注册:2011-7-21
状态:离线
发送短消息息给koei 加好友    发送短消息息给koei 发消息
发表于: IP:您无权察看 2014-9-23 11:49:24 | [全部帖] [楼主帖] 2  楼

TPESYSTEM对应的可能性中,网络不稳定,或者网络资源被占用的比例是最高的。
看楼主这个错误:

140916.d390!?proc.5675.1.-2: GP_CAT:1569: ERROR: Unable to lock network mutex -1 at 3556


应该是网络资源争用的问题,操作系统底层库有bug的可能性更大,建议打客户端操作系统的补丁



赞(0)    操作        顶端 
联动大白
注册用户
等级:新兵
经验:79
发帖:0
精华:0
注册:2015-5-27
状态:离线
发送短消息息给联动大白 加好友    发送短消息息给联动大白 发消息
发表于: IP:您无权察看 2017-8-5 11:00:00 | [全部帖] [楼主帖] 3  楼

为了方便大家阅读,我对文章中错误号来解释一下吧!

Error Id: GP_CAT:1569

Title: ERROR: Unable to lock network mutex mutex at lineno

Description:

An attempt was made to lock the network mutex while processing
a network message has failed.


Error Id: LIBWSC_CAT:1011

Title: ERROR: tpcall() message send failure

Description:

An attempt to send a request to the Workstation Handler process failed during a tpcall. This could be a result of the network going down, the Workstation Handler process not running, or the site of the Workstation Handler going down.


Error Id: LIBWSC_CAT:1020

Title: ERROR: Unable to obtain authentication level

Description:

An attempt to connect to the BEA TUXEDO application has failed during a tpchkauth call. There are a number of reasons this could happen. The most obvious ones are the network address, WSNADDR, is incorrect or the network device, WSDEVICE, is not specified or is incorrect. Other possibilities for this failure are the network may be down, the Workstation Listener process may not be running, or the site of the Workstation Handler may be down.


Error Id: LIBWSC_CAT:1025

Title: ERROR: Unable to send tpterm() request

Description:

An attempt to send a request to the Workstation Handler process failed during a tpterm. This could be a result of the network going down, the Workstation Handler process not running, or the site of the Workstation Handler going down.


Error Id: LIBWSC_CAT:1027

Title: ERROR: Unable to connect to WSH

Description:

An attempt to connect to the TUXEDO System/T application has failed during a tpchkauth call. There are a number of reasons this could happen. The most obvious ones: the network address, WSNADDR, may be incorrect, the network device, WSDEVICE, may be incorrect or not specified. Other possibilities: the network may be down, the WSL may not be running, or the site of the WSH may be down.


Error Id: LIBWSC_CAT:1055

Title: ERROR: Unable to establish WSL connection

Description:

An attempt to connect to the Workstation Listener process failed. There are a number of reasons that could cause this problem. The address could be incorrect. Other causes could be that the Workstation Listener process is not running, the network is down, or the host machine is down.


也许你已明白,但对一个人有用也是我存在的理由!^_^ By:持之以恒的大白

-- 来自: 北京联动北方科技有限公司



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