NetBackup™ Troubleshooting Guide

Last Published:
Product(s): NetBackup (10.3.0.1, 10.3)
  1. Introduction
    1.  
      NetBackup logging and status code information
    2.  
      Troubleshooting a problem
    3.  
      Problem report for Technical Support
    4.  
      About gathering information for NetBackup-Java applications
  2. Troubleshooting procedures
    1.  
      About troubleshooting procedures
    2. Troubleshooting NetBackup problems
      1.  
        Verifying that all processes are running on UNIX or Linux servers
      2.  
        Verifying that all processes are running on Windows servers
    3.  
      Troubleshooting installation problems
    4.  
      Troubleshooting configuration problems
    5.  
      Device configuration problem resolution
    6.  
      Testing the primary server and clients
    7.  
      Testing the media server and clients
    8.  
      Resolving network communication problems with UNIX clients
    9.  
      Resolving network communication problems with Windows clients
    10. Troubleshooting vnetd proxy connections
      1.  
        vnetd proxy connection requirements
      2.  
        Where to begin to troubleshoot vnetd proxy connections
      3.  
        Verify that the vnetd process and proxies are active
      4.  
        Verify that the host connections are proxied
      5.  
        Test the vnetd proxy connections
      6.  
        Examine the log files of the connecting and accepting processes
      7.  
        Viewing the vnetd proxy log files
    11. Troubleshooting security certificate revocation
      1.  
        Troubleshooting cloud provider's revoked SSL certificate issues
      2.  
        Troubleshooting cloud provider's CRL download issues
      3.  
        How a host's CRL affects certificate revocation troubleshooting
      4.  
        NetBackup job fails because of revoked certificate or unavailability of CRLs
      5.  
        NetBackup job fails because of apparent network error
      6.  
        NetBackup job fails because of unavailable resource
      7.  
        Primary server security certificate is revoked
      8.  
        Determining a NetBackup host's certificate state
      9.  
        Troubleshooting issues with external CA-signed certificate revocation
    12.  
      About troubleshooting networks and host names
    13. Verifying host name and service entries in NetBackup
      1.  
        Example of host name and service entries on UNIX primary server and client
      2.  
        Example of host name and service entries on UNIX primary server and media server
      3.  
        Example of host name and service entries on UNIX PC clients
      4.  
        Example of host name and service entries on UNIX server that connects to multiple networks
    14.  
      About the bpclntcmd utility
    15.  
      Using the Host properties to access configuration settings
    16.  
      Resolving full disk problems
    17. Frozen media troubleshooting considerations
      1.  
        Logs for troubleshooting frozen media
      2.  
        About the conditions that cause media to freeze
    18. Troubleshooting problems with the NetBackup web services
      1.  
        Viewing NetBackup web services logs
      2.  
        Troubleshooting web service issues after external CA configuration
    19.  
      Troubleshooting problems with the NetBackup web server certificate
    20. Resolving PBX problems
      1.  
        Checking PBX installation
      2.  
        Checking that PBX is running
      3.  
        Checking that PBX is set correctly
      4.  
        Accessing the PBX logs
      5.  
        Troubleshooting PBX security
      6.  
        Determining if the PBX daemon or service is available
    21. Troubleshooting problems with validation of the remote host
      1.  
        Viewing logs pertaining to host validation
      2.  
        Enabling insecure communication with NetBackup 8.0 and earlier hosts
      3.  
        Approving pending host ID-to-host name mappings
      4.  
        Clearing host cache
    22. Troubleshooting Auto Image Replication
      1.  
        Rules for primary servers used with Auto Image Replication and SLPs
      2. Targeted A.I.R. trusted primary server operation failed in case of external certificate configuration
        1.  
          Add or update trust
        2.  
          Remove trust
      3.  
        About troubleshooting automatic import jobs that SLP components manage
    23.  
      Troubleshooting network interface card performance
    24.  
      About SERVER entries in the bp.conf file
    25.  
      About unavailable storage unit problems
    26.  
      Resolving a NetBackup Administration operations failure on Windows
    27.  
      Resolving garbled text displayed in NetBackup Administration Console on a UNIX computer
    28.  
      Troubleshooting error messages in the NetBackup Administration Console
    29.  
      Extra disk space required for logs and temporary files for the NetBackup Administration Console
    30.  
      Unable to logon to the NetBackup Administration Console after external CA configuration
    31.  
      Troubleshooting file-based external certificate issues
    32.  
      Troubleshooting Windows certificate store issues
    33.  
      Troubleshooting backup failures
    34.  
      Troubleshooting backup failure issues with NAT clients or NAT servers
    35.  
      Troubleshooting issues with the NetBackup Messaging Broker (or nbmqbroker) service
    36.  
      Issues with email notifications for Windows systems
    37.  
      Issues with KMS configuration
    38.  
      Issues with initiating the NetBackup CA migration because of large key size
    39.  
      Issues with the non-privileged user (service user) account
    40.  
      Issues with group name format in the auth.conf file
    41.  
      Troubleshooting the VxUpdate add package process
    42.  
      Issues with FIPS mode
    43.  
      Issues with malware scanning
    44.  
      Issues with NetBackup jobs that are enabled for data-in-transit encryption
    45.  
      Issues with Unstructured Data Instant Access
    46.  
      Troubleshooting issues with multi-factor authentication
    47.  
      Troubleshooting issues with multi-person authorization
  3. Using NetBackup utilities
    1.  
      About NetBackup troubleshooting utilities
    2.  
      About the analysis utilities for NetBackup debug logs
    3.  
      About the Logging Assistant
    4.  
      About network troubleshooting utilities
    5. About the NetBackup support utility (nbsu)
      1.  
        Output from the NetBackup support utility (nbsu)
      2.  
        Example of a progress display for the NetBackup support utility (nbsu)
    6. About the NetBackup consistency check utility (NBCC)
      1.  
        Output from the NetBackup consistency check utility (NBCC)
      2.  
        Example of an NBCC progress display
    7.  
      About the NetBackup consistency check repair (NBCCR) utility
    8.  
      About the nbcplogs utility
    9. About the robotic test utilities
      1.  
        Robotic tests on UNIX
      2.  
        Robotic tests on Windows
    10. About the NetBackup Smart Diagnosis (nbsmartdiag) utility
      1.  
        Workflow to use the nbsmartdiag utility for NetBackup host communication
    11.  
      About log collection by job ID
  4. Disaster recovery
    1.  
      About disaster recovery
    2.  
      About disaster recovery requirements
    3.  
      Disaster recovery packages
    4.  
      About disaster recovery settings
    5.  
      Recommended backup practices
    6. About disk recovery procedures for UNIX and Linux
      1. About recovering the primary server disk for UNIX and Linux
        1.  
          Recovering the primary server when root is intact
        2.  
          Recovering the primary server when the root partition is lost
      2.  
        About recovering the NetBackup media server disk for UNIX
      3.  
        Recovering the system disk on a UNIX client workstation
    7. About clustered NetBackup server recovery for UNIX and Linux
      1.  
        Replacing a failed node on a UNIX or Linux cluster
      2.  
        Recovering the entire UNIX or Linux cluster
    8. About disk recovery procedures for Windows
      1. About recovering the primary server disk for Windows
        1.  
          Recovering the primary server with Windows intact
        2.  
          Recovering the primary server and Windows
      2.  
        About recovering the NetBackup media server disk for Windows
      3.  
        Recovering a Windows client disk
    9. About clustered NetBackup server recovery for Windows
      1.  
        Replacing a failed node on a Windows VCS cluster
      2.  
        Recovering the shared disk on a Windows VCS cluster
      3.  
        Recovering the entire Windows VCS cluster
    10.  
      Generating a certificate on a clustered primary server after disaster recovery installation
    11.  
      About restoring disaster recovery package
    12.  
      About the DR_PKG_MARKER_FILE environment variable
    13.  
      Restoring disaster recovery package on Windows
    14.  
      Restoring disaster recovery package on UNIX
    15. About recovering the NetBackup catalog
      1.  
        About the catalog backup process
      2.  
        Prerequisites for recovering the NetBackup catalog or NetBackup catalog image files
      3.  
        About NetBackup catalog recovery on Windows computers
      4.  
        About NetBackup catalog recovery from disk devices
      5.  
        About NetBackup catalog recovery and symbolic links
      6. About NetBackup catalog recovery
        1.  
          Specifying the NetBackup job ID number after a catalog recovery
      7.  
        NetBackup disaster recovery email example
      8. About recovering the entire NetBackup catalog
        1.  
          Recovering the entire NetBackup catalog using the NetBackup catalog recovery wizard
        2.  
          Recovering the entire NetBackup catalog using bprecover -wizard
      9.  
        Establishing a connection with NAT media server before catalog recovery
      10. About recovering the NetBackup catalog image files
        1.  
          Recovering the NetBackup catalog image files using the NetBackup catalog recovery wizard
        2.  
          Recovering the NetBackup catalog image files using bprecover -wizard
      11. About recovering the NetBackup databases
        1.  
          Recovering the NetBackup database from a backup
        2.  
          Recovering the NetBackup database from staging
        3.  
          About processing the NetBackup database in staging
        4.  
          Terminating database connections
      12.  
        Recovering the NetBackup catalog when NetBackup Access Control is configured
      13.  
        Recovering the NetBackup catalog from a nonprimary copy of a catalog backup
      14.  
        Recovering the NetBackup catalog without the disaster recovery file
      15.  
        Recovering a NetBackup user-directed online catalog backup from the command line
      16.  
        Restoring files from a NetBackup online catalog backup
      17.  
        Unfreezing the NetBackup online catalog recovery media
      18.  
        Steps to carry out when you see exit status 5988 during catalog recovery

