SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Job exits without actually executing

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Job exits without actually executing
Author Message
iqbal



Joined: 16 Sep 2010
Posts: 56

Post Job exits without actually executing Reply with quote
We installed 24x7 evaluation version 4.4 on a windows 2003 server and an agent on a HP-UX machine. A shell script has been created in the HP-UX machine to do a particular task. We are able to run the script from $ prompt in the unix machine. We created a job in our master on windows 2003 machine to run this shell script. The job type is Program. The command is /path/SCRIPTNAME. The job has been configured to run on the agent running on HP-UX machine. Whenever we run this job we get immediately the job finished message. Actually the job should take at least one minute and do some task. We have checked the HP-UX machine and found that the job has not been done. However, if we change anything such as changing the script name to something not existing or give a wrong command inside the script file, we get error messages.

Please let me know how to resolve this.
Fri Oct 22, 2010 7:43 am View user's profile Send private message
SysOpJ



Joined: 20 Aug 2010
Posts: 95

Post Reply with quote
What was written to the scheduler.log and debug.log on both machines during your attempt?
Fri Oct 22, 2010 8:21 am View user's profile Send private message
iqbal



Joined: 16 Sep 2010
Posts: 56

Post Reply with quote
This problem has been resolved. We were trying to call isql to execute certain SQL commands to dump a database. sybinit.err created in the folder was showing that the environment variable SYBASE was pointing to /home/sybase and it couldnt find necessary files. In our case it should have been pointing to /sybase.

I added the following two lines in the beginning of the shell and it resolved the problem

SYBASE=/sybase
export SYBASE

Thank you.
Fri Oct 22, 2010 8:41 am 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.