And if you take a command prompt and look at the windows\system32 directory do
you actualy have a file called TAIL.EXE in it?

-----Original Message-----
From: Servers Alive Discussion List [mailto:sal...@woodstone.nu] On Behalf Of
Nico Schuijff (GarantiBank International NV)
Sent: Friday, July 30, 2010 5:01 PM
To: Servers Alive Discussion List
Subject: RE: [TP-SPAM] - RE: [SA-list] External check (Errorlevel) doesn't work
with scripts - Character set not allowed

The user is local admin, and SA is also running under that account. When I run
the command C:\WINDOWS\system32\tail.exe from a command line, it works.

If I use CheckErrorLevel.exe (or SA itself) to start only
C:\WINDOWS\system32\tail.exe, it says: "Unknown application", but
C:\WINDOWS\system32\calc.exe does work.



With kind Regards/met vriendelijke groeten ,
Nico Schuijff | Systems and Network Administrator | GarantiBank International
N.V. 
T. +31 (0) 20 5539 879 | F  +31 (0) 20 5539 990 |
e-mail: nschui...@garantibank.eu





-----Original Message-----
From: Servers Alive Discussion List [mailto:sal...@woodstone.nu] On Behalf Of
Mark Perry
Sent: Friday, July 30, 2010 16:01
To: Servers Alive Discussion List
Subject: RE: [TP-SPAM] - RE: [SA-list] External check (Errorlevel) doesn't work
with scripts - Character set not allowed

What account is SA set to run under?
You might want to check that the account that runs the check can also get to
that network location.


-----Original Message-----
From: Servers Alive Discussion List [mailto:sal...@woodstone.nu] On Behalf Of
Nico Schuijff (GarantiBank International NV)
Sent: 30 July 2010 14:00
To: Servers Alive Discussion List
Subject: [TP-SPAM] - RE: [SA-list] External check (Errorlevel) doesn't work with
scripts - Character set not allowed

I just found out that when I use tail.exe from the c:\windows\system32
directory, it doesn't work, I get the error  "'tail.exe' is not recognized as an
internal or external command,operable program or batch file." Even when I
specify the full path.

I have to copy it to another directory (like %programfiles%\salive\external) to
use it. After that it works fine.

Also, when I put the command directly in the check, like: "C:\Program
Files\salive\external\tail.exe"  -20 \\10.104.1.123\reuters\ofsrlog.unx |find /i
"Previous transaction", it doesn't work, I heve to put the command in a
batchfile and run that.

Is this changed from 4.2 or does it have anything to do with Windows 2003 x64?



With kind Regards/met vriendelijke groeten , Nico Schuijff | Systems and Network
Administrator | GarantiBank International N.V. 
T. +31 (0) 20 5539 879 | F  +31 (0) 20 5539 990 |
e-mail: nschui...@garantibank.eu








-----Original Message-----
From: Servers Alive Discussion List [mailto:sal...@woodstone.nu] On Behalf Of
Dirk Bulinckx
Sent: Wednesday, July 28, 2010 19:01
To: Servers Alive Discussion List
Subject: RE: [SA-list] External check (Errorlevel) doesn't work with scripts

There is a test utility (checkerrorlevel) to see if the error level is indeed
correctly returned or not...does that show the correct errorlevel?
Putting a PAUSE in the script often helps to see why/were it's giving the
problem.


dirk

-----Original Message-----
From: Servers Alive Discussion List [mailto:sal...@woodstone.nu] On Behalf Of
Nico Schuijff (GarantiBank International NV)
Sent: Wednesday, July 28, 2010 4:31 PM
To: Servers Alive Discussion List
Subject: [SA-list] External check (Errorlevel) doesn't work with scripts

Hi Dirk, 

I recently upgraded SA from 4.1 to 6.2.2279, and now I have trouble with
batch-scripts which return an errorlevel.

The batch worked flawlessly in 4.1 on Windows 2000 and Windows 2003 32bit. I'm
now using Windows 2003 64bit btw.

I've also tried to include the full paths to tail.exe and find.exe, but it
didn't help

The script is:

@echo off
c:\WINDOWS\system32\tail.exe -10 \\computername\c$\dmclient\log\dmclient.log |
c:\WINDOWS\system32\find.exe /i /c "Sending connection Keep Alives [count=20" &&
exit 0 c:\WINDOWS\system32\tail.exe -10
\\computername\c$\dmclient\log\dmclient.log | c:\WINDOWS\system32\find.exe /i /c
"com.drkw.dm.api.clients.fx.FXClient.onConnectionOK: Connected to Digital
Markets." && exit 0 c:\WINDOWS\system32\tail.exe -200
\\computername\c$\dmclient\log\dmclient.log | c:\WINDOWS\system32\find.exe /i /c
"[ERROR" >counterr.txt

