Summary
If a timeout happens in the schedule script, it outputs Exit Code: -321.
– Windows Edition
— log excerpt —
03/22/2018 05:41:38.882 {IDS_STRING3037}Running Pre-snapshot script
03/22/2018 05:41:38.882 Script: C:UsersAdministratorDesktoptest.bat
03/22/2018 05:41:38.884 cmd started
03/22/2018 05:43:38.885 WaitForSingleObject result = 258
03/22/2018 05:43:38.885 RunCmd WAIT_TIMEOUT Level=ERROR [0]
03/22/2018 05:43:38.885 cmd exit code = -1
03/22/2018 05:43:38.885 {IDS_STRING3035}Task stopped by a script Level=ERROR [0]
03/22/2018 05:44:38.887 {IDS_STRING3037}Running Pre-snapshot script
03/22/2018 05:44:38.887 Script: C:UsersAdministratorDesktoptest.bat
03/22/2018 05:44:38.890 cmd started
03/22/2018 05:46:38.891 WaitForSingleObject result = 258
03/22/2018 05:46:38.891 RunCmd WAIT_TIMEOUT Level=ERROR [0]
03/22/2018 05:46:38.891 cmd exit code = -1
03/22/2018 05:46:38.891 {IDS_STRING3035}Task stopped by a script Level=ERROR [0]
:
:
03/22/2018 05:46:38.895 {IDS_STRING3018}Exit Code: -321
03/22/2018 05:46:38.898 {IDS_STRING3013}Processed 0.00 GB in 00:05:02 ID=1521697296; {IDS_STRING3019}6 Errors; {IDS_STRING3009}There were errors during the operation.
—————-
– Linux Edition
— log excerpt —
03/23/2018 05:09:54.533 doing snapshot
03/23/2018 05:09:54.553 ######## Running script file:/root/Desktop/test.sh #######
03/23/2018 05:10:54.618 sh /root/Desktop/test.sh timeout(60) Level=WARNING [0]
03/23/2018 05:10:54.618 exit code:2147483647
03/23/2018 05:10:54.618 ######## end of /root/Desktop/test.sh #######
03/23/2018 05:10:54.618 pre-snapshot script returns 2147483647, backup terminated Level=ERROR [0]
03/23/2018 05:10:54.620 {IDS_STRING3167}Complete task 1006, 1, exit code -321
03/23/2018 05:10:54.661 {IDS_STRING3190}Copy engine fails with error: [-321] Error running script Level=ERROR [2]
03/23/2018 05:10:54.830 {IDS_STRING3013}Processed 0.00 GB in 00:01:08 ID=1521781785; {IDS_STRING3019}2 Errors; {IDS_STRING3009}There were errors during the operation.
—————-
Exit Code: -321
Error running script
Exit code list
https://kb.actiphy.com/index.php?action=artikel&cat=5&id=50&artlang=en
More information
– Windows Edition
There is the following Windows system error:
WaitForSingleObject result = 258
WAIT_TIMEOUT
0x00000102L
Check the return code of the WaitForSingleObject function for the result.
https://msdn.microsoft.com/en-us/library/windows/desktop/ms681381(v=vs.85).aspx
- Linux Edition
When the aipcopy process calls the script and terminates itself, it outputs exit code: 2147483647.
Resolution
From the task log, only a script timeout will be evident. To investigate the cause, analyze the script.
(13451079825561)
Comments
0 comments
Article is closed for comments.