Author |
Message |
kerrygarrett
Joined: 18 Dec 2012 Posts: 2 Country: New Zealand |
|
The Parameter is incorrect - Job has been disabled! |
|
We have been experiencing the following errors in our 24 x 7 Scheduler for the past 3-4 months
(Following errors taken from Event Viewer on the server)
Error:
NomQty.I2.3.M: Error: 87 - The parameter is incorrect.
following soon after with
Warning:
NomQty.I2.3.M: Job has been disabled!
Now the obvious answer would be is the parameter correct?
These batch jobs run several times a day, every day of the week.
Mostly, they work perfectly but randomly we get these errors including the Job is disabled.
When checking the status of these jobs we find they have in fact run successfully and are not disabled.
Any thoughts as to how we can sort this out?
We are running:
24 x 7 Scheduler
Version 3.6.8
|
|
Tue Dec 18, 2012 8:38 pm |
|
|
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7907
|
|
|
|
Error 87 is the exit code of your batch file. the default error returned by operation system for that error code is "The parameter is incorrect"
Please analyze your batch file for what could be causing that particular error.
Please be aware that version 3.6.8 is no longer supported, it's very old and not compatible with the latest Windows releases. Please upgrade to the current version 5.0
|
|
Thu Dec 20, 2012 3:13 pm |
|
|
kerrygarrett
Joined: 18 Dec 2012 Posts: 2 Country: New Zealand |
|
|
|
These errors I list are not a normal occurance.
Only happen every now and then so my question is why? If there was a problem with the batch job configuration wouldn't you think it would be happening all of the time unless there was an issue with this version of 24 x 7?
|
|
Thu Dec 20, 2012 4:39 pm |
|
|
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7907
|
|
|
|
I think you are looking in a wrong place. The question about why your batch file returns exit code 87 should be addressed to the developer of that batch file. I have no way to know what the batch file is doing.
If you want us to take a look, please paste the code of your batch file
|
|
Fri Dec 21, 2012 12:51 pm |
|
|
mtpeden
Joined: 25 Jan 2015 Posts: 2 Country: United States |
|
Error 87: - The parameter is incorrect |
|
I know this is an old thread but I did not see a final resolution and I am facing the same problem.
I am using 24x7 ver 3.6.10
The job is running a database command which is an Oracle Stored Procedure
I can pull the SQL out and execute it successfully in Oracle without any failures.
There are no Exception errors defined as 87 in the Oracle stored procedure.
This seems to be an error code internal to 24x7 related to execution of SQL codes.
This job runs sometimes and other times it gives me this error. I cannot pinpoint what causes this situation to occur.
Any ideas or thoughts on next steps would be appreciated.
|
|
Sun Jan 25, 2015 12:06 pm |
|
|
mtpeden
Joined: 25 Jan 2015 Posts: 2 Country: United States |
|
Error 87: - The parameter is incorrect |
|
Found a resolution to this.
I had this job set as a detached process with a 2 min timeout.
I unchecked the detached process and ran the job again.
The job executed without issue.
I checked the detached process and ran the job again and got the Error 87 once again.
I have left the detached process unchecked at this point to resolve the issue.
|
|
Sun Jan 25, 2015 12:16 pm |
|
|
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7907
|
|
|
|
Thanks for posting the status and solution.
In the old version 3.6 that you are running, the detached option is for use with script type and database jobs (I mean SQL script jobs run by 24x7). the detached option when enabled option makes 24x7 run the job using a separate OS process to protect the scheduler process from job resource leaks and crashes. For regular processes such as as external executable files and batch files, the detached option is not needed and shouldn't be used.
|
|
Sun Jan 25, 2015 11:45 pm |
|
|
|