for /f "usebackq delims=" %%g in ("counterr.txt") DO set errorlevel1=%%g
:setexit exit %errorlevel1%


Kind regards,

Nico Schuijff


The information contained in this email and attachments, if any, is confidential
and may be subject to legal privilege. This email and its attachments are only
intended for the individual(s) or entity(entities) to whom they are addressed.
If you are not the intended recipient please notify the sender immediately. Any
unauthorized dissemination, duplication, publication to third parties or other
use of the contents of this email and its attachments is forbidden. In the event
of incomplete or incorrect transmission please return the email to the sender.
Thank you.

GarantiBank International N.V. is a public limited company established in
Amsterdam and registered with the Trade Register of the Chamber of Commerce and
Industry under number 33225009.


This message has been scanned for malware by GarantiBank International

To unsubscribe send a message with UNSUBSCRIBE in the subject line to
salive@woodstone.nu If you use auto-responders (like out-of-the-office
messages), make sure that they are not sent to the list nor to individual
members.  Doing so will cause you to be automatically removed from the list.

To unsubscribe send a message with UNSUBSCRIBE in the subject line to
salive@woodstone.nu If you use auto-responders (like out-of-the-office
messages), make sure that they are not sent to the list nor to individual
members.  Doing so will cause you to be automatically removed from the list.



The information contained in this email and attachments, if any, is confidential
and may be subject to legal privilege. This email and its attachments are only
intended for the individual(s) or entity(entities) to whom they are addressed.
If you are not the intended recipient please notify the sender immediately. Any
unauthorized dissemination, duplication, publication to third parties or other
use of the contents of this email and its attachments is forbidden. In the event
of incomplete or incorrect transmission please return the email to the sender.
Thank you.

GarantiBank International N.V. is a public limited company established in
Amsterdam and registered with the Trade Register of the Chamber of Commerce and
Industry under number 33225009.

To unsubscribe send a message with UNSUBSCRIBE in the subject line to
salive@woodstone.nu If you use auto-responders (like out-of-the-office
messages), make sure that they are not sent to the list nor to individual
members.  Doing so will cause you to be automatically removed from the list.
********************************************************************************
**************

See the latest news on our blog www.blog.telephoneticsVIP.co.ukand sign up for
our forum 
www.forum.telephoneticsVIP.co.uk for discussion and downloads.

Telephonetics VIP is a limited company registered in England and Wales.
Registered number: 2831215. 
Registered office: 7th Floor, Hamilton House, 111 Marlowes, Hemel Hempstead,
Hertfordshire, HP1 1BB. 
The disclaimer is available at:
http://www.telephoneticsvip.co.uk/telephoneticsvip/emaildisclaimer.jsp , 
applies to this message and any associated files.
********************************************************************************
**************

To unsubscribe send a message with UNSUBSCRIBE in the subject line to
salive@woodstone.nu
If you use auto-responders (like out-of-the-office messages), make sure that
they are not sent to the list nor to individual members.  Doing so will cause
you to be automatically removed from the list.



 


The information contained in this email and attachments, if any, is confidential
and may be subject to legal privilege. This email and its attachments are only
intended for the individual(s) or entity(entities) to whom they are addressed.
If you are not the intended recipient please notify the sender immediately. Any
unauthorized dissemination, duplication, publication to third parties or other
use of the contents of this email and its attachments is forbidden. In the event
of incomplete or incorrect transmission please return the email to the sender.
Thank you.

GarantiBank International N.V. is a public limited company established in
Amsterdam and registered with the Trade Register of the Chamber of Commerce and
Industry under number 33225009.

To unsubscribe send a message with UNSUBSCRIBE in the subject line to
salive@woodstone.nu
If you use auto-responders (like out-of-the-office messages), make sure that
they are not sent to the list nor to individual members.  Doing so will cause
you to be automatically removed from the list.

To unsubscribe send a message with UNSUBSCRIBE in the subject line to 
salive@woodstone.nu
If you use auto-responders (like out-of-the-office messages), make sure that 
they are not sent to the list nor to individual members.  Doing so will cause 
you to be automatically removed from the list.

Reply via email to