ADSM-L

Re: scheduler fails on tdp command scripts (still drives me nuts )

2002-11-21 08:40:12
Subject: Re: scheduler fails on tdp command scripts (still drives me nuts )
From: Koen Willems <koen_willems AT HOTMAIL DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 21 Nov 2002 13:35:07 +0000
Dear Del,

the command scipt runs.. via DOS.

The scheduler does not run the script.

I see some brief communcation with the tsm server:

My ac logs says:

11/21/2002 14:03:38   ANR0406I Session 1214 started for node SERVER03_ORACLE
                      (WinNT) (Tcp/Ip 172.16.1.249(1146)).
11/21/2002 14:03:38   ANR0403I Session 1214 ended for node SERVER03_ORACLE
                      (WinNT).

The my schedlog say:

11/21/2002 14:25:58
Executing Operating System command or script:
  "c:\program files\tivoli\tsm\agentoba\orcschedppim.cmd"
11/21/2002 14:25:58 Finished command.  Return code is: 3
11/21/2002 14:25:58 ANS1909E The scheduled command failed.
11/21/2002 14:25:58 ANS1512E Scheduled event 'ORACLE_0130' failed.  Return
code = 3.
11/21/2002 14:25:58 Sending results for scheduled event 'ORACLE_0130'.
11/21/2002 14:25:58 Results sent to server for scheduled event
'ORACLE_0130'.

11/21/2002 14:25:58 Querying server for next scheduled event.
11/21/2002 14:25:58 Node Name: SERVER010_ORACLE
11/21/2002 14:25:58 Session established with server BUS_SERVER1: Windows
11/21/2002 14:25:58   Server Version 5, Release 1, Level 5.0
11/21/2002 14:25:58   Server date/time: 11/21/2002 14:25:58  Last access:
11/21/2002 14:25:58

11/21/2002 14:25:58 --- SCHEDULEREC QUERY BEGIN
11/21/2002 14:25:58 --- SCHEDULEREC QUERY END
11/21/2002 14:25:58 Next operation scheduled:
11/21/2002 14:25:58
------------------------------------------------------------
11/21/2002 14:25:58 Schedule Name:         ORACLE_0130
11/21/2002 14:25:58 Action:                Command
11/21/2002 14:25:58 Objects:               "c:\program
files\tivoli\tsm\agentoba\orcschedppim.cmd"
11/21/2002 14:25:58 Options:
11/21/2002 14:25:58 Server Window Start:   14:25:00 on 11/22/2002
11/21/2002 14:25:58
------------------------------------------------------------
11/21/2002 14:25:58 Schedule will be refreshed in 6 hours.

my errolog says:

11/21/2002 14:25:58 ANS1909E The scheduled command failed.
11/21/2002 14:25:58 ANS1512E Scheduled event 'ORACLE_0130' failed.  Return
code = 3.

I did an upgrade sched like this:

update schedule oracle_domain oracle_0130 objects='"c:\program
files\tivoli\tsm\agentoba\orcschedppim.cmd"'

Best Regards,

Koen Willems





From: Del Hoobler <hoobler AT US.IBM DOT COM>
Reply-To: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: scheduler fails on tdp command scripts ( drives me nuts )
Date: Thu, 21 Nov 2002 08:10:05 -0500

Koen,

The first thing you should check is to make sure the
command script is even being run.
A good way to test this is to put a command in
script that generates some type of output on
the local machine that you can check.  That way
you can see if the script is even being executed.
For example:    DIR C:\TEMP > C:\TEMP\TEST.OUT.
If, after the schedule runs, the "TEST.OUT" file
is not generated, then the script is not even
being run and the problem is probably with the
definition of the schedule.
If that is the case...

Are you specifying the full path name to the script
in the objects field of the defined schedule?

Are there spaces in the path name? If there are,
you may have to use double quotes and single quotes
around the parameter when defining the "objects=xxx" option.
For example:

   OBJECTS='"C:\Program Files\Tivoli\TSM\domino\dominc.cmd"'

Notice the two sets of quotes, a set of single quotes
and a set of double quotes.

Thanks,

Del

----------------------------------------------------

Del Hoobler
IBM Corporation
hoobler AT us.ibm DOT com

- Never cut what can be untied.
- Commit yourself to constant improvement.

==============================================================
> > When isntalling a scheduler for my TDP with dsmcutil and defining a
>schedule
> > on the server with action command and object the command script
> > all looks fine.
> >
> > The dsmched.log shows a new time slot and when I check on the server I
>get
>a
> > succes when entering q ev * *.
> >
> > The thing is that my backup has failed with. error 1 or 4.
> >
> > I already tried different user accounts. But this does not help...
> >
> > Anybody ????


_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail

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