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 » MQClient install verification + error 2035

Post new topic  Reply to topic Goto page 1, 2  Next
 MQClient install verification + error 2035 « View previous topic :: View next topic » 
Author Message
Smarty05
PostPosted: Tue May 22, 2007 5:56 am    Post subject: MQClient install verification + error 2035 Reply with quote

Apprentice

Joined: 02 May 2007
Posts: 26

Hi,

I have MQ Client v6.0 installed on Win XP and MQ Server v5.3 running on Solaris 8.

As per Quick beginning guide,

1. Installed MQ Client 6.0 successfully

2. Set the MQSERVER variable on MQ clinet Win machine.i.e. SET MQSERVER=SVRCONN_ChannelName/TransportType/MQServerHostName(port)

3. And as last step, i wanted to Verify installation using amqsputc, but getting error when trying to put test message on MQ Server QM.

Sample AMQSPUT0 start
MQCONN ended with reason code 2035

I don't see any step missed as per Quick beggining guide for Win, any idea why i am getting this authorization error ?

Do i need to set any explicit authority?

Thanks in advance...

Regards,
Smarty05
Back to top
View user's profile Send private message
Gaya3
PostPosted: Tue May 22, 2007 6:12 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Hi

What is the MCAUSER specified in the Server/Client Connection channel

and under which user id you are trying to place the message

Find out whether its the same, and its not same as of my conclusion


Thanks and Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Tue May 22, 2007 6:19 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

mqrc 2035

2035 0x000007f3 MQRC_NOT_AUTHORIZED

Use dspmqaut to see user permission (MCA user of channel or user running application) .
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
Smarty05
PostPosted: Tue May 22, 2007 6:22 am    Post subject: Reply with quote

Apprentice

Joined: 02 May 2007
Posts: 26

Thanks for your reply...

To keep it simple at the moment, i did not set any MCAUSER...

dis chl(CHANNEL1) chltype mcauser
4 : dis chl(CHANNEL1) chltype mcauser
AMQ8414: Display Channel details.
CHANNEL(CHANNEL1) CHLTYPE(SVRCONN)
MCAUSER( )

well, i logged on MQ client Win machine using my normal user login 'user1780' which is member of 'mqm' group on local machine and trying to put message on Solaris machine QM(where i am a 'mqm' user).
Back to top
View user's profile Send private message
rparti
PostPosted: Tue May 22, 2007 6:31 am    Post subject: Reply with quote

Voyager

Joined: 05 Oct 2005
Posts: 86
Location: U.S.A.

Check the log for the queue manager. It will tell you the user that gave you the 2035.

Ensure that the correct queue manager or object was specified, and that MQServerHostName points to the right IP
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Tue May 22, 2007 6:39 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Smarty05 wrote:
Thanks for your reply...

To keep it simple at the moment, i did not set any MCAUSER...

dis chl(CHANNEL1) chltype mcauser
4 : dis chl(CHANNEL1) chltype mcauser
AMQ8414: Display Channel details.
CHANNEL(CHANNEL1) CHLTYPE(SVRCONN)
MCAUSER( )

well, i logged on MQ client Win machine using my normal user login 'user1780' which is member of 'mqm' group on local machine and trying to put message on Solaris machine QM(where i am a 'mqm' user).



How about solaris user ?

Does it means you have on solaris user user1780 with proper rights?
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
Smarty05
PostPosted: Tue May 22, 2007 6:56 am    Post subject: Reply with quote

Apprentice

Joined: 02 May 2007
Posts: 26

i don't have 'user1780' user on Solaris box.
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Tue May 22, 2007 7:00 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Smarty05 wrote:
i don't have 'user1780' user on Solaris box.



That's why it doesn't work.

This user should exist on solaris.

Create this user, add to mqm group and invoke REFRESH SECURITY.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
marcin.kasinski
PostPosted: Tue May 22, 2007 7:11 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

