ADSM-L

Re: Trying to copy dsmerror.log through scheduler

2003-05-01 10:48:32
Subject: Re: Trying to copy dsmerror.log through scheduler
From: "Loon, E.J. van - SPLXM" <Eric-van.Loon AT KLM DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 1 May 2003 16:48:09 +0200
Hi Christian!
Thank you very much for your reply!
This explains things. Since I cannot put a batch file on the client (I
haven't got access to it) I tried issuing the first command (net use)
through the scheduler. This doesn't work either (rc 2).
I'll try other methods.
Thanks!!!
Kindest regards,
Eric van Loon
KLM Royal Dutch Airlines


-----Original Message-----
From: Christian Svensson [mailto:christian AT cristie DOT se]
Sent: Thursday, May 01, 2003 16:25
To: Loon, E.J. van - SPLXM
Subject: Sv: Trying to copy dsmerror.log through scheduler


Hi!
Somehow can I not send a email to ADSM.org via my webmail
So I send it directly to you then.

Hi!
You can not only copy like that. Becuse the account you use is "System
Account" 
And system accoutn does4nt have access to copy over the network.

Solutions 1:
One solution is that to use a command line mail program like postie. I use
that 
program to email over status of my TSM Server everyday. 

Solution 2:
The secand solution is that you create a batch script who runs something
like 
this.
.....................................................
@echo off
Net use \\IP_Address\Share /User:DOMAIN\USER Password
Copy "C:\Program Files\Tivoli\...\dsmerror.log" \\IP_Address\Share
Net use \\IP_Address\Share /delete
.....................................................

In that way can you copy the file without any problem.
But most companys don4t like to use account in a batch script becuse the 
name/password is in clear text. So the best way to do it is to use the first

solution. 

Best Regard
Christian Svensson

> 
> Från: "Loon, E.J. van - SPLXM" <Eric-van.Loon AT KLM DOT COM>
> Datum: 2003/05/01 Thu PM 04:00:59 CEST
> Till: ADSM-L AT VM.MARIST DOT EDU
> Ämne: Trying to copy dsmerror.log through scheduler
> 
> Hi *SM-ers!
> I'm experimenting with copying a client's dsmerror.log to my pc for
problem
> investigation, but it's not working.
> 
> I defined a immediate client action for a specific node with
ACTION=COMMAND
> OBJECTS="copy "C:\Program Files\Tivoli\TSM\baclient\dsmerror.log"
> \\myipaddress\incoming"
> 
> The schedule fails with a returncode 1. This is the message from the
> dsmsched.log on that node:
> 
> Executing Operating System command or script:
>    copy "C:\Program Files\Tivoli\TSM\baclient\dsmerror.log"
> \\myipaddress\incoming
> 01-05-2003 15:06:07 Finished command.  Return code is:
>    1
> 01-05-2003 15:06:07 ANS1512E Scheduled event '@367' failed.  Return code =
> 1.
> 
> The dsmerror.log doesn't say much more either...
> Any ideas why this command doesn't work? Retuncode 1 isn't listed in the
> Windows manual.
> Thanks in advance!
> Kindest regards,
> Eric van Loon
> KLM Royal Dutch Airlines
> 
> 
> **********************************************************************
> For information, services and offers, please visit our web site:
http://www.klm.com. This e-mail and any attachment may contain confidential
and privileged material intended for the addressee only. If you are not the
addressee, you are notified that no part of the e-mail or any attachment may
be disclosed, copied or distributed, and that any other action related to
this e-mail or attachment is strictly prohibited, and may be unlawful. If
you have received this e-mail by error, please notify the sender immediately
by return e-mail, and delete this message. Koninklijke Luchtvaart
Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be
liable for the incorrect or incomplete transmission of this e-mail or any
attachments, nor responsible for any delay in receipt.
> **********************************************************************
> 

Med Vänliga Hälsningar / Best Regards
Christian Svensson
-----------------------------
Cristie Nordic AB
Box 2
SE-131 06 Nacka

eMail : christian AT cristie DOT se
Mobil : +46-(0)70-325 15 77

-------------------------------------------------
WebMail från Tele2 http://www.tele2.se
-------------------------------------------------


**********************************************************************
For information, services and offers, please visit our web site: 
http://www.klm.com. This e-mail and any attachment may contain confidential and 
privileged material intended for the addressee only. If you are not the 
addressee, you are notified that no part of the e-mail or any attachment may be 
disclosed, copied or distributed, and that any other action related to this 
e-mail or attachment is strictly prohibited, and may be unlawful. If you have 
received this e-mail by error, please notify the sender immediately by return 
e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), 
its subsidiaries and/or its employees shall not be liable for the incorrect or 
incomplete transmission of this e-mail or any attachments, nor responsible for 
any delay in receipt.
**********************************************************************

<Prev in Thread] Current Thread [Next in Thread>