About log collection by job ID

NetBackup includes a command line interface and API option of gathering relevant logs by specifying a job ID, and then uploading the gathered logs. With the specified job ID, logs within the job run time frame are gathered from the primary server, media server, and clients if reachable.

Legacy logs and try file logs may include logs outside of job run time frame as those logs do not honor the time duration filter. Logs from all the hosts that are involved in a job hierarchy are gathered by specifying a job ID of the hierarchy. Veritas recommends that you use time synchronization for log collection on all hosts that are included in the job time duration. A valid job ID must be present in the Activity monitor. By default, a job ID is removed one week after the job is completed. The nblogadm utility cannot gather the logs of a job ID if bpdbjobs or the Activity monitor cannot retrieve the job details of the specified job ID. In addition, the logs gathering command line interface and API option do not support Backup Now jobs. The VxUL logs are not gathered from a back-level media server or a client.

The gathered logs include NetBackup product and NetBackup support utility (nbsu) logs. The log gathering supports one record ID at a time, no concurrent log gathering from multiple record IDs.

To avoid filling up the file system on primary server, media server, and client during log gathering, Veritas recommends that you use the KEEP_LOGS_SIZE_GB option. Veritas recommends that you specify the size of NetBackup logs that are retained before you gather the logs. See the NetBackup Administrator's Guide, Volume I for more information.

