10-15-2014 08:22 PM
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.
Solved! Go to Solution.
12-16-2014 10:25 PM
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.
10-15-2014 08:43 PM
Is the error something to do with this statement " NcfProcess::impersonateSpawn: Unable to spawn command "?
Tq.
10-30-2014 01:42 AM
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
12-16-2014 10:25 PM
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.