marcin.kasinski wrote:
Smarty05 wrote:
i don't have 'user1780' user on Solaris box.



That's why it doesn't work.

This user should exist on solaris.

Create this user, add to mqm group and invoke REFRESH SECURITY.


Another thing...

Why do you use users which are member of mqm group ?
Dou you really need it ?
Is it dev environment ?
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
Smarty05
PostPosted: Tue May 22, 2007 8:24 am    Post subject: Reply with quote

Apprentice

Joined: 02 May 2007
Posts: 26

marcin.kasinski wrote:
Smarty05 wrote:
i don't have 'user1780' user on Solaris box.


That's why it doesn't work.

This user should exist on solaris.



well, this means if there r 'n' no of appl'n users using MQ Client based appl'n, i need to create all their id's on MQ Server box ... If so, then how come MQ Client v6 Pdf doesn't have any such instruction to create same user on both boxes?
Back to top
View user's profile Send private message
Smarty05
PostPosted: Tue May 22, 2007 8:35 am    Post subject: Reply with quote

Apprentice

Joined: 02 May 2007
Posts: 26

rparti wrote:
Check the log for the queue manager. It will tell you the user that gave you the 2035.


there is no error in MQ log....
FYI,amqsputc is a sample program...and as far i know,MQ doesn't write standalone program errors in QM logs...
Back to top
View user's profile Send private message
rparti
PostPosted: Tue May 22, 2007 9:12 am    Post subject: Reply with quote

Voyager

Joined: 05 Oct 2005
Posts: 86
Location: U.S.A.

[quote="Smarty05]
there is no error in MQ log....
FYI,amqsputc is a sample program...and as far i know,MQ doesn't write standalone program errors in QM logs...[/quote]

If you got a 2035, you should see something in "...IBM\Webshpere MQ\qmgrs\QMNAME\errors\*.log for sure

It is not a program error, but an error written by one of the QM processes if the connection to the QM was attempted. If you don't see this in the logs I dont thin the connection to the QM was attempted at all.

Make sure the listener is running on the QM, there is a severconnection channel defined there and that you are using the exact same info in the SETMQSERVER
Back to top
View user's profile Send private message
Smarty05
PostPosted: Tue May 22, 2007 10:04 am    Post subject: Reply with quote

Apprentice

Joined: 02 May 2007
Posts: 26

I got the answer...

there is a doc error in Quick Beginning for Windows pdf which is confusing. It says we no need to set MCAUSER...

define channel(channel1) chltype(svrconn) trptype(tcp) mcauser(' ')

But when I referred other Quick Beginning pdf's for HP-UX/Solaris/Linux etc, it says
define channel (channel1) chltype (svrconn) trptype (tcp) mcauser ('mqm')

So when I set the MCAUSER to 'mqm', amqsputc is connecting to QM and I m able to verify my client-server configuration...

Thanks all for your patience & replies...
Back to top
View user's profile Send private message
Toronto_MQ
PostPosted: Tue May 22, 2007 10:17 am    Post subject: Reply with quote

Master

Joined: 10 Jul 2002
Posts: 263
Location: read my name

I would be very careful with what you've just done. You've enabled a very big security loophole.

Now anyone with knowledge of your IP address and channel name will be able to do anything with your queue manager.

You may want to look into setting up a security exit.

Steve
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Tue May 22, 2007 10:51 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Smarty05 wrote:
marcin.kasinski wrote:
Smarty05 wrote:
i don't have 'user1780' user on Solaris box.


That's why it doesn't work.

This user should exist on solaris.



well, this means if there r 'n' no of appl'n users using MQ Client based appl'n, i need to create all their id's on MQ Server box


Yes, It'true

Smarty05 wrote:

... If so, then how come MQ Client v6 Pdf doesn't have any such instruction to create same user on both boxes?


I don't know,
There is information about this in QM docs.
I don't know if it is in MQ Client , MQ primer, or another one.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General IBM MQ Support » MQClient install verification + error 2035
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.