A time-based log cleanup process is introduced in NetBackup 10.2. When logs are not removed 7 days after they are gathered, this process removes those gathered logs and the log record. To have a shorter log retention period of 5 days on a primary server or a media server, set the LOG_RECORD_EXPIRY_DAYS to 5 with bpsetconfig. To have a shorter log retention period of 5 days on a client, set the LOG_RECORD_EXPIRY_DAYS to 5 with nbsetconfig. The smaller number takes precedence. NetBackup may not remove logs from a back-level media server or a client if it encounters errors during the log cleanup process. Veritas recommends that you remove the left behind logs manually when you encounter this situation.

To avoid the gathered logs filling up the file system on a primary server, a predefined 10GB free space watermark is used. NetBackup uses this watermark to check and prevent the start of log gathering when the available disk space is less than the sum of watermark and the estimated size of the gathered logs. Additionally, the log gathering process stops when the available space on a primary server falls under the sum of watermark and the estimated size of the gathered logs. In this release, the check of available space is extended to media servers and clients. To reduce the free space watermark to 5GB, set the HIGH_WATERMARK_TRB_LOG_RECORDS = 5 with bpsetconfig command.

You have two options to gather higher verbosity logs. You can manually enable logging and configure the desired logging level as documented in the NetBackup Logging Reference Guide. Or you can use the command line interface and API option to gather and to configure the logging level values on a primary server, a media server, or a client. Then restart the job and start a log gathering task. The feature includes an API option to retrieve the job ID of a new job after the originally specified job is restarted.

Two log record IDs are required to gather higher verbosity logs. The first log record ID (Record ID 1) is used for enabling logging and configuring the desired logging levels to the hosts of a job ID (Job ID 1). After logging levels are configured and the original job (Job ID 1) is restarted, a new job ID (Job ID 2) is generated. The second log record ID (Record ID 2) is used for gathering logs within the new restarted job (Job ID 2) run time frame from the primary server, media server, and clients if reachable. On a backup domain that consists of multiple media servers and clients, the media servers or clients of Record ID 1 and Record ID 2 may not be the same due to the job scheduling algorithms.

