 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
iqbal
Joined: 16 Sep 2010 Posts: 56
|
|
Job exits without actually executing |
|
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 |
|
 |
SysOpJ
Joined: 20 Aug 2010 Posts: 95
|
|
|
|
What was written to the scheduler.log and debug.log on both machines during your attempt?
|
|
Fri Oct 22, 2010 8:21 am |
|
 |
iqbal
Joined: 16 Sep 2010 Posts: 56
|
|
|
|
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 |
|
 |
|
|
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
|
|
|