Ssgbackup.sh Script Fails To Execute
search cancel

Ssgbackup.sh Script Fails To Execute

book

Article ID: 265890

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

Attempting to execute the ssgbackup.sh script fails with the following error:

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at com.l7tech.util.HexUtils.hexDump(Unknown Source)
        at com.l7tech.util.HexUtils.hexDump(Unknown Source)
        at com.l7tech.util.HexUtils.hexDump(Unknown Source)
        at com.l7tech.gateway.config.backuprestore.p.a(Unknown Source)
        
The backup of the SSG configuration has failed.  Review the SSG log file on xxxxxxxxx at /opt/SecureSpan/Gateway/config/backup/logs

Environment

CA API Gateway

Resolution

Make the following change to the /opt/SecureSpan/Gateway/config/backup/ssgbackup.sh file

Within the file you will see three instances of the following:

-Xmx256m

Please increase this value accordingly for all three instances to:

-Xmx2048m

Then execute the ssgbackup command once again and it should complete successfully.