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 » 2035 Error on MQSession.AccessQueueManager

Post new topic  Reply to topic
 2035 Error on MQSession.AccessQueueManager « View previous topic :: View next topic » 
Author Message
abnormallynormal
PostPosted: Wed Feb 23, 2005 8:17 am    Post subject: 2035 Error on MQSession.AccessQueueManager Reply with quote

Newbie

Joined: 23 Feb 2005
Posts: 1

I'm trying to issue a MQSession.AccessQueueManager("") or MQSession.AccessQueueManager("QM_MARGIN") using the mqaxdlst VB example from a client machine, Server1. I get the 2035 Reason code, MQRC_NOT_AUTHORIZED.

I have the following environment on two W2K Servers.

Server1 - MQ Client Install with MQSERVER=CHANNEL1/TCP/X.X.X.X(1414)
Server2 - MQ Server Install with one default Queue Manager=QM_MARGIN, Queue, Channel (Server connection), Listener (running for port 1414)

1) I thought OAM was disabled by default? If not how do I disable it?
2) Both servers are not in a Domain but a workgroup. Therefore I cannot add a Server1 User to the mqm group on Server2 and add authorization with setmqaut.

This is a development environ so security/authorization is not a concern.

Thanks!!
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Feb 23, 2005 8:25 am    Post subject: Re: 2035 Error on MQSession.AccessQueueManager Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

abnormallynormal wrote:
1) I thought OAM was disabled by default? If not how do I disable it?

Not that I know, and Don't.
abnormallynormal wrote:
2) Both servers are not in a Domain but a workgroup. Therefore I cannot add a Server1 User to the mqm group on Server2 and add authorization with setmqaut.

Set an MCAUser on the client channel. Or create a user with the same name and password on both servers.

abnormallynormal wrote:
This is a development environ so security/authorization is not a concern.

Except you need to understand how to deal with security and troubleshoot security problems. So it's better to have it setup in dev than not.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Feb 23, 2005 2:14 pm    Post subject: Re: 2035 Error on MQSession.AccessQueueManager Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

abnormallynormal wrote:

This is a development environ so security/authorization is not a concern.


And when the 2035s show up in QA and PROD, then what? You will have no experience on solving them.

If you really want to disable OAM, but you shouldn't, set the below b4 you create the QM:
Code:

SET MQSNOAUT=yes


You cannot turn it back on for the QM, nor can you turn it off after you created the QM.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
RAJESHRAMAKRISHNAN
PostPosted: Fri Feb 25, 2005 12:44 am    Post subject: Reply with quote

Voyager

Joined: 01 May 2004
Posts: 96

I think you can disable and enable the OAM validation in Win 2000. I delete the Authorization Services on the MQServices console to disable OAM validations and add back if required.

BTW Is the same possible on other platforms, AIX for instance?
Back to top
View user's profile Send private message
Nigelg
PostPosted: Fri Feb 25, 2005 2:46 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

You can disable the auth service on UNIXy commenting out the Service and ServiceComponent stanzas andx entries for the auth service, and enable it again by reinstating the lines. A qmgr restart is required each time to implement the change.
Back to top
View user's profile Send private message
xgnitesh
PostPosted: Thu Apr 27, 2006 9:14 am    Post subject: Reply with quote

Novice

Joined: 06 Sep 2005
Posts: 19

Hi All,
Did anyone solve the 2035 error? I am facing the same error and I should not disable authorization.
I have a MQ Server with the following objects:
Queue Manager = QM
Local Queue = LQ
Server Connection Channel = CHANNEL
(default port)
On the clinet which is on the local domain less network, I have set environment variable MQSERVER = CHANNEL/TCP/192.168.1.3 where the IP address specified is my MQ server's IP address.

as specified in this thread: "Set an MCAUser on the client channel. Or create a user with the same name and password on both servers.
"

I tried to have a user account with same username and password on the server and the client machine but that did not help.

The other suggestion of having MCAUser on the client channel was not clear to me. Can anyone pls elaborate this method for me.

Thanks very much in advance for any help.
Best regards
Nitesh Gupta
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
vennela
PostPosted: Thu Apr 27, 2006 9:23 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Easiest and quickest is to set MCAUSER on SVRCONN channel as mqm
Or issue setmqaut commands for the userid you created and set it as MCAUSER
Back to top
View user's profile Send private message Send e-mail Visit poster's website
xgnitesh
PostPosted: Thu Apr 27, 2006 9:40 am    Post subject: Reply with quote

Novice

Joined: 06 Sep 2005
Posts: 19

Thanks Vennela,
Your quick help solved my problem. I made a user account called mqseries on both server and client machines with the same password on both. Then I set the MACUser for the server connection channel on the server to mqseries. Then I gave connect get and put permission to mqseries principal.

I have one more question:
In my current setup, I had server and client both on a win2k prof machines respectively. But, in my production setup, I am going to have server on win2k prof/server and the client will run on unix/solaris os.
QUESTION:
Having a normal unix/solaris user account on client will work in the similar manner? OR will I have to make any change? Do you or anyone else have experience of such a setup?

Thanks again.
Regards,
Nitesh Gupta
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
vennela
PostPosted: Thu Apr 27, 2006 11:30 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

I don't think there will be a problem with UNIX QMGRS either
Back to top
View user's profile Send private message Send e-mail Visit poster's website
SAFraser
PostPosted: Thu Apr 27, 2006 12:20 pm    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

I do not think the passwords on the two machines must match. I believe that only the userID is passed by MQ.

Shirley
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 » 2035 Error on MQSession.AccessQueueManager
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.