Schedule command failed with 99

newtotivoli

ADSM.ORG Member
Joined
Feb 24, 2011
Messages
74
Reaction score
0
Points
0
Hello Guy's,

oracle backup's are failing with failed 99 on a solaris server. Manual backup's are running fine and all. Modified permission of all log files to 766, Still the same. Anything need's to be done?? Please help.


Thanking you in advance,
 
It might be that your scheduler (dsmc schedule or dsmcad) runs as root, and when you are running manually you do it as oracle user.
You may need to modify your scripts to su to oracle before rman commands
 
HI Mita201,

Thanks for the reply,

All scripts are running as Oracle user only. I've tried changing them to root, Still no luck. Any thing else need to be checked??
 
the returncode 99 comes from the script, a bit hard to say what goes wrong.
if dsmcad is running as root and the script needs to be run as oracle,
does your backup command do something like 'su - oracle -c "start_backup_script"' .

Or make a wrapper on solaris that executes something like that and then call the wrapper from tsm.
 
Hi Jeroen,

Yes , Our command executes this
su - oracle -c "/home/orasmp/local/cordba/rman/TSM_******_ARCH.ksh. I'll try doing that.

Thanks for looking into.
 
You can check dsmerror.log, dsierror.log, dsmsched.log, or make your script create output into text file while executing, so check what is going on.
 
Back
Top