Re: Strange Chars on LogParser 2.2 output - EVT --> NAT

From: Michael Bednarek (ROT13-zo_at_zorqanerx.pbz)
Date: 02/25/05


Date: Fri, 25 Feb 2005 23:35:57 +1000

On Fri, 25 Feb 2005 09:51:55 -0300, "KayZer Soze"
<thesuspects@thesuspects.net> wrote in
microsoft.public.win2000.cmdprompt.admin:

>The files on the first time, does not exist, but the script run several
>times and erros is occurring again and again.

I don't quite follow. What errors? In your original post you mentioned
some unexpected content in the body of the receive e-mails. If you
observe errors, please quote the text.

Also: do the commands ever produce the output you expect, or do they
always fail/produce unexpected output? As I wrote before: when they
fail, what's the content of the .log files?

My question aimed at the condition when the file mentioned as -file in
the "postie" command doesn't exist. To be safe, you could start your
script with:
  ECHO This is my error log:>c:\temp\errsysdes.log
for each kind of .log file, and then replace all single redirection
symbols (>) in the "logparser" command with double ones (>>).

>I can try to delete temp files on exit
>
>
>"Michael Bednarek" <ROT13-zo@zorqanerx.pbz> wrote in message
>news:vt1u115ujt1fubpg44s38r9d69c0nfqk7b@4ax.com...
>> On Thu, 24 Feb 2005 15:29:18 -0300, "KayZer Soze"
>> <thesuspects@thesuspects.net> wrote in
>> microsoft.public.win2000.cmdprompt.admin:
>>
>> >I do a script to collect erros in eventviewer and send by mail
>> >When there's no errors, i receve by mail, strange chars:
>>
>> Do the files c:\temp\errsysprod.log, c:\temp\errsysdes.log, etc, exist
>> if no errors occurred? If so, what's their content?
>>
>> [snip]
>>
>>postie -host:%SMTPSERVER% -from:ERROR_SYS_LOG_PROD%DESTDOMAIN -to:borup%DES
>T
>>
>>DOMAIN% -cc:rviana%DESTDOMAIN% -s:%DATE%-%TIME% -file:c:\temp\errsysprod.lo
>g
>> [snip]

-- 
Michael Bednarek   http://mbednarek.com/   "POST NO BILLS"


Relevant Pages

  • Re: SBS Client Application Launcher ERROR Message - Manual Test Results
    ... I ran the command line as you suggested via cut and paste to ... No new log files created on WKS. ... Do diags on WKS NIC and Server NIC ... Are you having any issues with the network ...
    (microsoft.public.windows.server.sbs)
  • Re: Set datasource for template in code w/no user intervention
    ... Peter and Doug, ... The command you suggested, ActiveDocument.MailMerge.OpenDataSource, is the ... as seen in my original post. ...
    (microsoft.public.word.vba.general)
  • Re: Full daily backup with MS backup on W2k3
    ... One more question about the LOG files. ... That line is used to refresh what Windows sees in your tape device. ... If you use the refresh command you'll need ... >> Hello Dajo, ...
    (microsoft.public.windows.server.networking)
  • Re: trying to copy the autonumber from one table to the next
    ... The problem with the original post is more likely that the original poster ... select in the same command. ... > the stored proc to return the ID of the inserted record and then grab it ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Search of Text
    ... Identifying the particular files is likely to be the biggest problem if they ... New to AIX? ... Performed on log files. ... Please provide me the script or command to perform the desired action. ...
    (AIX-L)