Gale L. Dillehay/IT/SEARS is out of the office.
I will be out of the office starting 03/22/2004 and will not return until 03/29/2004. I will respond to your message when I return. Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Question on Listeners
Folks, In what all scenarios, do listeners go down? How do you control the listeners from not going down? Is there some mechanism available at the Sender end by which you can control the listener from going down (in the SDR/RCVR mode)? We have a conectivity with a BackEnd System which reports of its listeners being down on most occasions (atleast whenever I need them to be up). Guyz, Please advice me on this. Thanks in advance. Cheers, Bharath This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited. Visit Us at http://www.polaris.co.in
Linear Log cleanup
Title: Linear Log cleanup Fellows So far my understanding and as well as observation is that, in the logs MQ writes two entries every time one with AMQ7467 for MQ manger restart followed by another one with AMQ7468 for Media recovery. And all most all the time, AMQ7467 log number will be HIGHER or EQUAL than AMQ7468 log number. Hence even the VB Script that I developed (and circulated today in the MQForum) only looks at AMQ7468 entries and cleans up all the logs before that sequence number. But today in one of our production MQ logs, I have noticed the following - where AMQ7467 log number is LESS THAN the AMQ7468. Both entries are posted at the same time. Does it mean my understanding is wrong and if so, do I need to scan AMQ7467 messages as well and then choose the lesser number of the both. Is that's how the other PERL and _javascript_s are handling the log cleanup. According to the below, if I run my VB script it will delete 32131 log as well. Any other explanations ?? Thanks in advance. Rao --- 22/03/2004 17:17:18 AMQ7467: The oldest log file required to start queue manager X is S0032131.LOG. EXPLANATION: The log file S0032131.LOG contains the oldest log record required to restart the queue manager. Log records older than this may be required for media recovery. ACTION: You can move log files older than S0032131.LOG to an archive medium to release space in the log directory. If you move any of the log files required to recreate objects from their media images, you will have to restore them to recreate the objects. --- 22/03/2004 17:17:18 AMQ7468: The oldest log file required to perform media recovery of queue manager is S0032132.LOG. EXPLANATION: The log file S0032132.LOG contains the oldest log record required to recreate any of the objects from their media images. Any log files prior to this will not be accessed by media recovery operations. ACTION: You can move log files older than S0032132.LOG to an archive medium to release space in the log directory. - This communication is confidential and may contain privileged material. If you are not the intended recipient you must not use, disclose, copy or retain it. If you have received it in error please immediately notify me by return email and delete the emails.Thank you.
Re: Many Client connections - how many svrconn channels?
Jxrgen, I need to make some changes to BlockIP2 for logging of information, the logs grow way to big on my systems and I need then stamped by date: ie BlockLog_2004_03_22.log I also need to be able to specify a log directory, so I was going to add the following commands: # on NT systems LogDirecty=\qml\log LogDrive=c: LogFormat=NameDate LogBaseName=BlockLog # on Linux systems LogDirecty=/var/spool/blockip2/logs LogFormat=NameDate LogBaseName=BlockLog On the linux the "LogDrive" would be ignored and just the LogDirectory would be applicable using "/"s If I make the changes, are you happy to add them into your code for the benefit of the community as a whole, or would you prefer me to start my own stream of BlockIP ??? Sid Young QML Pathology Brisbane -Original Message- From: Jxrgen Pedersen [mailto:[EMAIL PROTECTED] Sent: Monday, 22 March 2004 9:44 AM To: [EMAIL PROTECTED] Subject: Re: Many Client connections - how many svrconn channels? I just updated BlockIP2 so it might help "Ruzi R" with some of the security challanges. It's quite simple what can be done, su}ntax of the new CON parameter: CON=;[;MCA={*|userid}]; and an example of parameter file # # Simple filter implemented in BlockIP2 version 1.22 # # 1. stop all connection attempts from mqm (NoBody is an undefined or blocked userid). CON=*;mqm;MCA=NoBody; # # 2. Stop users starting with ww14 from 10.31.* Might be a foregin network CON=10.31.*;ww14*;MCA=NoBody; # # 3. Allow master03 wjen comming from 172.20.10.31 CON=172.20.10.31;master03; # # 4. Allow spider when comming from 10.*, and set MCAUSER to master04 CON=10.*;spider;MCA=master04; # # 5. Block all other attempts. CON=*;*;MCA=NoBody; # EOF Just my $0.02 ;o) Kind regards Jxrgen www.mrmq.dk the author of BlockIP _ Fe alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: Many Client connections - how many svrconn channels?
I just updated BlockIP2 so it might help "Ruzi R" with some of the security challanges. It's quite simple what can be done, su}ntax of the new CON parameter: CON=;[;MCA={*|userid}]; and an example of parameter file # # Simple filter implemented in BlockIP2 version 1.22 # # 1. stop all connection attempts from mqm (NoBody is an undefined or blocked userid). CON=*;mqm;MCA=NoBody; # # 2. Stop users starting with ww14 from 10.31.* Might be a foregin network CON=10.31.*;ww14*;MCA=NoBody; # # 3. Allow master03 wjen comming from 172.20.10.31 CON=172.20.10.31;master03; # # 4. Allow spider when comming from 10.*, and set MCAUSER to master04 CON=10.*;spider;MCA=master04; # # 5. Block all other attempts. CON=*;*;MCA=NoBody; # EOF Just my $0.02 ;o) Kind regards Jxrgen www.mrmq.dk the author of BlockIP _ Fe alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: Dead Letter Queue messages not appearing?
Have you checked the dead-letter queue on KEWILL queue manager. Cheers Rao -Original Message- From: Michelle Russell [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 11:36 PM To: [EMAIL PROTECTED] Subject: Dead Letter Queue messages not appearing? Hi all, I have a situation whereby an external company using an MQClient are trying to send messages to our Mainframe MQ Manager (V2.1) and the messages when being sent are not arriving on the destination queue or the Dead letter Queue. In our Queue Manager channel initiator we get the message: +CSQX548E http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive This communication is confidential and may contain privileged material. If you are not the intended recipient you must not use, disclose, copy or retain it. If you have received it in error please immediately notify me by return email and delete the emails. Thank you. Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Re: Managing linear logs with MQ5.3 on Windows
Hi all I have experienced the same problem for the past few weeks in my current client site. PERL and JAVA have their own problems and I can't locate MS62 zip file for Windows version so on.. So on.. I don't understand why IBM doesn't provide a support pack that is native to windows platform ?? My guess as good as anyone - so I will leave it here. But anyway, I have developed a VB Script which does exactly the same as any perl/java script and put in place. If anybody wants to use it - here it is (attached as a txt file and just rename it to .VBS). The principle is same, reads the AMQERR01.LOG, finds out the last log number for media recovery and then deletes all previous ones. Feel free to modify to suit your needs. Cheers Rao Ps: Disclaimer - even though it is tested thoroughly, no guarantees are given. -Original Message- From: Luc-Michel Demey [mailto:[EMAIL PROTECTED] Sent: 20 March 2004 11:54 AM To: [EMAIL PROTECTED] Subject: Managing linear logs with MQ5.3 on Windows Hi all, I am trying to find if any of the available support packs are suitable for managing linear logs on a MQ 5.3 Windows NT box. I have done a little testing, most of them rely on the qm.ini file not more present above 5.0. Even with a "fake" ini file on the right place, I was not able to use : - MS0L : Java exception - MS62 : Perl problems In both cases (Java & Perl), I suspect NT 4 related problems. Any ideas / experiences to share ? TIA, LMD. -- Luc-Michel Demey - Freelance EAI Consultant Paris / France Tel. : +33 6 08 755 655 http://consulting.demey.org/ - lmd at demey dot org Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive This communication is confidential and may contain privileged material. If you are not the intended recipient you must not use, disclose, copy or retain it. If you have received it in error please immediately notify me by return email and delete the emails. Thank you. '-- ' MQLog.VBS - clean up facility for MQ LINER LOGs ' Author: Rao Adiraju Date: 2004-03-19 ' Tested for MQ V5.3 CSD06 ' Arguments are: ' Folder/Directory name where AMQERR01.LOG resides ' Folder/Directory name where Active logs are kept ' Delete flag - value Y or anything else. If "Y" then ' log files are physcially removed ' If anything else, just a report is produced (no ' deletion of files takes place) ' It is recommended to test it first wihtout DELETE FLAG and make ' ' sure every thing is correct as expected and then rerun is with Y (no ' quotes are required ' ' an output file - MQLog.Out - is created in the "active" directory '-- Dim Fsys Dim Instream Dim CutOffFileName Dim FileName Dim Tline, CsrPos Dim ErrFolder Dim LogFolder Dim ErrorLogFile on error resume next set Args = Wscript.Arguments If args.count < 2 then wscript.echo "no input parameters given" Wscript.quit(1) end if ErrFolder = args(0) Logfolder = args(1) If args.count = 3 then DelFlag = args(2) else DelFlag = " " end if set Fsys = Createobject("Scripting.FileSystemObject") if err then Wscript.echo "Error Creating Object" Wscript.quit(1) end if ' ... check log folder exists or not If NOT Fsys.FolderExists(Logfolder) then Wscript.echo "Logfolder " & Logfolder & " does not exist" Wscript.quit(1) end if ' ... ' ... create output print file to capture the outcome ' ... Set OutStream = Fsys.CreateTextfile(Logfolder & "\MQLog.out") ' Print("Job started at " & DATE() & " " & TIME() ) Print(" ") If NOT Fsys.FolderExists(ErrFolder ) then Print("ErrFolder " & ErrFolder & " does not exist") Wscript.quit(1) end if ErrorLogFile = ErrFolder & "\AMQERR01.LOG" If NOT Fsys.fileExists(ErrorLogFile) then Print("ErrorLogfile " & ErrorLogFile & " does not exist") Wscript.quit(1) else print("ErrorLogFile " & ErrorLogFile) end if print("Logfolder " & Logfolder) if DelFlag = "Y" then print("DelFlag:" & Delflag & ":Files will be deleted") else print("DelFlag:" & Delfalg & ":Files ARE NOT be deleted") end if Print(" ") Set Instream = FSys.OpenTextFile(ErrorLogFile, 1, False, False) if err then Print("Error file " & ErrorLogFile & " OPEN failed with error code " & err) Wscript.quit(1) end if CutOffFileName = " " While Instream.AtEndOfStream = False Tline = Instream.ReadLine If (InStr(1, Tline, "AMQ7468")) > 0 Then Tline = Instream.ReadLine CsrPos = InStr(1, Tline, ".LOG") CsrPos = CsrPos - 8 CutOffFileName = Mid(Tline, CsrPos, 8) End If Wend If CutOffFileName = " " Then print("No AMQ7468 entry found in the given AMQERR01.LOG file") Wscript.quit(2)