cancel
Showing results for 
Search instead for 
Did you mean: 

NBU 7.5 Sybase backup ERR - bphdb exit status =6

suraya
Level 4
Partner Certified

Hi, My Sybase backup failed with error from bphdb log as below. However the sybase_stderr files were empty.

Master Server = Windows 2008 and NBU 7.6.0.1

client = Windows 2008 both using NBU 7.5.0.5

 

from bphdb:

11:16:01.590 [12208.10152] <2> bphdb get_filelist: set recv timeout 300
11:16:01.590 [12208.10152] <2> bphdb get_filelist: INF - Read filename: <I:\NBU_Sybase_Scripts\sybase_PIP_backup.cmd>
11:16:01.590 [12208.10152] <2> bphdb get_filelist: set recv timeout 300
11:16:01.590 [12208.10152] <2> bphdb get_filelist: INF - Read filename: <I:\NBU_Sybase_Scripts\sybase_PIP2_backup.cmd>
11:16:01.590 [12208.10152] <2> bphdb get_filelist: set recv timeout 300
11:16:01.590 [12208.10152] <2> bphdb get_filelist: INF - Read filename: <CONTINUE>
11:16:01.591 [12208.10152] <4> bphdb do_script: INF - Processing "I:\NBU_Sybase_Scripts\sybase_PIP_backup.cmd"
11:16:01.592 [12208.11028] <2> ACELogCallback::log: ACE logging for thread 11028 had been hooked
11:16:01.592 [12208.11028] <2> ACEThreadHook::start: New thread 11028 starting (../NcfInit.cpp:196)
11:16:01.592 [12208.11028] <2> ProcessMgr::ncfsvc: Activating process for command "I:\NBU_Sybase_Scripts\sybase_PIP_backup.cmd" (../ProcessMgr.cpp:650)
11:16:01.598 [12208.11028] <16> NcfProcess::impersonateSpawn: Unable to spawn command '"I:\NBU_Sybase_Scripts\sybase_PIP_backup.cmd"' error 2
11:16:01.598 [12208.11028] <2> ProcessMgr::ncfsvc: Deactivating process for command "I:\NBU_Sybase_Scripts\sybase_PIP_backup.cmd" (../ProcessMgr.cpp:654)
11:16:01.598 [12208.11028] <2> ACEThreadHook::start: Thread 11028 terminating with return value 0 (../NcfInit.cpp:216)
11:16:02.592 [12208.10152] <16> bphdb do_script: ERR - failed executing command <"I:\NBU_Sybase_Scripts\sybase_PIP_backup.cmd">
11:16:02.592 [12208.10152] <16> bphdb do_script: ERR - exit status: <-1>
11:16:02.592 [12208.10152] <4> bphdb do_script: INF - Processing "I:\NBU_Sybase_Scripts\sybase_PIP2_backup.cmd"
11:16:02.593 [12208.10320] <2> ACELogCallback::log: ACE logging for thread 10320 had been hooked
11:16:02.593 [12208.10320] <2> ACEThreadHook::start: New thread 10320 starting (../NcfInit.cpp:196)
11:16:02.593 [12208.10320] <2> ProcessMgr::ncfsvc: Activating process for command "I:\NBU_Sybase_Scripts\sybase_PIP2_backup.cmd" (../ProcessMgr.cpp:650)
11:16:02.599 [12208.10320] <16> NcfProcess::impersonateSpawn: Unable to spawn command '"I:\NBU_Sybase_Scripts\sybase_PIP2_backup.cmd"' error 2
11:16:02.599 [12208.10320] <2> ProcessMgr::ncfsvc: Deactivating process for command "I:\NBU_Sybase_Scripts\sybase_PIP2_backup.cmd" (../ProcessMgr.cpp:654)
11:16:02.599 [12208.10320] <2> ACEThreadHook::start: Thread 10320 terminating with return value 0 (../NcfInit.cpp:216)
11:16:03.593 [12208.10152] <16> bphdb do_script: ERR - failed executing command <"I:\NBU_Sybase_Scripts\sybase_PIP2_backup.cmd">
11:16:03.593 [12208.10152] <16> bphdb do_script: ERR - exit status: <-1>
11:16:03.593 [12208.10152] <4> bphdb do_script: INF - successful backups <0>, failed backups <2>
11:16:03.593 [12208.10152] <16> bphdb Exit: ERR - bphdb exit status = 6: the backup failed to back up the requested files

11:16:03.593 [12208.10152] <4> bphdb Exit: INF - EXIT STATUS 6: the backup failed to back up the requested files

11:16:03.593 [12208.10152] <2> ProcessMgr::~ProcessMgr: Waiting for service threads to terminate (../ProcessMgr.cpp:588)

I'm googling for exit status 6, script exit status = -1 still.

Any ideas?

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions

suraya
Level 4
Partner Certified

Hi Marianne,

Thanks for the reply. I was having problem updating this forum, kept showing Unplublished.

Anyway, this issue was resolved.

Findings:
a. Sybase online backups failed with below error on:
 - bpbrm log: bpbrm Exit: client backup EXIT STATUS 6: the backup failed to back up the requested files
 - bphdb log: <16> NcfProcess::impersonateSpawn: Unable to spawn command '"I:\NBU_Sybase_Scripts\sybase_PIP_backup.cmd"' error 2

b. No event logged in OS event viewer.
c. virtualname is the Windows virtual cluster name for nodeA and nodeB
d. Cluster resources owner is currently nodeA but Drive I:\ is owned by nodeB causing Netbackup not able to connect to drive I:\.

Actions performed:
a. Copy NBU_Sybase_Scripts folder from drive i:\ to local drive D:\ on both servers nodeA and nodeB
b. Re-map backup selection list for Sybase-PIP and Sybase-PIP-Log policies to D:\NBU_Sybase_Scripts.
c. Test backups and both policies are currently running.

 

View solution in original post

3 REPLIES 3

suraya
Level 4
Partner Certified

Is the error something to do with this statement " NcfProcess::impersonateSpawn: Unable to spawn command "?

Tq.

Michael_G_Ander
Level 6
Certified

Have you tried to run I:\NBU_Sybase_Scripts\sybase_PIP_backup.cmd by hand ?

Some time it will give you error messages not shown in the logs

The standard questions: Have you checked: 1) What has changed. 2) The manual 3) If there are any tech notes or VOX posts regarding the issue

suraya
Level 4
Partner Certified

Hi Marianne,

Thanks for the reply. I was having problem updating this forum, kept showing Unplublished.

Anyway, this issue was resolved.

Findings:
a. Sybase online backups failed with below error on:
 - bpbrm log: bpbrm Exit: client backup EXIT STATUS 6: the backup failed to back up the requested files
 - bphdb log: <16> NcfProcess::impersonateSpawn: Unable to spawn command '"I:\NBU_Sybase_Scripts\sybase_PIP_backup.cmd"' error 2

b. No event logged in OS event viewer.
c. virtualname is the Windows virtual cluster name for nodeA and nodeB
d. Cluster resources owner is currently nodeA but Drive I:\ is owned by nodeB causing Netbackup not able to connect to drive I:\.

Actions performed:
a. Copy NBU_Sybase_Scripts folder from drive i:\ to local drive D:\ on both servers nodeA and nodeB
b. Re-map backup selection list for Sybase-PIP and Sybase-PIP-Log policies to D:\NBU_Sybase_Scripts.
c. Test backups and both policies are currently running.