Forum Discussion

Vikesh_Thakur's avatar
2 years ago

Catalog Backup Failing with Error code 9202

Catalog backup Failed with error as the service user account does not have the write permissions on the specified path.(9202)

Nov 9, 2022 12:33:03 AM - requesting resource  stnbbackup.shiptech.carnival.com.NBU_CATALOG.MAXJOBS
Nov 9, 2022 12:33:03 AM - granted resource  stnbbackup.shiptech.carnival.com.NBU_CATALOG.MAXJOBS
Nov 9, 2022 12:33:03 AM - estimated 0 kbytes needed
Nov 9, 2022 12:33:03 AM - begin Parent Job
Nov 9, 2022 12:33:03 AM - begin Catalog Backup:Database Manager Query
Nov 9, 2022 12:33:07 AM - Error bpdbm (pid=287722) Unable to create disaster recovery package at /DR-Files: The service user account does not have the write permissions on the specified path. (9202)
Operation Status: 9202
Nov 9, 2022 12:33:08 AM - end Catalog Backup:Database Manager Query; elapsed time 0:00:05
Nov 9, 2022 12:33:08 AM - begin Catalog Backup:Stop On Error
Operation Status: 0
Nov 9, 2022 12:33:08 AM - end Catalog Backup:Stop On Error; elapsed time 0:00:00
Operation Status: 9202
Nov 9, 2022 12:33:08 AM - end Parent Job; elapsed time 0:00:05
The service user account does not have the write permissions on the specified path.  (9202)

 

  • Here are the commands and steps that need to be done to change the service user to "root" and allow the catalog backup to complete successfully.

     

    Stop all NetBackup services: netbackup stop

    Kill any remaining services/processes: bp.kill_all

    Change the service user: nbserviceusercmd --changeUser

    When asked for what user to change to, type: root

    After service user is successfully changed to "root" start NetBackup services: netbackup start

    Then attempt the catalog backup again.

     

  • Here are the commands and steps that need to be done to change the service user to "root" and allow the catalog backup to complete successfully.

     

    Stop all NetBackup services: netbackup stop

    Kill any remaining services/processes: bp.kill_all

    Change the service user: nbserviceusercmd --changeUser

    When asked for what user to change to, type: root

    After service user is successfully changed to "root" start NetBackup services: netbackup start

    Then attempt the catalog backup again.

     

    • davidmoline's avatar
      davidmoline
      Level 6

      Hi Vikesh_Thakur 

      While what you have posted is a solution, it is not the best which is to simply update the permissions on the folder (DR-Files) so that the service account user has write permissions. 

      This avoids introducing risk by running the majority of the daemons as the root user. The intent of using a non-privileged service account was to reduce the risk profile.

      Cheers
      David

      • Vikesh_Thakur's avatar
        Vikesh_Thakur
        Level 2

        This Solution is provided by VERITAS Technical support engineer.

        and its works . Catalog backup are running fine now