ADSM-L

Re: [ADSM-L] Prescheduledcmd failed error

2007-04-03 10:18:06
Subject: Re: [ADSM-L] Prescheduledcmd failed error
From: Timothy Hughes <Timothy.Hughes AT OIT.STATE.NJ DOT US>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 3 Apr 2007 10:17:43 -0400
Guys Thanks,

The problem was the backup_asr.cmd script and the create_asr_floppy.cmd
existed
but were in the not in the programs/tivoli/tsm/baclient directory.

Tim


Andrew Raibeck wrote:

OK, so that is your answer: the schedule fails to do a problem in the
backup_asr.cmd script. Next up: adjust your TSM configuration to prevent
running that script on this system if it isn't supposed to run there, or
diagnose the script failure. The first question is, does the script exist
on the client system, and if it is not being invoked via complete path
specification, can the script be found in the client system's PATH? If the
script exists, is running, but is failing, then diagnose the failure
(search for article 1108971 at the URL in my sig for a suggested method).

Best regards,

Andy

Andy Raibeck
IBM Software Group
Tivoli Storage Manager Client Development
Internal Notes e-mail: Andrew Raibeck/Tucson/[email protected]
Internet e-mail: storman AT us.ibm DOT com

IBM Tivoli Storage Manager support web page:
http://www.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.html

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

"ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU> wrote on 2007-04-02
11:01:21:



Andy, I found this in the dsmsched.log entry

Executing Operation System command or script:
 backup_asr.cmd
Finished command. Return code is: 1
ANS1902E The PRESCHEDULECMD command failed. The scheduled event will not
be executed.
Ans1512E scheduled event 'midnight' failed Return code=12

Thanks
Tim

Andrew Raibeck wrote:



Check for any PRESCHEDULECMD options in a client option set or in the
schedule definition itself.

What are the dsmsched.log entries for this event?

Regards,

Andy

Andy Raibeck
IBM Software Group
Tivoli Storage Manager Client Development
Internal Notes e-mail: Andrew Raibeck/Tucson/[email protected]
Internet e-mail: storman AT us.ibm DOT com

IBM Tivoli Storage Manager support web page:
http://www.ibm.


com/software/sysmgmt/products/support/IBMTivoliStorageManager.html


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

"ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU> wrote on 2007-04-02
08:23:30:





Hi,

We have a windows client that is failing with a RC=12 on the following
message
I found in the dsm.errorlog.  I don't know why it's complaining there


is


no prescheduled
command. Has anyone experienced this issue before?

Thanks for any help in advance!

dsmerror.log message

ANS1512E Scheduled event 'MIDNIGHT' FAILED.  Return Code =12.
ANS1902E the PRESCHEDULEDCMD COMMAND failed. The scheduled event
will not be executed.

Here is the dsm.opt file (NOTE not PrescheduledCMD here)

Lang Ameng
Domain ALL-LOCAL
TCPSERVERADDRESS  xxxx.xxx.xxxxx.xx.xx
Passwordaccess generate
TCPCLIENTADDRESS  xx.xx.xxx.xx
NODENAME xxxx
SUBDIR YES
REPLACE PROMPT
TCPB 32
TCPW 63
SCHEDMODE PROMPTED
TXNBYTELIMIT 25600
Errorlogname c:\progra~1\tivoli\tsm\baclient\dsmerror.log
SCHEDlogname c:\progra~\tivoli\tsm\baclient\dsmsched.log
ERRORLOGRETENTION 14
SCHEDLOGRETENTION 7
TCPNODELAY YES
RESOURCEUTILIZATION 3
LARGECOMMBUFFERS YES
CHANGINGRETRIES 2
MANAGEDSERVICES WEBCLIENT SCHEDULE




TSM 5.3.4
TSM client 5.3.4
Windows 2003 server








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