Posted: Wed Jun 28, 2006 8:36 pm Post subject: Using mqm run sample code get MQCONN Reason Code 2035
Newbie
Joined: 28 Jun 2006 Posts: 2
Hi hi! I'm setting up a MQserver on windows and MQclient on red hat linux for the 1st time.
I've installed both the server and client components respectively.
I've set up the server queue manager named saturn.queue.manager with queue1 and CHANNEL1 on port 1415.
When i try to run the sample test command as user mqm:
[mqm@cyan bin]$ export MQSERVER='CHANNEL1/TCP/192.168.1.10(1415)'
[mqm@cyan bin]$ ./amqsputc queue1 saturn.queue.manager
I got the following error code:
MQCONN ended with reason code 2035
mqm on windows and unix work with different userids. the userid mqm you use on linux to run the client application is passed to the windows queuemanager during the connect, but because it is not known you get the 2035 "not authorized" error.
you have to set up proper security on windows for the userid that executes the client application, or use an mca user on the channel. you may search here, thete are lots of threads related to this issue. _________________ Regards, Butcher
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