Veritas NetBackup™ for MariaDB Administrator's Guide
- Introduction to NetBackup for MariaDB Agent
- Installing the NetBackup for MariaDB Agent
- Configuring the NetBackup for MariaDB
- The NetBackup for MariaDB backups and restores
- Troubleshooting for NetBackup for MariaDB
- Appendix A. About NetBackup for MariaDB commands and conventions
- Appendix B. The NetBackup for MariaDB commands
Troubleshooting errors when using NetBackup for MariaDB
Table: General steps to resolve problemslists the general steps that help you resolve problems you may encounter while using NetBackup for MariaDB Agent.
Table: General steps to resolve problems
Steps | Action | Description |
---|---|---|
Step1 | Remember the error message | Error messages are usually the vehicles for telling you something went wrong. If you do not see an error on the command line, but still suspect a problem, check the logs and the reports. These can provide an error message that directly points to the problem. The logs and reports are essential troubleshooting tools. |
Step 2 | Identify what you were doing when the problem occurred. | Ask the following questions:
|
Step 3 | Record all information. | Capture potentially valuable information:
|
Step 4 | Correct the problem. | After you define the problem, use the information to correct it. |
Step 5 | Contact Technical Support | If you cannot solve the troubleshooting, contact the Technical support. |
To troubleshoot the errors, you can refer to the NetBackup logs, NetBackup for MariaDB Agent logs, and the NetBackup XBSA logs. These logs are located at the following locations:
The NetBackup logs are located at:
install_path\NetBackup\logs\bprd
install_path\NetBackup\logs\bpcd
install_path\NetBackup\logs\user_ops\dbext\logs
You must enable the bprd
and the bpcd
log files. For more information, see the NetBackup Troubleshooting Guide
The logs that are specific to NetBackup for MariaDB Agent are located at:
install_path\nbmariadb.log
The logs that are specific to NetBackup XBSA are located at:
<NetBackup_install_path>/netbackup/logs/exten_client
For troubleshooting NetBackup errors, see Veritas NetBackup Troubleshooting Guide and the Veritas NetBackup Commands Reference Guide
Table: Troubleshooting NetBackup for MariaDB errors lists the errors and the solutions to troubleshoot the problems while running the operations.
Table: Troubleshooting NetBackup for MariaDB errors
Problems | Description | Solution |
---|---|---|
The nbmariadb backup fails with the following error: Unable to load mariadb library | You may encounter this problem when the
| Verify the following and then run the backup again:
|
The nbmariadb backup fails with the following error: Unable to connect to the database | The nbmariadb backup fails when the | To add the appropriate database user name and port number
|
The nbmariadb backup fails with the following error: Unable to load xbsa.dll | The nbmariadb backup fails if the environment variable path is not updated with NetBackup bin directory. | To run a nbmariadb backup
|
The nbmariadb backup fails with the following error: XBSA initiation failed | The nbmariadb backup fails if the | To run the nbmariadb backup
|
(Windows)VSS snapshot creation failed | The nbmariadb backup may fail when the user does not have the privileges to run the nbmariadb operations. | Run cmd.exe in Administrator mode. |
The nbmariadb restore operation does not restore any data from the target NetBackup client. | The nbmariadb restore fails if the | For a successful restore
|
The nbmariadb backup fails with the following error: (Linux) Error creating LVM snapshot | The nbmariadb backup may fail when the volume group does not have sufficient space for the snapshot. To verify the space in the volume group | To verify the space in the volume group
|
Error messages after a successful backup: <volume_group>/<snapshot_name> Read failure after 0 of 4096 at 29393616896: input or output error. OR <volume_group>/<snapshot_name>: read failure after 0 of 4096 at 4096: input or output error. | The nbmariadb backup gives these errors when the volume group contains the snapshots. You can list the snapshots and then remove them before you run the backup again. Note: nbmariadb created LVM snapshot names are prefixed with | To remove the snapshots
|
The nbmariadb backup fails with the following error: "Failed to load MariaDB Library" | You may encounter this problem when the
| Verify the following and then run the backup again:
|
The nbmariadb backup on Linux (LVM), fails with the following error: Error unmounting the snapshot-Device or resource busy OR Error removing the snapshot-mariadbsnap_<timestamp> | The nbmariadb backup fails during an attempt to unmount the snapshot, the device, or when you remove the existing snapshots. | To unmount the snapshot
|