Author |
Message
|
mpy |
Posted: Tue Jul 16, 2002 8:03 am Post subject: how to set up windows client to talk to a unix queue manager |
|
|
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 |
|
 |
mrlinux |
Posted: Tue Jul 16, 2002 9:42 am Post subject: |
|
|
 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 |
|
 |
blane99 |
Posted: Wed Jul 17, 2002 4:10 am Post subject: |
|
|
 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 |
|
 |
mrlinux |
Posted: Wed Jul 17, 2002 5:21 am Post subject: |
|
|
 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 |
|
 |
blane99 |
Posted: Wed Jul 17, 2002 6:22 am Post subject: |
|
|
 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 |
|
 |
|