【发布时间】:2018-06-19 02:56:54
【问题描述】:
我们有一个使用 WebSphere MQ 7.0.1.3 的应用程序。在我们的舞台环境中进行广泛测试期间,磁盘已满。
此后,MQ 挂起。我们删除了应用程序日志(与 MQ 无关)并添加了更多磁盘,但并没有解决问题。
我们尝试重新启动队列管理器:
$ endmqlsr
$ endmqm XYZ
$ strmqm XYZ
WebSphere MQ queue manager 'XYZ' starting.
WebSphere MQ was unable to display an error message 893.
磁盘已满并发生错误时的日志:
----- amqxfdcx.c : 828 --------------------------------------------------------
06/08/2018 03:36:44 AM - Process(8832.5) User(mqm) Program(amqzlaa0)
AMQ6119: An internal WebSphere MQ error has occurred (Rc=28 from write)
----- amqxfdcx.c : 783 --------------------------------------------------------
06/08/2018 03:36:44 AM - Process(8832.5) User(mqm) Program(amqzlaa0)
AMQ6184: An internal WebSphere MQ error has occurred on queue manager XYZ.
----- amqxfdcx.c : 822 --------------------------------------------------------
06/08/2018 03:36:46 AM - Process(8832.5) User(mqm) Program(amqzlaa0)
AMQ6119: An internal WebSphere MQ error has occurred (Rc=28 from write)
----- amqxfdcx.c : 783 --------------------------------------------------------
06/08/2018 03:36:46 AM - Process(8832.5) User(mqm) Program(amqzlaa0)
AMQ6184: An internal WebSphere MQ error has occurred on queue manager XYZ.
AMQ6119: An internal WebSphere MQ error has occurred ('28 - No space left on device' from semget.)
----- amqxfdcx.c : 783 --------------------------------------------------------
06/14/2018 02:35:46 PM - Process(6794.1) User(mqm) Program(amqzxma0)
AMQ6184: An internal WebSphere MQ error has occurred on queue manager XYZ.
----- amqxfdcx.c : 822 --------------------------------------------------------
06/14/2018 02:35:46 PM - Process(6794.1) User(mqm) Program(amqzxma0)
AMQ6118: An internal WebSphere MQ error has occurred (20006037)
尝试与 IBM WebSphere MQ Explorer 连接时
Queue manager not available for connection - reason 2059. (AMQ4043)
Severity: 20 (Error)
Explanation: The attempt to connect to the queue manager failed. This could be because the queue manager is incorrectly configured to allow a connection from this system, or the connection has been broken.
Response: Ensure that the queue manager is running. If the queue manager is running on another computer, ensure it is configured to accept remote connections.
有没有办法清除队列中的所有消息并重置所有标志,以便队列管理器启动并且队列再次工作?
队列中只有旧的测试数据,没有任何价值。
或者您对如何解决此问题有任何其他建议?
【问题讨论】:
-
你检查过生成的FDC文件吗?也许它会提供有关错误的更多详细信息。
-
@JoshMc 您的第二条建议成功了。这就是我的问题的答案。在遇到很多问题后,我开始将 MQ 更新到 7.0.1.14。之后,我按照您链接到的演示文稿进行操作,这就是解决方案。
-
@buzztr 我已经添加了一个答案,其中包含我之前留给你的 cmets 的详细信息(以及更多)。如果您觉得这有帮助,请接受答案并为您认为合适的点赞。
-
@JoshMc 很好的答案。我认为第二个项目符号“使用 qm.ini ...”可能会更清楚,如果它说“使用现有的 qm.ini 来计算 crtmqm 命令的参数,例如:”也许表明 logPrimaryFiles 部分是输出来自“$ cat /var/mqm/qmgrs/_oldQmgrName_/qm.ini”?
标签: ibm-mq