| Author | 
		  Message
		 | 
		
		  | ronneby | 
		  
		    
			  
				 Posted: Tue Dec 19, 2006 4:55 pm    Post subject: BlockIP2 v2.55 on HP-UX | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 19 Dec 2006 Posts: 2
  
  | 
		  
		    
			  
				Hi
 
 
  Can you help me how to install BlockIP2 v2.55 on HP-UX for MQ 6.0.2.0
 
I want the commands how to install it. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Wed Dec 27, 2006 12:28 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				Have you tried the readme with the product? Or searching this forum?
 
 
The search I think will be particually valuable for v6 _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | rkford11 | 
		  
		    
			  
				 Posted: Tue Oct 09, 2007 1:31 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Partisan
 
 Joined: 06 Jun 2004 Posts: 316
  
  | 
		  
		    
			  
				
   
	| Vitor wrote: | 
   
  
	Have you tried the readme with the product? Or searching this forum?
 
 
The search I think will be particually valuable for v6 | 
   
 
 
 
I have tried the command specified in read me file, but it throws me the following error.
 
 
$  make -f blockip.mak
 
Make: Don't know how to make BlockIP2.c.  Stop.
 
 
Please guide me thru this.
 
 
Thanks | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Tue Oct 09, 2007 6:27 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				Have you contacted the author of the support pack?
 
 
Cat 2 support packs are only supported by the individual author. _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Nigelg | 
		  
		    
			  
				 Posted: Tue Oct 09, 2007 9:42 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 02 Aug 2004 Posts: 1046
  
  | 
		  
		    
			  
				
   
	| Quote: | 
   
  
	| Make: Don't know how to make BlockIP2.c. Stop | 
   
 
 
 
That looks pretty clear. The rule in the makefile specifies how to build an object file from a source file, in this case BlockIP2.c. The error msg means that this source file cannot be found. _________________ MQSeries.net helps those who help themselves.. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | oz1ccg | 
		  
		    
			  
				 Posted: Wed Oct 10, 2007 3:29 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Yatiri
 
 Joined: 10 Feb 2002 Posts: 628 Location: Denmark 
  | 
		  
		    
			  
				Hi,
 
 
BlockIP2 is not specially ported to HP-UX. 
 
But you might be able to get it to run there. I haven't got any HP-HW to test it on. You have the source code for BlockIP2.
 
 
And BlockIP2 is NOT a SupportPac!  You might have mixed it up with SupportPac MS0R, but that's another story.
 
 
SupportPac is a registered trademark from IBM. 
 
 
-- Lock it or Lose it --    _________________ Regards, Jørgen
 
Home of BlockIP2, the last free MQ Security exit  ver. 3.00
 
Cert. on WMQ, WBIMB, SWIFT. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Wed Oct 10, 2007 4:09 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				I'd figured that MS0R was based on BlockIP v2.
 
 
Or the other way around.
 
 
I guess I was wrong. _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | markt | 
		  
		    
			  
				 Posted: Wed Oct 10, 2007 7:22 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Knight
 
 Joined: 14 May 2002 Posts: 512
  
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | rkford11 | 
		  
		    
			  
				 Posted: Wed Oct 10, 2007 7:50 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Partisan
 
 Joined: 06 Jun 2004 Posts: 316
  
  | 
		  
		    
			  
				Thanks for your replies. After I copied the source file BlockIP2.c and exectued the 'make' command it generated the BlockIP2 and BlockIP2_r files which I copied to var/mqm/exits location.
 
After executing the channel change command 
 
 
ALTER CHL(test) CHLTYPE(SVRCONN) SCYDATA('172.20.21.322') scyexit('BLOCKIP2')
 
 
still qmgr  does not allow me to establish connection from 172.20.21.322.
 
 
please guide me thru this.
 
 
Thanks | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | oz1ccg | 
		  
		    
			  
				 Posted: Wed Oct 10, 2007 3:57 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Yatiri
 
 Joined: 10 Feb 2002 Posts: 628 Location: Denmark 
  | 
		  
		    
			  
				I expect that you got a file like BLOCKIP2xxx.LOG located in /var/mqm/exits
 
 
I would expect that you get some hints from there, or have a look in AMQERR01.LOG if it's MQ that refuses to load the exit.
 
 
-- lock it or Lose it --    _________________ Regards, Jørgen
 
Home of BlockIP2, the last free MQ Security exit  ver. 3.00
 
Cert. on WMQ, WBIMB, SWIFT. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | rkford11 | 
		  
		    
			  
				 Posted: Thu Oct 11, 2007 11:43 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Partisan
 
 Joined: 06 Jun 2004 Posts: 316
  
  | 
		  
		    
			  
				
   
	| oz1ccg wrote: | 
   
  
	I expect that you got a file like BLOCKIP2xxx.LOG located in /var/mqm/exits
 
 
I would expect that you get some hints from there, or have a look in AMQERR01.LOG if it's MQ that refuses to load the exit.
 
 
-- lock it or Lose it --    | 
   
 
 
 
Thanks for the reply and after checking AMQERR01.log i found this
 
 
EXPLANATION:
 
Channel program 'test' ended because user exit 'BLOCKIP2' is not valid.
 
ACTION:
 
Ensure that the user exit is specified correctly in the channel definition, and
 
that the user exit program is correct and available.
 
----- amqrexta.c : 5284 -------------------------------------------------------
 
10/11/07 11:52:09 - Process(25803.262) User(mqm) Program(amqrmppa_nd)
 
AMQ9999: Channel program ended abnormally.
 
 
Then i recompiled and it throws me these warnings
 
 
$ make -f blockip.mak
 
        c89 -D_HPUX_SOURCE +DAportable -c +e +z /opt/mqm/inc BlockIP2.c
 
cc: warning 901: unknown option: `+DAportable': use +help for online documentation.
 
"BlockIP2.c", line 2450: warning #2550-D: variable "p" was set but never used
 
      char *p;
 
            ^
 
 
"BlockIP2.c", line 2550: warning #2550-D: variable "p" was set but never used
 
      char *p;
 
            ^
 
 
"BlockIP2.c", line 3020: warning #2181-D: argument is incompatible with
 
          corresponding format string conversion
 
          sprintf(pWS->szTmpBufff,"Invalid MCA Specification was spefified. From shall be positive (1 thru %ld)",len-1);
 
                                                                                                                 ^
 
 
"BlockIP2.c", line 3046: warning #2181-D: argument is incompatible with
 
          corresponding format string conversion
 
                  sprintf(pWS->szTmpBufff,"Specified MCA=%s length is too long, max %ld",key,len);
 
                                                                                             ^
 
 
"BlockIP2.c", line 3744: warning #2181-D: argument is incompatible with
 
          corresponding format string conversion
 
                                                  i,ExitReason); /* 2.57 */
 
                                                  ^
 
 
"BlockIP2.c", line 4774: warning #2550-D: variable "bFound" was set but never
 
          used
 
      int  bFound;
 
           ^
 
 
        ld -b -z +b/opt/mqm/lib:/usr/lib -L/opt/mqm/lib -o BlockIP2 BlockIP2.o -lmqm -lmqmzf
 
        ld -b -z +b/opt/mqm/lib:/usr/lib -L/opt/mqm/lib -o BlockIP2_r BlockIP2.o -lmqm_r -lmqmzf_r
 
 
Thanks | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |