hi, i think you should play with your rm-script. Why do you use the ' |tee ' ? What about the user-rights of the script. The scheduler seem to work right, because tsm tells no error.
Michael Kinderman Wuerzburg/Germany Am Dienstag, 21. Oktober 2003 13:44 schrieb T_MML: > hi all, > > my problem is the code: 127 > > after running my postschedule the code error 127 is registered in my > dsmsched.log > > look below: > > > > TSM SERVER V4.2.2.0 (Win2k) > > TSM Client V4.2.1.0 (Red Hat Linux release 6.2) > > > > > > ----------------- file DSMSCHED.LOG > ---------------------------------------------- > > 10/21/03 04:43:08 --- SCHEDULEREC STATUS BEGIN > > 10/21/03 04:43:08 Total number of objects inspected: 118,610 > > 10/21/03 04:43:08 Total number of objects backed up: 1,750 > > 10/21/03 04:43:08 Total number of objects updated: 0 > > 10/21/03 04:43:08 Total number of objects rebound: 0 > > 10/21/03 04:43:08 Total number of objects deleted: 0 > > 10/21/03 04:43:08 Total number of objects expired: 1 > > 10/21/03 04:43:08 Total number of objects failed: 0 > > 10/21/03 04:43:08 Total number of bytes transferred: 38.86 GB > > 10/21/03 04:43:08 Data transfer time: 3,684.83 sec > > 10/21/03 04:43:08 Network data transfer rate: 11,060.34 KB/sec > > 10/21/03 04:43:08 Aggregate data transfer rate: 9,530.66 KB/sec > > 10/21/03 04:43:08 Objects compressed by: 0% > > 10/21/03 04:43:08 Elapsed processing time: 01:11:16 > > 10/21/03 04:43:08 --- SCHEDULEREC STATUS END > > 10/21/03 04:43:08 --- SCHEDULEREC OBJECT END BKP_SERVER1 10/21/03 > 03:30:00 > > 10/21/03 04:43:08 > > Executing Operating System command or script: > > remove_files.sh > > 10/21/03 04:43:08 Finished command. Return code is: > > 127 > > 10/21/03 04:43:08 Scheduled event 'BKP_SERVER1' completed > successfully. > > 10/21/03 04:43:08 Sending results for scheduled event 'BKP_SERVER1'. > > 10/21/03 04:43:08 Results sent to server for scheduled event > 'BKP_SERVER1'. > > ------------------------------------------------------------------------ > ------------ > > ------------------------------------------------------------------------ > ------------ > > > > ---------------------------- CONFIG > DSM.SYS-------------------------------------------- > > > > * Sample Client System Options file for UNIX (dsm.sys.smp) * > > ************************************************************************ > > > > * This file contains the minimum options required to get started > > * using TSM. Copy dsm.sys.smp to dsm.sys. In the dsm.sys file, > > * enter the appropriate values for each option listed below and > > * remove the leading asterisk (*) for each one. > > > > * If your client node communicates with multiple TSM servers, be > > * sure to add a stanza, beginning with the SERVERNAME option, for > > * each additional server. > > > > ************************************************************************ > > > > SERVERNAME SERVER_A > > PASSWORDACCESS generate > > COMMmethod TCPip > > TCPPort 1500 > > TCPServeraddress 100.100.100.1 > > NODENAME server1 > > > > ERRORLOGRETENTION 3 > > SCHEDLOGRETENTION 3 > > > > ERRORLOGNAME /opt/tivoli/tsm/client/ba/bin/dsmerror.log > > SCHEDLOGNAME /opt/tivoli/tsm/client/ba/bin/dsmsched.log > > > > > > DOMain ALL-LOCAL > > > > > > INCLUDE / > > > > INCLUDE /backup > > > > INCLUDE /boot > > > > INCLUDE /home > > > > INCLUDE /usr > > > > INCLUDE /var > > > > POSTSCHEDULECMD remove_files.sh > > PRESCHEDULECMD > > > > ------------------------------------------------------------------------ > ------------ > > ------------------------------------------------------------------------ > ------------ > > > > **** the file "remove_files.sh" it is the same directory of dsm.exe > **** > > **** description of remove_files.sh **** > > > > > > cd /backup/oracle/server1/redo_logs/ > > > > find . -mtime +2 -type f -exec rm {} \; | tee > > /opt/tivoli/tsm/client/ba/bin/remove_files_success > > ------------------------------------------------------------------------ > ------------ > > > > Best Regards, > > Elenara > > > > Elenara Geraldo > > Senior TSM Administrator > > Phone : 55 41 381 7588 > > Cellular: 55 41 91035796