我需要爲WebSphere MQ隊列編寫一個.Net連接器,因此我在Windows 7機器上安裝了IBM WebSphere MQ的試用版。我最初在MQ Explorer中設置了一些虛擬隊列來與安裝過程一起玩,並且我能夠連接到這些隊列管理器並創建隊列。我刪除這些虛擬隊列和跟隨第一組指令from Lesson 1.1 from IBM here,我創建了一些隊列命令行可以創建Websphere隊列管理器但不能連接
我因爲安全問題未能to run Lesson 1.2,我現在無法連接到MQ資源管理器中的任何隊列管理器。當我嘗試連接我得到錯誤信息
An unexpected error (2063) has occurred. (AMQ4999)
- 我是本地管理員在我的機器上。
- 我已經添加了自己
- 我既沒有運行MQ Explorer中的「以管理員身份運行」選項
- 我已卸載MQ並重新安裝了它 所創建的mqm組
- 我已經重新啓動幾次
我也注意到,當我在MQ資源管理器創建隊列管理,最後一部分失敗,AMQ8135:未授權。(看下面的輸出)
有什麼明顯的我失蹤了嗎?
有一些辦法,我可以找出是什麼問題,我自己 - 日誌文件似乎並沒有給我任何想法去哪裏找
****************************************
* Command: "C:\Program Files (x86)\IBM\WebSphere MQ\bin\crtmqm" -sa QM1
****************************************
There are 90 days left in the trial period for this copy of WebSphere MQ.
WebSphere MQ queue manager created.
Directory 'C:\Program Files (x86)\IBM\WebSphere MQ\qmgrs\QM1' created.
The queue manager is associated with installation 'Installation2'.
Creating or replacing default objects for queue manager 'QM1'.
Default objects statistics : 74 created. 0 replaced. 0 failed.
Completing setup.
Setup completed.
exitvalue = 0
****************************************
* Command: "C:\Program Files (x86)\IBM\WebSphere MQ\bin\strmqm" QM1
****************************************
There are 90 days left in the trial period for this copy of WebSphere MQ.
WebSphere MQ queue manager 'QM1' starting.
The queue manager is associated with installation 'Installation2'.
5 log records accessed on queue manager 'QM1' during the log replay phase.
Log replay for queue manager 'QM1' complete.
Transaction manager state recovered for queue manager 'QM1'.
WebSphere MQ queue manager 'QM1' started using V7.1.0.0.
exitvalue = 0
****************************************
* Command: "C:\Program Files (x86)\IBM\WebSphere MQ\bin\runmqsc" QM1
* Input: DEFINE LISTENER('LISTENER.TCP') TRPTYPE(TCP) PORT(1414) CONTROL(QMGR)
****************************************
5724-H72 (C) Copyright IBM Corp. 1994, 2011. ALL RIGHTS RESERVED.
Starting MQSC for queue manager QM1.
AMQ8135: Not authorized.
No MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed.
exitvalue = 20
感謝T.Rob - 這是問題與運行服務的非域用戶。 – 2012-02-08 10:24:00