ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » MQ Series Developer Tools

Post new topic  Reply to topic
 MQ Series Developer Tools « View previous topic :: View next topic » 
Author Message
brutecat
PostPosted: Mon Jun 18, 2018 6:05 am    Post subject: MQ Series Developer Tools Reply with quote

Newbie

Joined: 18 Jun 2018
Posts: 3

Hi there,

I am relatively new to MQ, so sorry for the simple question. I want to test a connection from a 'C" client connecting to an MQ server on another machine (all running Windows - I am testing with the amqscnxc example). I am trying to setup a server using the MQ Developer kit, but I keep getting an authorisation error. Does the development kit prevent remote connections? Or do I just have a configuration problem?

Thanks,

Stan
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jun 18, 2018 10:44 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Configuration problem.

If you've just set MQ up, it's possible youre passing an administrative user id across the remote connection. By default MQ refuses such connections.

You either need to pass an authorized but non-administrative user, or remove the security rule to allow the access.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
hughson
PostPosted: Thu Jun 21, 2018 3:49 pm    Post subject: Re: MQ Series Developer Tools Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
Location: Bay of Plenty, New Zealand

brutecat wrote:
I am relatively new to MQ, so sorry for the simple question.

<vendor_plug>
It may be worth taking some MQ training to help you with these kinds of early teething problems. We offer very good value online MQ training. Suggest that the "Configuring Clients for Connectivity" module might help you. See my signature for details.
</vendor_plug>

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
brutecat
PostPosted: Thu Jun 21, 2018 6:15 pm    Post subject: Authorisation Reply with quote

Newbie

Joined: 18 Jun 2018
Posts: 3

Thanks. I disabled channel level authorisation and I could connect. This is fine for my testing purposes. I appreciate the help.
Back to top
View user's profile Send private message
mvic
PostPosted: Sat Jun 30, 2018 4:25 pm    Post subject: Re: Authorisation Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

Quote:
This is fine for my testing purposes

Fair enough.

Error messages will have been logged for these failures, with better details of why the failure happened.
So, if getting an error like this, always check the error logs (AMQERR01.LOG etc) in the system-wide location and the qmgr-specific location.
Only ever consider disabling MQ's default auths for sandbox testing. NOT in production!
Back to top
View user's profile Send private message
brutecat
PostPosted: Sat Jun 30, 2018 11:05 pm    Post subject: Reply with quote

Newbie

Joined: 18 Jun 2018
Posts: 3

Hi mvic,

Thanks for the pointer. I will investigate.

Regards,

Stan
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sun Jul 01, 2018 8:33 am    Post subject: Re: Authorisation Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

mvic wrote:
Only ever consider disabling MQ's default auths for sandbox testing. NOT in production!

For clarity:

IMHO, authorizations should be developed in TEST along with the applications needing authorizations. Apps and auths should then percolate to QA (pre-PROD), and then to PROD.

"sandbox" here implies none of the above (TEST, QA, PROD); rather, an internal environment for sysadmin testing of MQ functionality.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQ Series Developer Tools
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.