In NetBackup 10.2 and later, a SHA256 checksum of each collected log is included in the Progress.txt file of the directory shown. The checksum fails to compute on a media server or a client with back-level of NetBackup installed.

Location of the Progress.txt file:

  • Linux and UNIX

    /usr/openv/netbackup/logs/nblastaging/record ID-timestamp: YYYYMMDD-HHMMSS

  • Windows

    install_path\Veritas\NetBackup\logs\nblastaging\record ID-timestamp: YYYYMMDD-HHMMSS

NetBackup 10.2 and later includes a space usage enhancement to the required log storage space on a primary server. The log files that are gathered from a primary server, a media server, and a client are no longer stored on the primary server. The files reside with each host in the directory shown.

  • Linux and UNIX

    /usr/openv/netbackup/logs/nblaevidence/nbla-hash

  • Windows

    install_path\Veritas\NetBackup\logs\nblaevidence\nbla-hash

Supported job types:

  • Backup

  • Backup from Snapshot

  • Snapshot

Supported workload types:

  • File System

  • Hadoop (logs are only collected from primary and media servers)

  • Microsoft Exchange (logs are only collected from primary and media servers)

  • Windows Server Failover Cluster (WSFC)

  • Microsoft SQL Server Availability Group

  • NDMP (logs are only collected from primary and media servers)

  • Oracle

  • Snapshot Manager (logs are only collected from primary and media servers)

  • VMware

When you set the disableIPResolution option on a primary server, logs on the protected virtual machines are not gathered when you specify the job ID of the VMware workload type. See https://www.veritas.com/content/support/en_US/doc/21902280-158271263-0/v38310204-158271263 for more details of the setting.

Gathering logs from distributed workloads with multiple clients is supported with this release. Examples of distributed workloads include Oracle RAC and MSSQL availability groups.

You can upload the gathered logs to the Veritas Technical Support organization with the command line interface and the API options as well as a valid support case ID. See https://www.veritas.com/support/en_US/article.100038665 for more details.

The password that is provided to the API to upload the logs is stored as a credential object in the NetBackup credential management pane. It is removed after logs are uploaded.

A single tar file consisting of gathered logs is uploaded to the Veritas Technical Support organization's SFTP server or the specified SFTP server. If the Veritas Technical Support organization does not manage the SFTP server, the upload operation fails if a tar file with the same name exists on the SFTP server.

Use the nblogadm log to debug or troubleshoot log collection by job ID. Use the nblogadm log for both the command line interface and API option. To collect logs from the nblogadm process, confirm that the directory that is shown is present:

  • Linux and UNIX

    /usr/openv/netbackup/logs/nblogadm

  • Windows

    install_path\Veritas\NetBackup\logs\nblogadm

Table: New command line interface flags introduced to nblogadm utility

Command line interface

Description

nblogadm --action getactivecollections --json

Get the number of records that are in-progress. (Does not collect logs for more than one record ID at a time)

nblogadm --action createrecord --jobid job ID --json

Take a job ID, create an empty log record, and return the created record ID.

nblogadm --action collectlogsforjob --recid record ID --runnbsu --json

Create a task to gather the logs for the specified record ID.

nblogadm --action startupload --recid record ID --sftp_host sftp host --sftp_port sftp port --supportcase support case ID --target_folder sftp host folder --fingerprint sftp host fingerprint, use comma as delimiter without spaces --passcredentials --json

Create a task to upload the logs for the specified record ID and SFTP server access information.

nblogadm --action deleterecord --recid record ID --json

Delete the collected logs and record for the specified record ID. This action also terminates any in-progress task.

nblogadm --action casedetail --recid record ID --json

Get the log gather and the log upload task details for the specified record ID.

nblogadm --action getlogging --recid record ID --json

Get the list of hosts, their components, and the corresponding logging level values for the specified record ID.

nblogadm --action getlogging --recid record ID [--hostandlog MASTER|MEDIA|CLIENT:hostname] --json

When you specify the --hostandlog parameter, this command returns the components' logging level values of the specified host for the specified record ID. Without the --hostandlog parameter, the command returns the components' logging level values for the list of hosts for the specified record ID.

nblogadm --action setlogging --recid record ID --hostandlog MASTER|MEDIA|CLIENT:hostname@legacy component1=legacy component1 level,vxul component1=debug level%diagnostic level,misc type=misc type value --json

Update the component's logging level settings of the specified host for the specified record ID. Separate calls are required to update each host.

The specified legacy and vxul component names must be in lower case.