SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Error running local jobs as if remote agent
Goto page 1, 2, 3  Next
 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Error running local jobs as if remote agent
Author Message
LeeD



Joined: 17 May 2007
Posts: 311
Country: New Zealand

Post Error running local jobs as if remote agent Reply with quote
We're having jobs refuse to fire with the following error message

%jobname% Failed to execute remote job. Agent LOCAL connection refused

It's as if it thinks local is a remote agent profile? There are none defined and no remote jobs either; it's only happening on one job in particular but I have rebuilt that job from scratch when the issue came up yesterday and the prob came back this morning. I've managed to get it working again this morning by opening the job, changing the host entry to LEAST BUSY and saving the job, and then changing it back to local and saving.

Any ideas? Might come back tomorrow.....
Thu Jul 19, 2007 6:11 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7955

Post Reply with quote
Yes, it sounds like it wants to find and connect to a remote agent called LOCAL. Do you run any scripts that modify job properties dynamically? Are you sure you are fixing the right job? I mean there is no other job with the same name that is responsible for generating the error message.
Thu Jul 19, 2007 6:29 pm View user's profile Send private message
LeeD



Joined: 17 May 2007
Posts: 311
Country: New Zealand

Post Reply with quote
There's certainly no other job with the same name; the only interaction with other jobs that it does is use Jobrun to run the next job in a chain.
Thu Jul 19, 2007 6:30 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7955

Post Reply with quote
Do other jobs in chain point to LOCAL or any other remote agent?
Thu Jul 19, 2007 6:40 pm View user's profile Send private message
LeeD



Joined: 17 May 2007
Posts: 311
Country: New Zealand

Post Reply with quote
No, there's no local remote agent profile and the jobs don't point to it.

The child jobs don't error.
Thu Jul 19, 2007 6:41 pm View user's profile Send private message
LeeD



Joined: 17 May 2007
Posts: 311
Country: New Zealand

Post Reply with quote
And they are all local jobs not remote
Thu Jul 19, 2007 6:58 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7955

Post Reply with quote
Does the job trigger any notification actions, for example, actions that execute scripts or other jobs? Any script library calls resulting in JobRemoteRun calls or similar?

Did you recreate the job from scratch or created it using "copy job" method?
Thu Jul 19, 2007 7:04 pm View user's profile Send private message
LeeD



Joined: 17 May 2007
Posts: 311
Country: New Zealand

Post Reply with quote
Recreated it from scratch. The only notification the job does is RaiseError in JAL, no jobremoteruns or anything.
Thu Jul 19, 2007 7:07 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7955

Post Reply with quote
If you restart the scheduler and still get this error then it must be coming from some other place.
If it still occurres, please attach screenshot of job properties as they appear in the right side of job explorer screen.
Thu Jul 19, 2007 8:04 pm View user's profile Send private message
LeeD



Joined: 17 May 2007
Posts: 311
Country: New Zealand

Post Reply with quote
Ok if it reoccurs I will fix it again and get screenshots.
Thu Jul 19, 2007 8:06 pm View user's profile Send private message
LeeD



Joined: 17 May 2007
Posts: 311
Country: New Zealand

Post Reply with quote
Ok, so this job fails every time it is run with the error

23/07/2007 17:23:51 2 210 0 Run log parser Failed to execute remote job. Agent LOCAL connection refused.

Here are the job properties


I've tried rebuilding it from scratch, and I've tried the trick that worked on the other job which was doing this (setting host to least busy, save, set host to local, save). The other job has not failed again.

I'm running the new JSP web console build. I can run other jobs with it.
Mon Jul 23, 2007 7:12 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7955

Post Reply with quote
I think we are getting somewhere. The property for the host should be blank. If you use the GUI to create or modify a new job, the property will appear as blank or as "Local" which is the same. I wander if it has anything to do with regional settings on your system. When you modify the job using web console the property gets changed to "LOCAL" all upper case, and the scheduler doesn't recognize it anymore as "Local" trying to find a non-existing agent profile with this name. I will do some experimenting with different settings and see if I can reproduce this.
Mon Jul 23, 2007 8:23 pm View user's profile Send private message
LeeD



Joined: 17 May 2007
Posts: 311
Country: New Zealand

Post Reply with quote
Thanks; FYI the web console does not allow me to remove the host property in favour of a blank and neither does the local console; it's not a text field only a dropdown box.
Mon Jul 23, 2007 8:25 pm View user's profile Send private message
LeeD



Joined: 17 May 2007
Posts: 311
Country: New Zealand

Post Reply with quote
And regional settings on the server are set to New Zealand English with a US keyboard layout.
Mon Jul 23, 2007 8:26 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7955

Post Reply with quote
I can reproduce it too. It occurs after I edit job definition using JSP based web console. I will try to find a place where it can be changed.
Mon Jul 23, 2007 9:06 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
Goto page 1, 2, 3  Next
Page 1 of 3

 
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.