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 » MQ8 cannot connect to Qmanager

Post new topic  Reply to topic
 MQ8 cannot connect to Qmanager « View previous topic :: View next topic » 
Author Message
vasilev
PostPosted: Fri Oct 31, 2014 2:24 am    Post subject: MQ8 cannot connect to Qmanager Reply with quote

Acolyte

Joined: 31 Oct 2014
Posts: 71
Location: Germany

Hello guys,
i have installed one MQ server v8 with fix pack 1.
everything is ok, but i am trying to access it from my virtual machine.
The qmanager is on my computer and trying to access via mq explorer from virtual server - i am using oracle vm.
when i try to connect it says that:

the qmanager security mechanism has indicated that the user...

in the logs of the qmanager from my side i see this:
Code:
AMQ5541: Die fehlgeschlagene Prüfung der Authentifizierung wurde durch die
Konfiguration CONNAUTH CHCKCLNT(REQDADM) des Warteschlangenmanagers verursacht.

ERKLÄRUNG:
Die Benutzer-ID 'mqadmin' und das zugehörige Kennwort wurden geprüft, da die
Benutzer-ID berechtigt ist und sich die Konfiguration der
WS-Verbindungsberechtigung (CONNAUTH) auf ein Objekt mit
Authentifizierungsinformationen (AUTHINFO) mit der Bezeichnung
'SYSTEM.DEFAULT.AUTHINFO.IDPWOS' mit CHCKCLNT(REQDADM) bezieht.

Diese Nachricht wird mit einem vorherigen Fehler ausgegeben, um die Ursache für
die Prüfung der Benutzer-ID und des Kennworts zu erläutern.
AKTION:
Weitere Informationen finden Sie im vorherigen Fehler.

Stellen Sie sicher, dass ein Kennwort durch die Clientanwendung angegeben ist
und das Kennwort mit der Benutzer-ID übereinstimmt. Die
Authentifizierungskonfiguration der Warteschlangenmanagerverbindung legt das
Repository für die Benutzer-ID fest. Dies ist beispielsweise die lokale
Datenbank des Betriebssystembenutzers oder ein LDAP-Server.

Um die Prüfung der Authentifizierung zu vermeiden, können Sie eine nicht
berechtigte Benutzer-ID verwenden oder die Authentifizierungskonfiguration des
Warteschlangenmanagers ändern. Sie können das CHCKCLNT-Attribut im
CHLAUTH-Datensatz ändern, Sie sollten den nicht authentifizierten Fernzugriff
jedoch grundsätzlich nicht zulassen.
-------------------------------------------------------------------------------
31.10.2014 11:04:35 - Process(5648.14) User(mqadmin) Program(amqrmppa.exe)
                      Host(hostname) Installation(Installation1)
                      VRMF(8.0.0.1) QMgr(qmanager)
                     
AMQ9557: Die Initialisierung der Benutzer-ID 'mqadmin' des
Warteschlangenmanagers ist fehlgeschlagen.

ERKLÄRUNG:
Die Initialisierung der Benutzer-ID 'mqadmin' ist mit Beendigungscode '2' und
Ursachencode '2035' fehlgeschlagen.
AKTION:
Korrigieren Sie den Fehler und versuchen Sie es erneut.


so i found in IBM website that i have to configure the channel authority.

ok, but the problem is that the user is local not domain user and i cannot give it any authority to my computer.

can you tell me what i can do.
thanks.
Back to top
View user's profile Send private message Visit poster's website
exerk
PostPosted: Fri Oct 31, 2014 2:32 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

There's a great article HERE which explains how to do it - glad to see that your solution is not to switch off CHLAUTH
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
tczielke
PostPosted: Fri Oct 31, 2014 4:04 am    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 941
Location: Illinois, USA

My german isn't very good, but it looks like the user is hitting the default setting restrictions for CONNAUTH at v8 that would block a remote user in the MQ admin group from connecting to the queue manager.
Back to top
View user's profile Send private message
vasilev
PostPosted: Fri Oct 31, 2014 4:11 am    Post subject: Reply with quote

Acolyte

Joined: 31 Oct 2014
Posts: 71
Location: Germany

i found this !!!

https://www.ibm.com/developerworks/community/blogs/messaging/entry/bitesize_blogging_mq_v8_connection_authentication_on_z_os?lang=en

so this is what i have made and everything is working:

ALTER AUTHINFO(SYSTEM.DEFAULT.AUTHINFO.IDPWOS) AUTHTYPE(IDPWOS) +
CHCKLOCL(OPTIONAL) CHCKCLNT(OPTIONAL)

to not check for the user because it is only on the virtual machine.
great !
thanks


Last edited by vasilev on Fri Oct 31, 2014 4:19 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
tczielke
PostPosted: Fri Oct 31, 2014 4:18 am    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 941
Location: Illinois, USA

CONNAUTH is new at v8, and is different from CHLAUTH. CONNAUTH has a default setting of CHCKCLNT(REQADMIN) the will block any remote user that is an MQADMIN from connecting to the queue manager.
Back to top
View user's profile Send private message
tczielke
PostPosted: Fri Oct 31, 2014 4:20 am    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 941
Location: Illinois, USA

I should say CONNAUTH CHCKCLNT(REQADMIN) will require any remote user that is an MQADMIN to provide a user id and password for authentication, I believe.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Oct 31, 2014 4:39 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

tczielke wrote:
I should say CONNAUTH CHCKCLNT(REQADMIN) will require any remote user that is an MQADMIN to provide a user id and password for authentication, I believe.


In fact, and this is a bit confusing, it works against the final resolved ID, not necessarily the one that is presented by the client.

Or at least, it seems like it does.

So, create a SVRCONN, set the MCAUSER on the channel to ('mqm'). Connect to that channel using Alice and Alice's password. I believe REQUIRED and REQADMIN will both disallow the connection. I can't state with any confidence what OPTIONAL will do - and I only have a medium-to-low confidence about what I've just said. It's based on what I've seen, not what I've rigorously tested.
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 » MQ8 cannot connect to Qmanager
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.