ADSM-L

Re: Trying to copy dsmerror.log through scheduler

2003-05-01 11:22:34
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 17:04:01 +0200
Hi Andy!
> Also, which account is your scheduler running under. Remember, the local
system account can not access network resources (\\myipaddress\incoming).

That was the problem. The scheduler is using the system account.
I retrieved the dsmsched.log through the marvelous -virtualnodename
parameter using my own client.
Looks like the scheduler is just hanging on the client (last lines are file
send messages then it just stops).
I will contact the local user to have him stop/start the scheduler.
Thank you very much for your reply!!!!!
Kindest regards,
Eric van Loon
KLM Royal Dutch Airlines


-----Original Message-----
From: Andrew Raibeck [mailto:storman AT US.IBM DOT COM]
Sent: Thursday, May 01, 2003 16:21
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: Trying to copy dsmerror.log through scheduler


Not sure if this is just a typo, but the quoting within your OBJECTS
syntax, as presented in your note, will not work. You need to use
something like this:

OBJECTS='copy "C:\Program Files\Tivoli\TSM\baclient\dsmerror.log"
\\myipaddress\incoming'

(note the single quotes around the entire COPY command instead of double
quotes.)

Assuming this is not the problem, or you make the suggested change and the
problem persists:

What happens if the scheduler is running in the foreground, i.e.:

1) Stop the scheduler service
2) Run "dsmc schedule"
3) Define the immediate action and let it run

Does it work?

Also, which account is your scheduler running under. Remember, the local
system account can not access network resources (\\myipaddress\incoming).

Regards,

Andy

Andy Raibeck
IBM Software Group
Tivoli Storage Manager Client Development
Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS
Internet e-mail: storman AT us.eyebm DOT com (change eye to i to reply)

The only dumb question is the one that goes unasked.
The command line is your friend.
"Good enough" is the enemy of excellence.




"Loon, E.J. van - SPLXM" <Eric-van.Loon AT KLM DOT COM>
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
05/01/2003 07:00
Please respond to "ADSM: Dist Stor Manager"


        To:     ADSM-L AT VM.MARIST DOT EDU
        cc:
        Subject:        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.
**********************************************************************


**********************************************************************
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>