AnsweredAssumed Answered

Nexpose Backups Failing

Question asked by mattspierce on Oct 13, 2016
Latest reply on Nov 2, 2016 by mattspierce

Nexpose is ending up in maintenance mode after a failed backup.  Can anyone tell why the backup is failing?  This has happened 3 times in the last two weeks.  After the second instance I ran a full database maintenance cycle.

 

2016-10-12T23:07:54 [INFO] Performing database backup.

2016-10-12T23:07:54 [INFO] Executing [/bin/sh, -c, /opt/rapid7/nexpose/nsc/nxpgsql/pgsql/bin/pg_dump -h 127.0.0.1 -p 5432 -U nxpgsql -Fc  -f /opt/rapid7/nexpose/nsc/db_backup/backup_file_12_Oct_2016_11_07_54 nexpose].

pg_dump: schema with OID 10211292 does not exist

2016-10-12T23:07:55 [INFO] Copied pg_hba.conf.old file from nxpdata to pg_hba.conf.

2016-10-12T23:07:57 [INFO] Nexpose backup failed: Problem occured while executing [/bin/sh, -c, /opt/rapid7/nexpose/nsc/nxpgsql/pgsql/bin/pg_dump -h 127.0.0.1 -p 5432 -U nxpgsql -Fc  -f /opt/rapid7/nexpose/nsc/db_backup/backup_file_12_Oct_2016_11_07_54 nexpose] failed: 1

2016-10-12T23:07:57 [INFO] Removing partial backup file

2016-10-12T23:07:57 [INFO] Nexpose backup failed: Problem occured while executing [/bin/sh, -c, /opt/rapid7/nexpose/nsc/nxpgsql/pgsql/bin/pg_dump -h 127.0.0.1 -p 5432 -U nxpgsql -Fc  -f /opt/rapid7/nexpose/nsc/db_backup/backup_file_12_Oct_2016_11_07_54 nexpose] failed: 1

2016-10-12T23:07:57 [ERROR] FailedNexpose backup:

 

On Restart here are the system specs on restart.  I don't appear to be out of disk space. 

 

2016-10-12T23:07:57 [INFO] Accepting console commands.

2016-10-13T10:08:36 [INFO] Initializing console...

2016-10-13T10:08:38 [INFO] Product Version:                 6.4.2

2016-10-13T10:08:38 [INFO] Current directory:               /opt/rapid7/nexpose/nsc

2016-10-13T10:08:38 [INFO] User name:                       root

2016-10-13T10:08:38 [INFO] Super user:                      Yes

2016-10-13T10:08:38 [INFO] Computer name:                   vscn.adtran.com

2016-10-13T10:08:38 [INFO] Host Address:                    172.22.49.114

2016-10-13T10:08:38 [INFO] Host FQDN:                       vscn.adtran.com

2016-10-13T10:08:38 [INFO] Operating system:                CentOS Linux 6.8

2016-10-13T10:08:38 [INFO] CPU speed:                       2399MHz

2016-10-13T10:08:38 [INFO] Number of CPUs:                  1

2016-10-13T10:08:38 [INFO] Total memory:                    7.7 GB

2016-10-13T10:08:38 [INFO] Available memory:                3.2 GB

2016-10-13T10:08:38 [INFO] Total disk space:                83.4 GB

2016-10-13T10:08:38 [INFO] Available disk space:            52.3 GB

2016-10-13T10:08:38 [INFO] Disk space used by installation: 25.5 GB

2016-10-13T10:08:38 [INFO] Disk space used by scans:        6 GB

2016-10-13T10:08:38 [INFO] Disk space used by database:     6.5 GB

2016-10-13T10:08:38 [INFO] Disk space used by reports:      44.8 MB

2016-10-13T10:08:38 [INFO] Disk space used by backups:      10.4 GB

2016-10-13T10:08:38 [INFO] JVM name:                        Java HotSpot(TM) 64-Bit Server VM

2016-10-13T10:08:38 [INFO] JVM vendor:                      Oracle Corporation

2016-10-13T10:08:38 [INFO] JVM version:                     25.40-b25

2016-10-13T10:08:38 [INFO] JVM started:                     2016-10-13 15:08 GMT

Outcomes