NetBackup™ for MariaDB Administrator's Guide
Troubleshooting errors when using NetBackup for MariaDB
Table: General steps to resolve problems lists 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. These logs are located at the following locations:
The NetBackup primary server 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 client are located at:
install_path\NetBackup\logs\nbmariadb
The logs that are specific to NetBackup XBSA are located at:
install_path\NetBackup/logs/exten_client
For troubleshooting NetBackup errors, see the NetBackup Troubleshooting Guide and the 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 library path is not provided in the nbmariadb command using the "-l" switch or the library path is provided but it does not contain | Verify the following and then run the backup again:
|
The nbmariadb backup fails with the following error: Unable to connect to the database | The mariadb backup fails when the nbmariadb command is run with invalid database user name, port number, or password. |
|
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 required parameters are not specified on the command line. | 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 NetBackup client name and the target directory are not updated. | 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
|
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: The nbmariadb created LVM snapshot names are prefixed with | To remove the snapshots:
|
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
|
Even after a successful restore, the MariaDB services have failed to start. | The restore operation is successful, only when you restore the backup on a machine that has the same minor version of MariaDB. For example, if you back up a file from MariaDB version 10.2.x, then you must restore the file to a computer with MariaDB version 10.2.x. |
|