我无法将我的主要安装更改为 opt/mqm/

时间:2021-07-24 20:10:01

标签: ibm-mq

root@SPTS-Linux01:/opt/mqm/bin# ./setmqinst -i -p /opt/mqm/
AMQ6294E: Failed to create symbolic link with the name
'/usr/lib/libmqmzf.so'. Error Number: 2
1 of 32 tasks have been rolled back.
2 of 32 tasks have been rolled back.
3 of 32 tasks have been rolled back.
4 of 32 tasks have been rolled back.
5 of 32 tasks have been rolled back.
6 of 32 tasks have been rolled back.
7 of 32 tasks have been rolled back.``
8 of 32 tasks have been rolled back.
9 of 32 tasks have been rolled back.
10 of 32 tasks have been rolled back.
11 of 32 tasks have been rolled back.
12 of 32 tasks have been rolled back.
13 of 32 tasks have been rolled back.
14 of 32 tasks have been rolled back.
15 of 32 tasks have been rolled back.
16 of 32 tasks have been rolled back.
17 of 32 tasks have been rolled back.
18 of 32 tasks have been rolled back.
19 of 32 tasks have been rolled back.
20 of 32 tasks have been rolled back.
21 of 32 tasks have been rolled back.
22 of 32 tasks have been rolled back.
23 of 32 tasks have been rolled back.
24 of 32 tasks have been rolled back.
25 of 32 tasks have been rolled back.
26 of 32 tasks have been rolled back.
27 of 32 tasks have been rolled back.
28 of 32 tasks have been rolled back.
29 of 32 tasks have been rolled back.
30 of 32 tasks have been rolled back.
31 of 32 tasks have been rolled back.
32 of 32 tasks have been rolled back.
AMQ8577E: Failed to set 'Installation1' (/opt/mqm) as the primary installation.
AMQ8580E: Failed to unset 'Installation1' (/opt/mqm) as the primary
installation.
root@SPTS-Linux01:/opt/mqm/bin#

这是错误

  1. 我已经尝试了好几天了,但我总是卡在这里,结果我无法创建 QMGRS。
  2. 如果可能,请与我联系,我将不胜感激。

2 个答案:

答案 0 :(得分:0)

如果您的主要安装是 MQ v7.0.1,那么您不能将其更改为其他版本。正如它所说的 here,如果您安装了 MQ v7.0.1,那么它必须是主要安装。更改它的唯一方法是卸载 MQ v7.0.1。 setmqinst 命令只能用于 MQ v7.1 或更高版本的安装。

答案 1 :(得分:0)

root@SPTS-Linux01:/opt/mqm/bin# cd /usr/
root@SPTS-Linux01:/usr# ls
bin  config  games  include  lib  local  sbin  share  src
root@SPTS-Linux01:/usr# mkdir
root@SPTS-Linux01:/usr# mkdir lib64
root@SPTS-Linux01:/usr# ls
bin  config  games  include  lib  lib64  local  sbin  share  src
root@SPTS-Linux01:/usr# cd /opt/mqm/bin/
root@SPTS-Linux01:/opt/mqm/bin# ./setmqinst -i -p /opt/mqm
143 of 143 tasks have been completed successfully.
'Installation1' (/opt/mqm) set as the primary installation.