Author |
Message
|
sunbaby |
Posted: Tue Nov 29, 2016 7:55 am Post subject: IBM MQ 8 response code amqsputc 2035 |
|
|
Newbie
Joined: 29 Nov 2016 Posts: 2
|
Hi All,
I`m sure this is something stupid thing, but I spend two days and I can not resolved, please help me.
I have server and client IBM MQ 8 on one Windows server.
I set MQSERVER=CHANNEL1/TCP/127.0.0.1(1414) and after that I tried :
#amqsputc QUEUE1 QMA
Sample AMQSPUT0 start
MQCONNX ended with reason code 2035
when I tried
#amqsput QUEUE1 QMA I successfully can send messages, but with client I don`t.
I added the permission for CHANNEL1:
SET CHLAUTH(CHANNEL1) TYPE(ADDRESSMAP) ADDRESS('*') MCAUSER('Administrator')
The listener is starting. I don`t know where I am wrong. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Nov 29, 2016 7:59 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
What do the logs/security events/other diagnostics say you're bouncing off?
Also are you sure "Administrator" is a good choice for a user id? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
zpat |
Posted: Tue Nov 29, 2016 8:15 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Enable authority events.
Inspect the event message with MS0P or MO71. _________________ Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Nov 29, 2016 9:00 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You're running MQ V8. Administrator (i.e. privileged) client access is denied by default and that is what you are seeing.
Working as designed.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
sunbaby |
Posted: Tue Nov 29, 2016 11:20 pm Post subject: |
|
|
Newbie
Joined: 29 Nov 2016 Posts: 2
|
thank you, all ! In the event I found error:
The queue manager is configured to require a user ID and password, but none was supplied.
and this make me to find decision. By default the queue manager wants the id and password. If I set MQSAMP_USER_ID=Administrator and try I successfully can send message.
I run it this and the id and password make it optinal and fix the problem.
ALTER AUTHINFO(SYSTEM.DEFAULT.AUTHINFO.IDPWOS) AUTHTYPE(IDPWOS) CHCKCLNT(OPTIONAL)
REFRESH SECURITY TYPE(CONNAUTH)
Thanks again ! |
|
Back to top |
|
 |
|