ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

FAILURE DURING RUNNING OF THE POST_OLB_SCRIPT - the script error is 127

book

Article ID: 225688

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction


After upgrading to NetOps 21.2.2 the following Alarm is seen when running an OnlineBackup

FAILURE DURING RUNNING OF THE POST_OLB_SCRIPT

// alarm:
FAILURE DURING RUNNING OF THE POST_OLB_SCRIPT
Oct 6, 2021 11:19:25 AM EDT
OnLineBackup (name - OnLineBackup): The running of the post_olb_script failed after a successful On-line backup. The processd error is 0, the script error is 127. more
Wed 06 Oct, 2021 - 11:19:25 - Alarm number 200345 with probable cause id 0x10528 generated for device OnLineBackup of type OnLineBackup. The severity of this alarm is CRITICAL. (event [0x00010701])
Wed 06 Oct, 2021 - 11:19:25 - OnLineBackup (name - OnLineBackup): The running of the post_olb_script failed after a successful On-line backup. The processd error is 0, the script error is 127. (event [0x00010962])

Cause


The post_olb_script being executed from the custom folder was still trying to execute ddm_save. The ddm_save was renamed
   to ddm_save_legacy in favor of a new perl script ddm_save.pl

The post_olb_script was not updated due to it being located in the custom folder to preserve its configuration

Environment

Release : 21.2.x

Component : SpectroSERVER

Resolution


Update the post_olb_script in the custom folder $SPECROOT/custom/CsScript/ to use ddm_save.pl


Change (or comment out):

    ./ddm_backup $backup_dir/db_$time_string.DDMDb > $backup_dir/ddm_backup.log

To:
    
    ./ddm_save.pl -f $backup_dir/db_$time_string.DDMDb > $backup_dir/ddm_backup.log 2>&1

 

 

Note: The ddm_save.pl script requires the event table to use the InnoDB MySQL engine and will not work if the
             table is using MyISAM. The $SPECROOT/SS/DDM/scripts/convert_current_myisam_to_innodb.pl script
             can be used to convert the DDM events table to InnoDB.

            Archive Manager Table Conversion