tuxedo客户端程序执行
做了一个客户端程序,调用了tuxedo客户端函数,编译成功后tpchkauth函数执行验证一直通不过,错误如下(好像死循环,不停地执行,最后出现Segmentation Fault (core dumped)):
151800.JN-TEST!?proc.28277.2.-2: 11-01-2010: Tuxedo Version 8.1
151800.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1037: ERROR: Network message receive failure
151800.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1059: ERROR: WSL returns error on connection request
151800.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection
151800.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH
151800.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1020: ERROR: Unable to obtain authentication level
151800.JN-TEST!?proc.28277.2.0: LIBWSC_CAT:1476: ERROR: Cannot convert message from protocol 49 to 0
151800.JN-TEST!?proc.28277.2.0: LIBWSC_CAT:1513: ERROR: Unable to send first diffie-hellman packet
151800.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection
151800.JN-TEST!?proc.28277.2.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection
151800.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH
151800.JN-TEST!?proc.28277.2.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH
151800.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1020: ERROR: Unable to obtain authentication level
151810.JN-TEST!?proc.28277.1.0: GP_CAT:1241: ERROR: An error occurred in the encryption subsystem code(60)
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1512: ERROR: Unable to generate first diffie-hellman packet
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1020: ERROR: Unable to obtain authentication level
151810.JN-TEST!?proc.28277.1.0: GP_CAT:1241: ERROR: An error occurred in the encryption subsystem code(60)
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1512: ERROR: Unable to generate first diffie-hellman packet
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1020: ERROR: Unable to obtain authentication level
151810.JN-TEST!?proc.28277.1.0: GP_CAT:1241: ERROR: An error occurred in the encryption subsystem code(60)
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1512: ERROR: Unable to generate first diffie-hellman packet
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1020: ERROR: Unable to obtain authentication level
151810.JN-TEST!?proc.28277.1.0: GP_CAT:1241: ERROR: An error occurred in the encryption subsystem code(60)
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1512: ERROR: Unable to generate first diffie-hellman packet
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1020: ERROR: Unable to obtain authentication level
151810.JN-TEST!?proc.28277.1.0: GP_CAT:1241: ERROR: An error occurred in the encryption subsystem code(60)
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1512: ERROR: Unable to generate first diffie-hellman packet
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1020: ERROR: Unable to obtain authentication level
151810.JN-TEST!?proc.28277.1.0: GP_CAT:1241: ERROR: An error occurred in the encryption subsystem code(60)
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1512: ERROR: Unable to generate first diffie-hellman packet
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1020: ERROR: Unable to obtain authentication level
151810.JN-TEST!?proc.28277.1.0: GP_CAT:1241: ERROR: An error occurred in the encryption subsystem code(60)
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1512: ERROR: Unable to generate first diffie-hellman packet
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1020: ERROR: Unable to obtain authentication level
151810.JN-TEST!?proc.28277.1.0: GP_CAT:1241: ERROR: An error occurred in the encryption subsystem code(60)
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1512: ERROR: Unable to generate first diffie-hellman packet
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1020: ERROR: Unable to obtain authentication level
151810.JN-TEST!?proc.28277.1.0: GP_CAT:1241: ERROR: An error occurred in the encryption subsystem code(60)
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1512: ERROR: Unable to generate first diffie-hellman packet
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1020: ERROR: Unable to obtain authentication level
151810.JN-TEST!?proc.28277.1.0: GP_CAT:1241: ERROR: An error occurred in the encryption subsystem code(60)
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1512: ERROR: Unable to generate first diffie-hellman packet
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1020: ERROR: Unable to obtain authentication level
151810.JN-TEST!?proc.28277.1.0: GP_CAT:1241: ERROR: An error occurred in the encryption subsystem code(60)
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1512: ERROR: Unable to generate first diffie-hellman packet
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection
151810.JN-TEST!?proc.28277.1.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH
。。。。。。。。。。。。。。。。。。。。。。。。。。
。。。。。。。。。。。。。。。。。。。。。。。。。。
Segmentation Fault (core dumped)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
问题点已经找到
这些问题我已经都查找过了!
这个错误表示你的客户端无法和服务端建立连接。
从以下几个方面排查:
1、首先确认从你的客户端是否能够telnet 通你的服务端开放的IP和port,这里的IP:PORT在UBB配置文件中的WSL中有定义,如果从客户端都无法telnet通服务端,那么tuxedo肯定是无法完成调用的
2、其次确认客户端的环境变量WSNADDR是否与服务端WSL所配置的IPORT一致,如果不一致,那么客户端是无法正确访问到tuxedo服务端的。
3、最后确认WSL进程是否正常运行,命令:ps -ef|grep WSL
最后的最后给你补充下tuxedo远程客户端是如何正确访问服务端的。客户端先根据环境变量WSNADDR所定义的IP:PORT找到服务端在网络上的位置,然后发送请求,WSL是服务端的监听进程,负责在所定义的IP:PORT上监听来自客户端的请求,当WSL监听到有请求时,则立即从WSH池中取一个空闲的WSH进程进行处理