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 » User Exits » BlockIP2 error

Post new topic  Reply to topic
 BlockIP2 error « View previous topic :: View next topic » 
Author Message
Twilight
PostPosted: Mon Jul 06, 2009 11:12 am    Post subject: BlockIP2 error Reply with quote

Apprentice

Joined: 04 Aug 2004
Posts: 49

I just copied a exit from BlockIP website for AIX MQ6.0 version and tested but got a following error.
Any idea ? should I recompile it ?

-------------------------------------------------------------------------------
07/06/09 14:55:17 - Process(802900.1) User(mqm) Program(amqcrsta_nd)
AMQ9536: Channel ended by an exit.

EXPLANATION:
Channel program 'DEV_SC_CLIENT_01' was ended by exit
'/var/mqm/exits64/BlockIP2(BlockExit)'.
ACTION:
None.
----- amqrexta.c : 1772 -------------------------------------------------------
07/06/09 14:55:17 - Process(802900.1) User(mqm) Program(amqcrsta_nd)
AMQ9999: Channel program ended abnormally.

EXPLANATION:
Channel program 'DEV_SC_CLIENT_01' ended abnormally.
ACTION:
Look at previous error messages for channel program 'DEV_SC_CLIENT_01' in the
error files to determine the cause of the failure.
----- amqrmrsa.c : 468 --------------------------------------------------------
Back to top
View user's profile Send private message
vol
PostPosted: Mon Jul 06, 2009 11:18 am    Post subject: Reply with quote

Acolyte

Joined: 01 Feb 2009
Posts: 69

The error would have been different if the exit could not be loaded, so you do not need to recompile it.

I expect that you have not set up the support files for the exit properly, e.g. location, permissions, content.
Back to top
View user's profile Send private message
Twilight
PostPosted: Mon Jul 06, 2009 11:43 am    Post subject: Reply with quote

Apprentice

Joined: 04 Aug 2004
Posts: 49

I gave a permission to max (777) just in case.

-rwxrwxrwx 1 mqm mqm 96337 Jul 2 17:48 BlockIP2
-rwxrwxrwx 1 mqm mqm 62 Jul 2 17:17 rulefile.txt


Channel def is below:
AMQ8414: Display Channel details.
CHANNEL(DEV_SC_CLIENT_01) CHLTYPE(SVRCONN)
ALTDATE(2009-07-06) ALTTIME(15.33.59)
COMPHDR(NONE) COMPMSG(NONE)
DESCR(IBM MQ MONITOR TOOL USE) HBINT(300)
KAINT(AUTO) MAXMSGL(4194304)
MCAUSER( ) MONCHL(OFF)
RCVDATA( ) RCVEXIT( )
SCYDATA(FN=/var/mqm/exits/rulefile.txt;) <= no quote at our mq rule
SCYEXIT(/var/mqm/exits64/BlockIP2(BlockExit)) <== " "

and rulefile.txt is as below:

Patterns=10.1.*;
Userids=*;
BlockMqmUsers=Y;
_________________
WMQ/WMQI/WBI Consultant
Toronto, Canada
Back to top
View user's profile Send private message
Twilight
PostPosted: Tue Jul 07, 2009 10:33 am    Post subject: Reply with quote

Apprentice

Joined: 04 Aug 2004
Posts: 49

I found a log that complain version.
Is this just warning or it is an issue here ?
Pattern exist but rejected.

009-07-07|14:30:32|Warning: It seems like your queue manager needs fix 6.0.2.1 or later
2009-07-07|14:30:32|Connection refused for pattern [10.16.88.*;] ChannelName=[DEV_SC_CLIENT_01] user=[steve.cho] ConnName=[0.0.0.0]
2009-07-07|14:30:32|Channel closed [DEV_SC_CLIENT_01] Connection Name [0.0.0.0]
_________________
WMQ/WMQI/WBI Consultant
Toronto, Canada
Back to top
View user's profile Send private message
Twilight
PostPosted: Wed Jul 08, 2009 9:51 am    Post subject: Reply with quote

Apprentice

Joined: 04 Aug 2004
Posts: 49

OK. I figured out a reason as below.
Our version MQ V6.0.2.0 have a bug. I have to apply FP on this issue.

Resources
IY86343: ConnectionName passed to exit or CONNAME
displayed in runmqsc is 0.0.0.0
Please be aware that some Fix Pack levels of WebSphere
MQ do not correctly pass the IP address to the channel exit.
If you are using an exit to filter by IP address, it may be
necessary to apply the latest Fix Pack or obtain a temporary
fix.
http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg1IY86343
_________________
WMQ/WMQI/WBI Consultant
Toronto, Canada
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 » User Exits » BlockIP2 error
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.