Author |
Message
|
Vitor |
Posted: Wed Feb 11, 2015 6:09 am Post subject: Can't see the elephant in the install |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
IIBV9.0.0.2 on some RedHat with WMQv7.5.0.3
Done all the standard installs (so they say), the broker runs under an id of mqbrkrs which is a member of the mqm group with the mqm id running the queue manager.
It's all working great except when we try to create an execution group, when this happens:
Code: |
mqbrkrs@lesi001az> mqsicreateexecutiongroup LESI001AZ -e CTA
BIP1046E: Unable to connect with the queue manager (com/ibm/jsse2/IBMJSSEProvider2).
The utility encountered a problem while attempting to connect to the queue manager to put a message to the broker's request queue.
Ensure that the correct connection parameters have been supplied to the utility. Also ensure that the queue manager is running and that the current user is able to access the queues beginning SYSTEM.BROKER. If this error text includes an MQ reason code, look up the meaning behind the error in the Application Programming Reference guide and proceed as appropriate.
|
Now I saw something that looked a lot like Java (com/ibm/etc) and freaked out.
Since this is a new, never used broker clearly there's some massive howler in the install. What have I missed?  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Feb 11, 2015 6:10 am Post subject: Re: Can't see the elephant in the install |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor wrote: |
What have I missed?  |
setmqinst ? |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Feb 11, 2015 6:10 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Do the MQ Error logs show anything about this failed connection attempt? Are Authority Events turned on and if yes, any events? _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
Vitor |
Posted: Wed Feb 11, 2015 6:19 am Post subject: Re: Can't see the elephant in the install |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
Vitor wrote: |
What have I missed?  |
setmqinst ? |
I don't think so....
Code: |
mqbrkrs@lesi001az> dspmqinst
InstName: Installation1
InstDesc:
Identifier: 1
InstPath: /opt/mqm
Version: 7.5.0.4
Primary: Yes
State: Available
mqbrkrs@lesi001az> mqsicreateexecutiongroup LESI001AZ -e ABC
BIP1046E: Unable to connect with the queue manager (com/ibm/jsse2/IBMJSSEProvider2).
The utility encountered a problem while attempting to connect to the queue manager to put a message to the broker's request queue.
Ensure that the correct connection parameters have been supplied to the utility. Also ensure that the queue manager is running and that the current user is able to access the queues beginning SYSTEM.BROKER. If this error text includes an MQ reason code, look up the meaning behind the error in the Application Programming Reference guide and proceed as appropriate.
mqbrkrs@lesi001az>
|
If a primary installation shows, do we need to do setmqinst again?
For the record, if I do it tells me I have insufficient permission, which is interested given I'm mqm. Is that just odd or a clue?
I'm also investigating at what point MQ's FP4 got applied and why I didn't know about it..... _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Feb 11, 2015 6:22 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
PeterPotkay wrote: |
Do the MQ Error logs show anything about this failed connection attempt? Are Authority Events turned on and if yes, any events? |
No entries in the log. I'll give auth events a try; I'd initally discounted them as it seemed to be the Java not being found or something.
I should freak out less. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Feb 11, 2015 6:33 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
PeterPotkay wrote: |
Are Authority Events turned on and if yes, any events? |
Yes they are and no events are generated _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Feb 11, 2015 6:34 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
As it's looking for jsse which is part of security I am asking is the qmgr also running AMS? If yes are the queues you are trying to access under AMS control?? Can you access the queues using the sample program amqsput amqsget ??  _________________ MQ & Broker admin
Last edited by fjb_saper on Wed Feb 11, 2015 6:38 am; edited 1 time in total |
|
Back to top |
|
 |
Vitor |
Posted: Wed Feb 11, 2015 6:37 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
fjb_saper wrote: |
As it's looking for jsse which is part of security I am asking is the qmgr also running AMS? If yes are the queues you are trying to access under AMS control??  |
Well I don't believe that this server has AMS installed, but I didn't think we had FP4 either.
Given that we're not trying to access anything specifically but just run the create execution group command, where would be the best place for me to look for an AMS profile protecting the SYSTEM queues?
AMS is not my thing, and I thought you needed to be a client..... _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Feb 11, 2015 6:39 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
What is the output of amqsput and amqsget ?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Vitor |
Posted: Wed Feb 11, 2015 6:43 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
fjb_saper wrote: |
What is the output of amqsput and amqsget ?  |
Code: |
mqbrkrs@lesi001az> amqsget SYSTEM.ADMIN.QMGR.EVENT LESI001AZ
Sample AMQSGET0 start
no more messages
Sample AMQSGET0 end
mqbrkrs@lesi001az> amqsput SYSTEM.ADMIN.QMGR.EVENT LESI001AZ
Sample AMQSPUT0 start
target queue is SYSTEM.ADMIN.QMGR.EVENT
all hail Vitor!
Sample AMQSPUT0 end
mqbrkrs@lesi001az> amqsget SYSTEM.ADMIN.QMGR.EVENT LESI001AZ
Sample AMQSGET0 start
message <all hail Vitor!>
no more messages
Sample AMQSGET0 end
mqbrkrs@lesi001az>
|
_________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Feb 11, 2015 6:48 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Sorry I meant writing to the SYSTEM.BROKER.* queue being used by mqsicreateexecutiongroup... Otherwise no dice... and of course using the same userid and same environment...
Are you using the broker's service id? If not try using that.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Vitor |
Posted: Wed Feb 11, 2015 6:57 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
fjb_saper wrote: |
Sorry I meant writing to the SYSTEM.BROKER.* queue being used by mqsicreateexecutiongroup... Otherwise no dice... and of course using the same userid and same environment...
Are you using the broker's service id? If not try using that.  |
Same thing, using the same session & command prompt that I issued the create EG from. Didn't even log off. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Feb 11, 2015 7:22 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
amqsput and get would make use of a cms type store. The mqsicreateexecutiongroup would make use of a jks type store...
What has me worried is the message unable to talk to the qmgr...
Is the qmgr running? I would say yes looking at your previous post...
If AMS is in play, has a jks store been defined in the profile?
I trust that broker and qmgr have the same name??
(What does mqsilist say?)  _________________ MQ & Broker admin
Last edited by fjb_saper on Wed Feb 11, 2015 7:36 am; edited 1 time in total |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Feb 11, 2015 7:26 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
If AMS was in play, then I'd think amqsput and amqsget would fail.
Since c level stuff is working, and it's java level stuff that's failing..
did you install the IBM jvm? Are you using it? |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Feb 11, 2015 7:28 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Also, I assume you're running mqsicreateexecutiongroup as the same user that ran mqsicreatebroker?
It might be worth running REFRESH SECURITY, too.  |
|
Back to top |
|
 |
|