英文:
AMQ8146E: IBM MQ queue manager not available error when using runmqsc
问题
我在使用runmqsc
时遇到了AMQ8146E: IBM MQ queue manager not available
错误。我正在使用Mac Silicon机器,并且已经安装了来自https://ibm.biz/mqdevmacclient的MQ的MacOS工具包,并更新了PATH和DYLD_LIBRARY_PATH。我已经获得了一个JSON CCDT。我下载了一个qmgrcert_yyyymm.pem文件。我创建了.kdb密钥库并导入了队列管理器证书。我确保MQSERVER
未设置。我设置并导出了MQCCDTURL
和MQSSLKEYR
,但当我运行以下命令时:
runmqsc -c -u mid -w 60 QM1
我收到了AMQ8146E
错误。我在队列管理器日志中看到了以下内容:
----- amqrmrsa.c:631 --------------------------------------------------------
03/07/2023 04:03:32 PM - Process(637.10948) User(mqm) Program(amqrmppa)
Host(qm-...............-ibm-mq-0) Installation(Installation1)
VRMF(9.3.1.0) QMgr(QM1)
Time(2023-03-07T16:03:32.933Z)
RemoteHost(10.74.8.95)
ArithInsert1(420)
CommentInsert1(CLOUD.ADMIN.SVRCONN)
CommentInsert2(gsk_secure_soc_read)
CommentInsert3(10-74-8-95 (10.74.8.95))
AMQ9665E: SSL connection closed by remote end of channel 'CLOUD.ADMIN.SVRCONN'。
解释:
在安全套接字握手期间,SSL或TLS连接被远程主机'10-74-8-95(10.74.8.95)'关闭。通道是'CLOUD.ADMIN.SVRCONN'。在某些情况下,通道的名称无法确定,因此显示为'????'。该通道未启动。
操作:
检查通道远程端的SSL和TLS错误。修复它们并重新启动通道。
----- amqccisa.c:12150 ------------------------------------------------------
03/07/2023 04:03:32 PM - Process(637.10948) User(mqm) Program(amqrmppa)
Host(qm-...............-ibm-mq-0) Installation(Installation1)
VRMF(9.3.1.0) QMgr(QM1)
Time(2023-03-07T16:03:32.933Z)
CommentInsert1(CLOUD.ADMIN.SVRCONN)
CommentInsert2(637)
CommentInsert3(10.74.8.95)
AMQ9999E: 到主机'10.74.8.95'的通道'CLOUD.ADMIN.SVRCONN'异常结束。
解释:
运行在进程ID 637下的通道'CLOUD.ADMIN.SVRCONN'的通道程序异常结束。主机名为'10.74.8.95';在某些情况下,无法确定主机名,因此显示为'????'。
操作:
查看错误日志中通道程序的先前错误消息,以确定故障原因。请注意,通过在qm.ini中的“QMErrorLog”段下调整“ExcludeMessage”或“SuppressMessage”属性,可以完全排除或抑制此消息。有关更多信息,请参阅系统管理指南。
英文:
I am on a Mac Silicon machine, and am getting a AMQ8146E: IBM MQ queue manager not available
error when I try to use runmqsc
.
I have installed the MacOS toolkit for MQ from https://ibm.biz/mqdevmacclient and updated PATH and DYLD_LIBRARY_PATH.
I have obtained a JSON CCDT.
I have downloaded a qmgrcert_yyyymm.pem file.
I have created the .kdb keystore and imported the queue manager certificate.
I have made sure that MQSERVER
is not set.
I have set and exported MQCCDTURL
and MQSSLKEYR
but when I run
runmqsc -c -u mid -w 60 QM1
I get the AMQ8146E
error.
I see this is the queue manager logs -
----- amqrmrsa.c : 631 --------------------------------------------------------
03/07/2023 04:03:32 PM - Process(637.10948) User(mqm) Program(amqrmppa)
Host(qm-...............-ibm-mq-0) Installation(Installation1)
VRMF(9.3.1.0) QMgr(QM1)
Time(2023-03-07T16:03:32.933Z)
RemoteHost(10.74.8.95)
ArithInsert1(420)
CommentInsert1(CLOUD.ADMIN.SVRCONN)
CommentInsert2(gsk_secure_soc_read)
CommentInsert3(10-74-8-95 (10.74.8.95))
AMQ9665E: SSL connection closed by remote end of channel 'CLOUD.ADMIN.SVRCONN'.
EXPLANATION:
The SSL or TLS connection was closed by the remote host '10-74-8-95
(10.74.8.95)' during the secure socket handshake. The channel is
'CLOUD.ADMIN.SVRCONN'; in some cases its name cannot be determined and so is
shown as '????'. The channel did not start.
ACTION:
Check the remote end of the channel for SSL and TLS errors. Fix them and
restart the channel.
----- amqccisa.c : 12150 ------------------------------------------------------
03/07/2023 04:03:32 PM - Process(637.10948) User(mqm) Program(amqrmppa)
Host(qm-...............-ibm-mq-0) Installation(Installation1)
VRMF(9.3.1.0) QMgr(QM1)
Time(2023-03-07T16:03:32.933Z)
CommentInsert1(CLOUD.ADMIN.SVRCONN)
CommentInsert2(637)
CommentInsert3(10.74.8.95)
AMQ9999E: Channel 'CLOUD.ADMIN.SVRCONN' to host '10.74.8.95' ended abnormally.
EXPLANATION:
The channel program running under process ID 637 for channel
'CLOUD.ADMIN.SVRCONN' ended abnormally. The host name is '10.74.8.95'; in some
cases the host name cannot be determined and so is shown as '????'.
ACTION:
Look at previous error messages for the channel program in the error logs to
determine the cause of the failure. Note that this message can be excluded
completely or suppressed by tuning the "ExcludeMessage" or "SuppressMessage"
attributes under the "QMErrorLog" stanza in qm.ini. Further information can be
found in the System Administration Guide.
答案1
得分: 1
The README says: when running on Apple Silicon processors, the IBM MQ MacOS Toolkit utilises OpenSSL to provide TLS services.
In this case you just need to switch from .kdb
to .PEM
format.
If you are working with an MQ on Cloud instance, the default for the certificate download is .PEM
format. To use runmqsc
in client mode, you would then export MQCCDTURL
and MQSSLKEYR
e.g.,
export MQSSLKEYR=<path_to_pem>/qmgrcert_yyyymm.pem
Take a look at the README.Client
file in /opt/mqm/
for more info on how to convert other certificate types to .PEM
format.
英文:
The README says: when running on Apple Silicon processors, the IBM MQ MacOS Toolkit utilises OpenSSL to provide TLS services.
In this case you just need to switch from .kdb
to .PEM
format.
If you are working with an MQ on Cloud instance, the default for the certificate download is .PEM
format. To use runmqsc
in client mode, you would then export MQCCDTURL
and MQSSLKEYR
e.g.,
export MQSSLKEYR=<path_to_pem>/qmgrcert_yyyymm.pem
Take a look at the README.Client
file in /opt/mqm/
for more info on how to convert other certificate types to .PEM
format.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论