I am setting up my corporate laptop to install IBM MQ 7.5 and create a Queue Manager and create some queues inside it.
The installation of IBM MQ 7.5 got success. My user id (Ex.malai) is linked to 'mqm' user group.
Creation of Queue Manager
C:\Program Files\IBM\IIB\10.0.0.3>crtmqm A24QM
WebSphere MQ queue manager created.
Directory 'C:\Program Files (x86)\IBM\WebSphere MQ\qmgrs\A24QM' created.
The queue manager is associated with installation 'Installation1'.
Creating or replacing default objects for queue manager 'A24QM'.
Default objects statistics : 77 created. 0 replaced. 0 failed.
Completing setup.
Setup completed.
Starting the Queue Manager
C:\Program Files\IBM\IIB\10.0.0.3>strmqm A24QM
WebSphere MQ queue manager 'A24QM' starting.
The queue manager is associated with installation 'Installation1'.
5 log records accessed on queue manager 'A24QM' during the log replay phase.
Log replay for queue manager 'A24QM' complete.
Transaction manager state recovered for queue manager 'A24QM'.
WebSphere MQ queue manager 'A24QM' started using V7.5.0.0.
The above command looks ok. I launch the IBM MQ with my user id 'malai' and I see as below
The Queue Manager is Disconnected. I do not see the tree icon to expand the Queue Manager to create the Queues.
When I try creating the Queue Manger from GUI it is giving the below output
****************************************
* Command: "C:\Program Files (x86)\IBM\WebSphere MQ\bin\runmqsc" TESTQM
* 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 TESTQM.
AMQ8135: Not authorized.
No MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed.
exitvalue = 20
And also, even though I see the manager is in running state, once in 4/5 seconds the up green arrow goes to down red arrow and comes back.
I dont see any error in AMQERR01
I understand it is something to do with user group, rights and permission. Since this is a corporate laptop, I do not have admin rights to my computer (i can get temporarily). It is a dev setup and I would like to know what configuration do I need to do in order for MQ 7.5 to run in my machine.
Update: When I try execute runmqsc it throws the below error
C:\Program Files\IBM\IIB\10.0.0.3>runmqsc A24QM
5724-H72 (C) Copyright IBM Corp. 1994, 2011. ALL RIGHTS RESERVED.
Starting MQSC for queue manager A24QM.
AMQ8135: Not authorized.
No MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed.
Output of amqsput
C:\Program Files\IBM\IIB\10.0.0.3>amqsput A24QM
Sample AMQSPUT0 start
MQCONN ended with reason code 2059
I got a network admin and tried running the MQ Explorer and the cmd with 'Administrator' privileges. Login the PC with my id 'malai' and right click the MQ and select 'Run as Administrator' and login with admin id.
By doing that both runmqsc and MQ explorer works great. Does that giving any clue.