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 Discussion » 2035 not showing up in AMQERR01.LOG on Solaris

Post new topic  Reply to topic
 2035 not showing up in AMQERR01.LOG on Solaris « View previous topic :: View next topic » 
Author Message
neocruz
PostPosted: Fri Jul 09, 2004 12:06 pm    Post subject: 2035 not showing up in AMQERR01.LOG on Solaris Reply with quote

Acolyte

Joined: 13 Jun 2004
Posts: 54

I've tried to connect to a queue using a 5.3 client and received a 2035. That is fine. On Solaris 9i, I've looked at that Qmgr's (5.3) error logs to see what UserID was being used. Authorev has been enabled. There's nothing in the log. I tried 5 additional times. Still nothing. Can anyone help.
Back to top
View user's profile Send private message
kirani
PostPosted: Fri Jul 09, 2004 12:44 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

2035 means MQRC_NOT_AUTHORIZED. Please make sure the user-id has appropriate authorizations on the queue manager.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
EddieA
PostPosted: Fri Jul 09, 2004 1:12 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Turning on authorev makes MQ write a message to SYSTEM.ADMIN.QMGR.EVENT queue whenever a 2035 is generated. That message is not plain text, but you should be able to browse it and see the text parts. That would inlcude the userID that make the event. If there's also a queue name, then it's probably permissions on the queue that are wrong. If no queue name, then it's probably the connection to MQ that failed. You could look in the Event Monitoring manual if you really want to understand the message.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
neocruz
PostPosted: Mon Jul 12, 2004 7:12 am    Post subject: Reply with quote

Acolyte

Joined: 13 Jun 2004
Posts: 54

Thanks for the replies. I guess I wasn't clear. I knew the connect would fail. In Windows, those 2035 events are written to the Qmgr's error logs. An entry will say " User XXX could not connect due to ....." . This is not showing up in the Solaris Qmgr specific logs. Does anyone know why? Other events are showing up.

Rich
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Jul 12, 2004 7:43 am    Post subject: Reply with quote

Jedi Knight

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

You should look in the following directories on UNIX platforms

/var/mqm/qmgrs/<QMGRNAME>/errors
/var/mqm/qmgrs/@SYSTEM/errors
/var/mqm/errors
Back to top
View user's profile Send private message Send e-mail Visit poster's website
neocruz
PostPosted: Wed Jul 21, 2004 12:53 pm    Post subject: Reply with quote

Acolyte

Joined: 13 Jun 2004
Posts: 54

I've looked at all the listed directories and can't find where the Qmgr has logged a msg saying a user is not authorized to access an object. Any other ideas anyone?
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Jul 21, 2004 2:47 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Although I too have occasionally seen 2035 errors in the error logs (always on Windows as well), I don't rely on that. It is not documented anywhere that 2035 errors get written to the error logs, or under what conditions/platforms.

It IS documented that if you turn on Authority Events for the QM, you will see an Event anytime an app does something they are not authorized to.

To me this makes sense. If the app gets a 2035 error, they have been synchronously told the fact. Why log it in the QM's error log? You wouldn't expect to find a 2033 error in your log every time an app failed to find a message in the queue, right?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
neocruz
PostPosted: Tue Jul 27, 2004 8:20 am    Post subject: Reply with quote

Acolyte

Joined: 13 Jun 2004
Posts: 54

I appreciate your reply. When working with my Windows Qmgrs, this is logged all the time. I use it when developers don't know what ID is being used to run the process. There are other ways to find this out but looking in the error logs is the easiest. I'll probably put this dog to bed. Thanks.
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 » General Discussion » 2035 not showing up in AMQERR01.LOG on Solaris
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.