SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Remote job exit code: -1

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Remote job exit code: -1
Author Message
John Natale



Joined: 13 Sep 2000
Posts: 107

Post Remote job exit code: -1 Reply with quote

Hello,

I have upgraded to version 2.3.6 and I have started to recieve the following error condition on a job chain:

(1) Semaphore file 0003100030.24x7 found
(2) Job started
(3) Agent ADP1 contacted
(4) Remote job posted for execution
(5) Remote job exit code: -1 ------ This is the error job did not run
(6) Connection to ADP closed

If I remove the what for a particular file to exist and say run now the job
runs fine. The first job in the chain is remote, the second job is local to the master server and the third job is remote. The last one is the job with this error but it appears to be a problem with any remote job that keys off a file.
If I change them to a time or manual the jobs execute correctly.

John

Tue Sep 26, 2000 4:05 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7841

Post Re: Remote job exit code: -1 Reply with quote

1. Any messages in the scheduler log on the agent side? If yes, what they say?

2. What happens when you run this job synchronously (vs. asynchronously)?

: Hello,

: I have upgraded to version 2.3.6 and I have started to recieve the following
: error condition on a job chain: (1) Semaphore file 0003100030.24x7 found
: (2) Job started
: (3) Agent ADP1 contacted
: (4) Remote job posted for execution
: (5) Remote job exit code: -1 ------ This is the error job did not run
: (6) Connection to ADP closed

: If I remove the what for a particular file to exist and say run now the job
: runs fine. The first job in the chain is remote, the second job is local to
: the master server and the third job is remote. The last one is the job
: with this error but it appears to be a problem with any remote job that
: keys off a file.
: If I change them to a time or manual the jobs execute correctly.

: John

Tue Sep 26, 2000 4:36 pm View user's profile Send private message
John Natale



Joined: 13 Sep 2000
Posts: 107

Post Re: Remote job exit code: -1 Reply with quote

1. There are no messages on the agent side.

2. If I make the job synchronous the job runs. But the problem with that is the fact that if I run it that way it will tie up the server for an hour since it's doing a 700 MB database import and I need other jobs to execute at the same time on other agents.

: 1. Any messages in the scheduler log on the agent side? If yes, what they
: say?

: 2. What happens when you run this job synchronously (vs. asynchronously)?

Wed Sep 27, 2000 10:50 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7841

Post Re: Remote job exit code: -1 Reply with quote

Here is what you can do as a workaround:
Make this job synchronous and having "no schedule". Create another asynchronous job instead. That replacement job - the second job will run the first job in a separate instance of 24x7 using the following DOS command "24x7 /JOB[first job id or name here]". Note that the first/original job will be synchronous and the main instance of the scheduler will not be blocked and will be available for other jobs and the agent will be also available for connection/processing submited by other 24x7 schedulers and agents while processing your 700MB import.

: 1. There are no messages on the agent side.

: 2. If I make the job synchronous the job runs. But the problem with that is
: the fact that if I run it that way it will tie up the server for an hour
: since it's doing a 700 MB database import and I need other jobs to execute
: at the same time on other agents.

Wed Sep 27, 2000 11:13 am View user's profile Send private message
John Natale



Joined: 13 Sep 2000
Posts: 107

Post Re: Remote job exit code: -1 Reply with quote

Yes, that does work.

Could you please explain to me why this job and other async jobs appear to have this type of problem? I just want to know because I want increase my understanding of things and why they work the way they do.

Since this is no longer a real problem just a quest for knowledge there is no rush on providing me with this information.

Thank You for Your Time.

Wed Sep 27, 2000 12:39 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7841

Post Re: Remote job exit code: -1 Reply with quote

Does it happen with any async job, even as simple as launch the Notepad?
What all these jobs have in common?

: Yes, that does work.

: Could you please explain to me why this job and other async jobs appear to
: have this type of problem? I just want to know because I want increase my
: understanding of things and why they work the way they do.

: Since this is no longer a real problem just a quest for knowledge there is no
: rush on providing me with this information.

: Thank You for Your Time.

Wed Sep 27, 2000 3:24 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.