EBR intermittently fails. when using a script.
EBR Full Offline Backup. It runs as a Windows Scheduled task every night. It invokes a CMD file. In the CMD file the command "initfnsw -y stop" is running when it hangs.
2006/09/23 212,3,0 <fnsw> fn_util stopperm ...
fn_util/stopdb: Could Not Shutdown Permanent Database.
2006/09/23 211,1,11 <fnsw> TM_daemon_ctl -f 552 -p 0x4d8 -c 0x2 ... [INFO]
Shutting down security database...
2006/09/23 211,1,13 <fnsw> TM_daemon_ctl -f 552 -p 0x4d8 -c 0x2 ... [SERIOUS]
Exec of 'fn_util stopsec' returned non-zero status of '0xffffffff'.
2006/09/23 211,1,11 <fnsw> TM_daemon_ctl -f 552 -p 0x4d8 -c 0x2 ... [SERIOUS]
A failure occurred while waiting for a process to complete.
Resolving the problem
This problem is not reproducible and it doesn't happen every night....it has happened 3 times in 2 months (with the EBR running every night). Running the EBR manually will always work.
Since this is a Windows Server, try replacing statements
"net stop IMSService" with "start /WAIT net stop IMSService",
"initfnsw -y stop" with "start /WAIT initfnsw -y stop", etc. in the "EBR_full_off_bkup.cmd" script.
The sleep statements may not be long enough, but using"start /wait", will force the statement to complete before continuing.