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 » IBM MQ Installation/Configuration Support » how to set up windows client to talk to a unix queue manager

Post new topic  Reply to topic
 how to set up windows client to talk to a unix queue manager « View previous topic :: View next topic » 
Author Message
mpy
PostPosted: Tue Jul 16, 2002 8:03 am    Post subject: how to set up windows client to talk to a unix queue manager Reply with quote

Newbie

Joined: 16 Jul 2002
Posts: 1
Location: boston

Hi there. I am new to the world of MQ Series.
I am testing the sample code amqscnxc program in C and got a problem.
The purpose of this program is used to test client/server connection.
I simply run amqscnxc.exe and I got error code 2 and reason code 2035
"MQRC_NOT_AUTHORIZED"

Bascially the server or queue manager is running on the remote Solaris box. A server channel and a queue have been created there.
/etc/inetd.conf and /etc/services have been updated for this. I am using port number 1415 for this channel.
The channel has the following features:
CHLTYPE is SVRCONN, TRPTYPE is TCP, MCAUSER is empty.

I have downloaded IBM's MQSeries client for windows 2000 mackEnUS.zip on my windows 2000 professional. The installation was easy and fine.
I simply run amqscnxc.exe and I got error code 2 and reason code 2035
"MQRC_NOT_AUTHORIZED"

Any suggestion or advice?
Any help will be greatly appreciated![/b]
Back to top
View user's profile Send private message
mrlinux
PostPosted: Tue Jul 16, 2002 9:42 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

You either need to create a userid on the NT box that matchs the unix box
or create a unix that matchs your nt login ID. If you create a unix ID to match your NT ID becareful of case. Once the ID is created you need to give it rights to the qmgr and the queue you wish to access
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
blane99
PostPosted: Wed Jul 17, 2002 4:10 am    Post subject: Reply with quote

Apprentice

Joined: 12 Jun 2002
Posts: 41

If you just want to test it then easiest would be to turn off the OAM temporarily on solaris.
Back to top
View user's profile Send private message
mrlinux
PostPosted: Wed Jul 17, 2002 5:21 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

If you disable the OAM and create any queues and then try to renable
OAM then you will have problems with those queues.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
blane99
PostPosted: Wed Jul 17, 2002 6:22 am    Post subject: Reply with quote

Apprentice

Joined: 12 Jun 2002
Posts: 41

All you would have to do it comment out the OAM relevant lines in the qm.ini file, Recycle the qmgr , test the client . OAM will not be in effect. Anyone can access. If I create queues without OAM in effect that is not a problem. Create a queue, normalize the qm.ini, recycle qmgr. OAM is in effect and now the queue added (when no OAM ) must be secured using the setmqaut command to give appropraite authorization. WHat is a big problem is creating a qmgr with authorization turned off from the get go and then wanting to implement use of the OAM later on. I think this would require recreation of the qmgr.

Hope this helps
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 » IBM MQ Installation/Configuration Support » how to set up windows client to talk to a unix queue manager
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.