Veritas NetBackup™ Troubleshooting Guide

Last Published:
Product(s): NetBackup (8.1.2)
  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 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 master 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.  
        How a host's CRL affects certificate revocation troubleshooting
      2.  
        NetBackup job fails because of revoked certificate
      3.  
        NetBackup job fails because of apparent network error
      4.  
        NetBackup job fails because of unavailable resource
      5.  
        Master server security certificate is revoked
      6.  
        Determining a NetBackup host's certificate state
    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 master server and client
      2.  
        Example of host name and service entries on UNIX master 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 window 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
    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. About troubleshooting Auto Image Replication
      1.  
        Troubleshooting Auto Image Replication
      2.  
        About troubleshooting automatic import jobs
    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
  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
  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 master server disk for UNIX and Linux
        1.  
          Recovering the master server when root is intact
        2.  
          Recovering the master 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 master server disk for Windows
        1.  
          Recovering the master server with Windows intact
        2.  
          Recovering the master 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 master server after disaster recovery installation
    11.  
      About restoring disaster recovery package
    12.  
      Restoring disaster recovery package on Windows
    13.  
      Restoring disaster recovery package on UNIX
    14. About recovering the NetBackup catalog
      1.  
        About NetBackup catalog recovery on Windows computers
      2.  
        About NetBackup catalog recovery from disk devices
      3.  
        About NetBackup catalog recovery and symbolic links
      4. About NetBackup catalog recovery and OpsCenter
        1.  
          Specifying the NetBackup job ID number after a catalog recovery
      5.  
        NetBackup disaster recovery email example
      6. About recovering the entire NetBackup catalog
        1.  
          Recovering the entire NetBackup catalog using the Catalog Recovery Wizard
        2.  
          Recovering the entire NetBackup catalog using bprecover -wizard
      7. About recovering the NetBackup catalog image files
        1.  
          Recovering the NetBackup catalog image files using the Catalog Recovery Wizard
        2.  
          Recovering the NetBackup catalog image files using bprecover -wizard
      8. About recovering the NetBackup relational database
        1.  
          Recovering NetBackup relational database files from a backup
        2.  
          Recovering the NetBackup relational database files from staging
        3.  
          About processing the relational database in staging
      9.  
        Recovering the NetBackup catalog when NetBackup Access Control is configured
      10.  
        Recovering the NetBackup catalog from a nonprimary copy of a catalog backup
      11.  
        Recovering the NetBackup catalog without the disaster recovery file
      12.  
        Recovering a NetBackup user-directed online catalog backup from the command line
      13.  
        Restoring files from a NetBackup online catalog backup
      14.  
        Unfreezing the NetBackup online catalog recovery media
      15.  
        Steps to carry out when you see exit status 5988 during catalog recovery

Recovering the NetBackup relational database files from staging

During a catalog backup, NetBackup copies the relational database files to the staging directory. The recovery option that restores the image files and the configuration files also restores the relational database files to the staging directory.

See About recovering the NetBackup catalog image files.

You can recover the NetBackup NBDB relational database files from the staging directory. You can also use NetBackup commands process the NBDB relational database files further.

See About processing the relational database in staging.

When the relational database is recovered from staging, NetBackup also applies the current online transaction log during the recovery. Applying the transaction log ensures that the database is as consistent as possible with the currentdb/images directory.

Two recovery procedures from the staging directory exist, as follow:

To recover relational database files from staging if the database is not corrupted

  1. Run the following command on the master server to recover NBDB from staging:

    UNIX: /usr/openv/netbackup/bin/nbdb_restore -dbn NBDB -recover -staging

    Windows: install_path\NetBackup\bin\nbdb_restore -dbn NBDB -recover -staging

  2. Stop and restart NetBackup, as follows:

    UNIX:

    /usr/openv/netbackup/bin/bp.kill_all
    /usr/openv/netbackup/bin/bp.start_all

    Windows:

    install_path\NetBackup\bin\bpdown
    install_path\NetBackup\bin\bpup

To recover relational database files from staging if the database is corrupted

  1. If the NetBackup services are running, stop them as follows:

    UNIX: /usr/openv/netbackup/bin/bp.kill_all

    Windows: install_path\NetBackup\bin\bpdown

  2. Move the *.db and *.log files from the following database file directories to a temporary directory:

    UNIX: /usr/openv/db/data

    Windows: C:\Program Files\Veritas\NetBackupDB\data

  3. Configure SQL Anywhere so that it does not try to start automatically when the host is started, as follows:

    Linux: /usr/openv/db/bin/nbdb_admin -auto_start NONE

    Windows: install_path\NetBackup\bin\nbdb_admin -auto_start NONE

  4. Start the SQL Anywhere server, as follows:

    UNIX: /usr/openv/netbackup/bin/nbdbms_start_stop start

    Windows: install_path\NetBackup\bin\bpup -e SQLANYs_VERITAS_NB

  5. Create an empty database, as follows:

    UNIX: /usr/openv/db/bin/create_nbdb -drop

    Windows: install_path\NetBackup\bin\create_nbdb -drop

  6. Stop and restart NetBackup, as follows:

    UNIX and Linux:

    /usr/openv/netbackup/bin/bp.kill_all
    /usr/openv/netbackup/bin/bp.start_all

    Windows:

    install_path\NetBackup\bin\bpdown
    install_path\NetBackup\bin\bpup
  7. Run the NetBackup tpext command to update the device mapping files, as follows:

    UNIX: /usr/openv/volmgr/bin/tpext -loadEMM

    Windows: install_path\Volmgr\bin\tpext -loadEMM

  8. If you used the nbdb_move command to relocate NetBackup database files, re-create the directories where the files were located when you backed up the catalog.
  9. Start the NetBackup Device Manager, as follows:

    UNIX: /usr/openv/volmgr/bin/ltid -v

    Windows: Start the device manager service.

  10. Run the following command on the master server to recover NBDB from staging:

    UNIX: /usr/openv/netbackup/bin/nbdb_restore -dbn NBDB -recover -staging

    Windows: install_path\NetBackup\bin\nbdb_restore -dbn NBDB -recover -staging

  11. Stop and restart NetBackup, as follows:

    UNIX:

    /usr/openv/netbackup/bin/bp.kill_all
    /usr/openv/netbackup/bin/bp.start_all

    Windows:

    install_path\NetBackup\bin\bpdown
    install_path\NetBackup\bin\bpup
  12. After the services are restarted, run the following command:

    On a non-clustered setup:

    Windows:

    install_path\netbackup\bin\nbcertcmd -renewcertificate

    UNIX:

    /usr/openv/netbackup/bin/nbcertcmd -renewcertificate

    On a clustered setup:

    Windows:

    install_path\netbackup\bin\nbcertcmd -renewcertificate -cluster

    UNIX:

    /usr/openv/netbackup/bin/nbcertcmd -renewcertificate -cluster

    If the command fails with the exist status 5988, refer to the following topic:

    See Steps to carry out when you see exit status 5988 during catalog recovery.