tuxedo客户端程序执行

发布于 2022-08-28 08:45:26 字数 6933 浏览 14 评论 2

做了一个客户端程序,调用了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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

听,心雨的声音 2022-09-09 16:24:49

问题点已经找到

沩ん囻菔务 2022-09-02 20:19:00

这些问题我已经都查找过了!
这个错误表示你的客户端无法和服务端建立连接。
从以下几个方面排查:
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进程进行处理

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文