Failed to create XBSA object - 3
Hello, I am trying to run a postgresql backup in a Linux environment and i'm getting error message
"Failed to create XBSA object - 3"
Does anyone know how to solve this?
----------------------------------------------------------------LOG-----------------------------------------------------------------------------------
2023-09-04 16:08:43 DEBUGS: DB_PORT => 5432
2023-09-04 16:08:43 DEBUGS: DB_USER => postgres
2023-09-04 16:08:43 DEBUGS: MASTER_SERVER_NAME => centervtl
2023-09-04 16:08:43 DEBUGS: NBPGSQL_LOG_LEVEL => 4
2023-09-04 16:08:43 DEBUGS: OPERATION => backup
2023-09-04 16:08:43 DEBUGS: PGSQL_LIB_INSTALL_PATH => /usr/lib64
2023-09-04 16:08:43 DEBUGS: POLICY_NAME => testpgsql
2023-09-04 16:08:43 DEBUGS: SCHEDULE_NAME => FULL
2023-09-04 16:08:43 DEBUGS: Loading PostgreSQL library - /usr/lib64/libpq.so
2023-09-04 16:08:43 INFO: PostgreSQL data directory: /var/lib/pgsql/data
2023-09-04 16:08:43 DEBUGS: PostgreSQL archive_command: test ! -f /var/lib/pgsql/arc%f && cp %p /var/lib/pgsql/arc/%f
2023-09-04 16:08:43 INFO: PostgreSQL WAL directory: /var/lib/pgsql/arc
2023-09-04 16:08:44 DEBUGS: Logical Volume Device Name: /dev/mapper/rhel-root
2023-09-04 16:08:48 DEBUGS: Logical Volume Name: root
2023-09-04 16:08:48 DEBUGS: Volume Group Name: rhel
2023-09-04 16:08:48 DEBUGS: LVM snapshot command: sudo lvcreate --snapshot --name pgsqlsnap_1693811327 --size 1MB /dev/rhel/root
2023-09-04 16:08:48 DEBUGS: Snapshot Device Name: /dev/rhel/pgsqlsnap_1693811327
2023-09-04 16:08:48 DEBUGS: Snapshot FileSystem Type: xfs
2023-09-04 16:08:48 DEBUGS: Mount Point: /
2023-09-04 16:08:48 INFO: Snapshot Mount Dir: /mnt/pgsqlsnap_1693811327/var/lib/pgsql/data
2023-09-04 16:08:49 INFO: Backup initiated from XBSA ...
2023-09-04 16:08:49 INFO: PostgreSQL version: 9.2.24
2023-09-04 16:08:49 INFO: PostgreSQL database backup is in progress...
2023-09-04 16:08:50 ERR: Failed to create XBSA object - 3
2023-09-04 16:08:50 ERR: Error! The backup has failed.
2023-09-04 16:08:50 ERR: Error occurred while performing backup
2023-09-04 16:08:50 DEBUGS: Unmounted the snapshot directory: /mnt/pgsqlsnap_1693811327
2023-09-04 16:08:51 DEBUGS: Removed the mount directory: /mnt/pgsqlsnap_1693811327
2023-09-04 16:08:51 DEBUGS: Removed the snapshot: pgsqlsnap_1693811327: Logical volume "pgsqlsnap_1693811327" successfully removed
Hello,
I presume it is a new setup, not setup which was previously working, yes? There can be more things which could be misconfigured. Have you followed PostgreSQL Admin Guide for the configuration and have you tried its Troubleshooting chapter first?
https://www.veritas.com/support/en_US/doc/129277259-129955710-0/v129277288-129955710
Regards
M.