000039326 - Backup failure with error: entry '/system.config.network.5.needEncryption/routes' closed at '0' before the '30' bytes specified in the header were written' in RSA Authentication Manager 8.x

Document created by RSA Customer Support Employee on Oct 29, 2020
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000039326
Applies To
RSA Product Set: SecurID
   RSA Product/Service Type: Authentication Manager
   RSA Version/Condition: 8.x
Issue- When taking a backup, the Progress monitor shows a failure and the below messages are shown in the Advanced Status View.
 

Backing up RADIUS dictionary...
Successfully backed up RADIUS dictionary to /opt/rsa/am/backup/staging/radius-dict
Backing up RADIUS configuration files...
Backing up RADIUS configuration file /opt/rsa/am/utils/etc/../..//radius/securid
Backing up RADIUS configuration file /opt/rsa/am/utils/etc/../..//radius/sdconf.rec
Backing up RADIUS configuration file /opt/rsa/am/utils/etc/../..//radius/vendor.ini
Backing up RADIUS configuration file /opt/rsa/am/utils/etc/../..//radius/ttlsauth.aut
Backing up RADIUS configuration file /opt/rsa/am/utils/etc/../..//radius/spi.ini
Backing up RADIUS configuration file /opt/rsa/am/utils/etc/../..//radius/securid.ini
Backing up RADIUS configuration file /opt/rsa/am/utils/etc/../..//radius/sbrd.conf
Backing up RADIUS configuration file /opt/rsa/am/utils/etc/../..//radius/radius.ini
Backing up RADIUS configuration file /opt/rsa/am/utils/etc/../..//radius/peapauth.aut
Backing up RADIUS configuration file /opt/rsa/am/utils/etc/../..//radius/events.ini
Backing up RADIUS configuration file /opt/rsa/am/utils/etc/../..//radius/eap.ini
Backing up RADIUS configuration file /opt/rsa/am/utils/etc/../..//radius/classmap.ini
Backing up RADIUS configuration file /opt/rsa/am/utils/etc/../..//radius/account.ini
Successfully backed up RADIUS configuration files.
RADIUS log location: /opt/rsa/am/radius
RADIUS report location: /opt/rsa/am/radius/authReports
Backing up RADIUS audit logs...
Successfully backed up RADIUS audit logs to /opt/rsa/am/backup/staging/radius-logs
Backing up RADIUS certificate...
Successfully backed up RADIUS certificate to /opt/rsa/am/backup/staging/radius-certs

Starting Database backup..
Backing up database to /opt/rsa/am/backup/staging/database/DB_BACKUP.dump
Initialization OK.
Database command OK: pg_dump
Database command arguments OK.
Database command environment OK.
Command executed successfully.
Database backup successful.

Database backup completed.
Starting System backup..
Backing up the files to a staging file /opt/rsa/am/backup/staging/system/SYSTEM_BACKUP.dump
entry '/system.config.network.5.needEncryption/routes' closed at '0' before the '30' bytes specified in the header were written
An error occurred while backing up the system:
Failed to backup the system files.


Please call customer support. For error details, check the 'Advanced Status View'.



Error:
Failed to perform a system backup.

 


The imsOCTrace.log in verbose is showing the following error:





@@@2020-09-21 15:28:00,841, [CreateBackup], (FilePackUtil.java:99), trace.com.rsa.ims.web.operationsconsole.utils.FilePackUtil, SYSTEM, hrc-esdc-rsa-eng-1.etisalat.ae,,,,Unable to find the file at /etc/sysconfig/network/routes
@@@2020-09-21 15:28:00,841, [CreateBackup], (FilePackUtil.java:105), trace.com.rsa.ims.web.operationsconsole.utils.FilePackUtil, ERROR, hrc-esdc-rsa-eng-1.etisalat.ae,,,,java.io.FileNotFoundException: /etc/sysconfig/network/routes (Permission denied)
    at java.io.FileInputStream.open(Native Method)

    at java.io.FileInputStream.<init>(FileInputStream.java:146)
    at com.rsa.ims.web.operationsconsole.utils.FilePackUtil.compressSingleFile(FilePackUtil.java:159)
    at com.rsa.ims.web.operationsconsole.utils.FilePackUtil.compresssFileOrDirectory(FilePackUtil.java:213)
    at com.rsa.ims.web.operationsconsole.utils.FilePackUtil.compressFiles(FilePackUtil.java:363)
    at com.rsa.ims.operationsconsole.admin.backup.tasks.SystemBackupTask.backupFiles(SystemBackupTask.java:245)
    at com.rsa.ims.operationsconsole.admin.backup.tasks.SystemBackupTask.backupSystemFiles(SystemBackupTask.java:191)
    at com.rsa.ims.operationsconsole.admin.backup.tasks.SystemBackupTask.performSystemBackup(SystemBackupTask.java:153)
    at com.rsa.ims.operationsconsole.admin.backup.tasks.SystemBackupTask.execute(SystemBackupTask.java:119)
    at com.rsa.ims.operationsconsole.admin.backup.tasks.SystemBackupTask$$FastClassBySpringCGLIB$$fcce0886.invoke(<generated>)
    at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
    at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:701)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
    at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:633)
    at com.rsa.ims.operationsconsole.admin.backup.tasks.SystemBackupTask$$EnhancerBySpringCGLIB$$6de443b2.execute(<generated>)
    at com.rsa.ims.operationsconsole.admin.taskmgr.TaskManager.executeTasks(TaskManager.java:42)
    at com.rsa.ims.operationsconsole.admin.impl.OCManageBackupImpl$1CreateBackupThread.run(OCManageBackupImpl.java:149)
    at java.lang.Thread.run(Thread.java:745)
CauseWrong permissions on  /etc/sysconfig/network/routes file.
Resolution
  1. Ssh to the appliance and login using the rsadmin account 
  2.  Run the below commands to give the default permissions to routes file and if-route-eth0 file. 


Sudo chmod  644  /etc/sysconfig/network/routes 
Sudo chmod  644  /etc/sysconfig/network/ifroute-eth0


       3.  Take the backup again and it should be completed successfully.

Attachments

    Outcomes