| Author | 
		  Message
		 | 
		
		  | Twilight | 
		  
		    
			  
				 Posted: Mon Jul 06, 2009 11:12 am    Post subject: BlockIP2 error | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vol | 
		  
		    
			  
				 Posted: Mon Jul 06, 2009 11:18 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Twilight | 
		  
		    
			  
				 Posted: Mon Jul 06, 2009 11:43 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Twilight | 
		  
		    
			  
				 Posted: Tue Jul 07, 2009 10:33 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Twilight | 
		  
		    
			  
				 Posted: Wed Jul 08, 2009 9:51 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |