简体   繁体   English

即使使用CHLAUTH(DISABLED),WebSphere MQ错误MQRC_NOT_AUTHORIZED 2035

[英]WebSphere MQ error MQRC_NOT_AUTHORIZED 2035 even with CHLAUTH(DISABLED)

I am trying to connect a Windows client application to a remote WebSphere MQ Manager in a test environment. 我试图在测试环境中将Windows客户端应用程序连接到远程WebSphere MQ Manager。

Client 客户

  • Windows 7 SP1 x64 Windows 7 SP1 x64
  • WebSphere MQ 7.5 Client WebSphere MQ 7.5客户端

Server (VM) 伺服器(VM)

  • Windows 2008 R2 Windows 2008 R2
  • WebSphere MQ 7.5 Server WebSphere MQ 7.5服务器

Both machines are on the same domain. 两台机器都在同一域中。

The queue manager QM1 was created in WebSphere MQ Explorer (elevated to Administrator). 队列管理器QM1是在WebSphere MQ Explorer中创建的(提升为Administrator)。

For test purposes, I am not interested in authentication, so I have disabled MQ authentication with ALTER QMGR CHLAUTH(DISABLED). 出于测试目的,我对身份验证不感兴趣,因此我已使用ALTER QMGR CHLAUTH(DISABLED)禁用了MQ身份验证。

C:\Program Files (x86)\IBM\WebSphere MQ\bin64>runmqsc QM1
5724-H72 (C) Copyright IBM Corp. 1994, 2011.  ALL RIGHTS RESERVED.
Starting MQSC for queue manager QM1.
display qmgr chlauth
     1 : display qmgr chlauth
AMQ8408: Display Queue Manager details.
   QMNAME(QM1)                             CHLAUTH(DISABLED)

However, despite disabling authentication I still get the 2035 error. 但是,尽管禁用了身份验证,但仍然出现2035错误。

The AMQERR01.log for the QM shows: QM的AMQERR01.log显示:

03/06/2015 11:35:41 - Process(3520.657) User(MUSR_MQADMIN) Program(amqrmppa.exe)
                      Host(MYSERVER) Installation(Installation1)
                      VRMF(7.5.0.1) QMgr(QM1)

AMQ9557: Queue Manager User ID initialization failed.

EXPLANATION:
The call to initialize the User ID failed with CompCode 2 and Reason 2035.
ACTION:
Correct the error and try again. 

I am running the client application as my domain user (elevated to Administrator). 我以域用户(提升为管理员)身份运行客户端应用程序。 It's worth noting that this client code has been working in production environments for years and still does. 值得注意的是,此客户端代码已经在生产环境中使用了很多年,并且仍然可以使用。 It works in environments with and without MQ channel authentication configured, so I feel certain the issue is an environmental problem particular to my client or server machine. 它可以在配置和不配置MQ通道身份验证的环境中工作,因此我可以确定问题是客户端或服务器计算机所特有的环境问题。

Are there any other things that can cause 2035 MQ authentication error? 是否还有其他可能导致2035 MQ身份验证错误的事情?

Check that the client side user ID is known on the server side machine. 检查服务器端计算机上的客户端用户ID是否已知。 It is flowed from client to queue manager and used if you don't override it with anything else, eg CHLAUTH. 它从客户端流到队列管理器,如果不使用其他任何方式(例如CHLAUTH)覆盖它,则使用它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM