日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

dspmq dspmqver command not found(dspmq命令找不到,dspmqver主安装目录设置不正确

發(fā)布時間:2023/12/19 编程问答 25 豆豆
生活随笔 收集整理的這篇文章主要介紹了 dspmq dspmqver command not found(dspmq命令找不到,dspmqver主安装目录设置不正确 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

[root@rhv6-64b ~]# su - mqm

-bash-4.1$ dspmq

-bash: dspmq: command not found(dspmq命令找不到)

-bash-4.1$ dspmqver(dspmqver主安裝目錄設置不正確)

AMQ8594: WebSphere MQ commands are no longer available in /usr/bin.

In order to run MQ commands you must manage your path configuration asdescribed in the WebSphere MQ product documentation.?

In particular review thetopic on "Choosing a primary installation".

-bash-4.1$

?

?

InfoCenter,Choosing a primary installation:On UNIX and Linux platforms, the first installation onto a system must be manually configured to be the primary installation. Set the primary installation using the?setmqinst?command.(可以通過setmqinst命令設置主安裝目錄)

-bash-4.1$ /opt/mqm/bin/dspmqinst

InstName: Installation1

InstDesc:Identifier: 1

InstPath: /opt/mqm

Version: 7.5.0.0

Primary:?No

State: Available

?

[root@rhv6-64b ~]#?/opt/mqm/bin/setmqinst -n Installation1 -i

114 of 114 tasks have been completed successfuly.'Installation1' (/opt/mqm) set as the Primary Installation.(設置/opt/mqm為主安裝目錄)

PATH=$PATH:/opt/mqm/bin

export PATH(將/opt/mqm/bin加入到環(huán)境變量PATH中,解決mq命令在命令行報命令找不到的錯誤,但是并不建議用這種方式添加,因為當退出終端時,改配置就失效,下次進入仍然報錯,建議到/etc/profile添加)

[root@rhv6-64b ~]# su - mqm

-bash-4.1$?dspmqver

Name: WebSphere MQ

Version: 7.5.0.0

Level: p000-L120604

BuildType: IKAP - (Production)

Platform: WebSphere MQ for Linux (x86-64 platform)

Mode: 64-bitO/S: Linux 2.6.32-131.0.15.el6.x86_64Inst

Name: Installation1Inst

Desc:InstPath: /opt/mqm

DataPath: /var/mqm

Primary: Yes

MaxCmdLevel: 750

?

?

參考鏈接:https://blog.csdn.net/crazyitlhs/article/details/49122277

總結(jié)

以上是生活随笔為你收集整理的dspmq dspmqver command not found(dspmq命令找不到,dspmqver主安装目录设置不正确的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。