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 » IBM MQ Security » BlockIP2 testing error logs not getting written

Post new topic  Reply to topic
 BlockIP2 testing error logs not getting written « View previous topic :: View next topic » 
Author Message
pardhunani143
PostPosted: Wed Nov 13, 2013 6:44 am    Post subject: BlockIP2 testing error logs not getting written Reply with quote

Novice

Joined: 23 Jul 2013
Posts: 22

I am running MQ V7.1.0.3 on Windows 7 KVM and configured BlockIP2 v2.93 in exits directory
the following is my blockIP2 configuration file

LogDrive=C;
LogPath=C:\temp;
LogFileName=BlockIP.log;
CON=*;;BLOCK;

I am trying to run a java application conneting to queue manager using Server connection channel and the SVRCONN is configured to invoke BLockIP2 exit.

After execution of program i am finding MQRC 2009 error on my java console logs however i donot see any BlockIP logs getting generated .

Please help me to resolve the issue
Back to top
View user's profile Send private message
rammer
PostPosted: Wed Nov 13, 2013 7:45 am    Post subject: Re: BlockIP2 testing error logs not getting written Reply with quote

Partisan

Joined: 02 May 2002
Posts: 359
Location: England

pardhunani143 wrote:
I
LogDrive=C;
LogPath=C:\temp;
LogFileName=BlockIP.log;
CON=*;;BLOCK;



does LogDrive=C; need to be LogDrive=C:;

I dont use it on Windows so only a guess..
Back to top
View user's profile Send private message
pardhunani143
PostPosted: Wed Nov 13, 2013 8:14 pm    Post subject: Reply with quote

Novice

Joined: 23 Jul 2013
Posts: 22

@rammer

I tried by changing the property of LogDrive as per your suggestions but no luck

Code:
 LogDrive=C:;
LogPath=C:\temp;
LogFileName=BlockIP.log;
CON=*;;BLOCK;


BlockIP logs were not getting writeen
Back to top
View user's profile Send private message
pardhunani143
PostPosted: Wed Nov 13, 2013 8:44 pm    Post subject: Reply with quote

Novice

Joined: 23 Jul 2013
Posts: 22

Testcase-2:

this is my BlockIP2 configuration file

Code:
CON=*;;BLOCK;


When i run the java application i received MQRC2009 error which is expected as per the above property but i couldnot see the Log file generated in the default location on

Quote:
C:\Program Files (x86)\IBM\WebSphere MQ\exits\Installation1


As per the BlockIP2 manual the default path is

Code:
LogPath=<spec>;
The path where the log file is placed.
Default is /var/mqm/exits for UNIX. and
<install path>\exits for windows.

Please advise ...
Back to top
View user's profile Send private message
exerk
PostPosted: Thu Nov 14, 2013 1:38 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

pardhunani143 wrote:
@rammer

I tried by changing the property of LogDrive as per your suggestions but no luck

Code:
 LogDrive=C:;
LogPath=C:\temp;
LogFileName=BlockIP.log;
CON=*;;BLOCK;


BlockIP logs were not getting writeen

Depending on your Windows installation and its configuration, Windows may not allow files to be written to the root. Create a C:\Temp directory, use that as a target location and try again.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
pardhunani143
PostPosted: Thu Nov 14, 2013 10:54 pm    Post subject: Reply with quote

Novice

Joined: 23 Jul 2013
Posts: 22

I tried creating directory called Temp in C directory and run the java applications but still the log is not getting written
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Nov 15, 2013 3:13 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

pardhunani143 wrote:
I tried creating directory called Temp in C directory and run the java applications but still the log is not getting written

Please post the dump of your channel attributes...
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
pardhunani143
PostPosted: Fri Nov 15, 2013 11:17 pm    Post subject: Reply with quote

Novice

Joined: 23 Jul 2013
Posts: 22

C:\Windows\system32>runmqsc QMTEST
5724-H72 (C) Copyright IBM Corp. 1994, 2009. ALL RIGHTS RESERVED.
Starting MQSC for queue manager QMTEST.


Code:
dis chl(TEST.SVRCONN)
     1 : dis chl(TEST.SVRCONN)
AMQ8414: Display Channel details.
   CHANNEL(TEST.SVRCONN)                   CHLTYPE(SVRCONN)
   ALTDATE(2013-11-14)                     ALTTIME(02.57.00)
   COMPHDR(NONE)                           COMPMSG(NONE)
   DESCR( )                                HBINT(300)
   KAINT(AUTO)                             MAXINST(999999999)
   MAXINSTC(999999999)                     MAXMSGL(4194304)
   MCAUSER( )                              MONCHL(QMGR)
   RCVDATA( )                              RCVEXIT( )
   SCYDATA(FN=c:\temp\Blockspec.txt;)      SCYEXIT(BlockIP2(BlockExit))
   SENDDATA( )                             SENDEXIT( )
   SHARECNV(10)                            SSLCAUTH(REQUIRED)
   SSLCIPH( )                              SSLPEER( )
   TRPTYPE(TCP)
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Nov 16, 2013 3:12 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

your Logdrive and Logpath are incorrect.
Either keep only Logpath or remove the logdrive information from Logpath....
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
pardhunani143
PostPosted: Sun Nov 17, 2013 7:44 am    Post subject: Reply with quote

Novice

Joined: 23 Jul 2013
Posts: 22

Code:




LogPath=C:\temp;
LogFileName=BlockIP.log;
CON=*;;BLOCK;




I changed the BlockIP2 configuration file but still the logs are not getting written. Please advise .
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Nov 17, 2013 9:12 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

pardhunani143 wrote:
Code:




LogPath=C:\temp;
LogFileName=BlockIP.log;
CON=*;;BLOCK;




I changed the BlockIP2 configuration file but still the logs are not getting written. Please advise .


Try:
Code:

LogPath=C:\temp\;
LogFileName=BlockIP.log;
CON=*;;BLOCK;

and note the \ at the end of temp...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
pardhunani143
PostPosted: Sun Nov 17, 2013 10:05 pm    Post subject: Reply with quote

Novice

Joined: 23 Jul 2013
Posts: 22

No luck

Code:

LogPath=C:\temp\;

LogFileName=BlockIP.log;

CON=*;;BLOCK;
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 » IBM MQ Security » BlockIP2 testing error logs not getting written
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.