Autosys - failing job


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Autosys - failing job
# 1  
Old 12-08-2009
Autosys - failing job

Hi,

I am trying to schedule an autosys job for weblogic server reboot. When i run the job it is failing with the following error:

/bin/sh: /path/stop_wls instancename: not found

The following is my jil and i dont refer to /bin/sh at all

update_job: mgd_shutdown_cmd.jil job_type: c
command: "/path/stop_wls instancename"
machine: server
permission: gx
description: "Stop Managed Server"
box_terminator: 1
std_out_file: /path/$AUTO_JOB_NAME`date +%m%d`.out
std_err_file: /path/$AUTO_JOB_NAME`date +%m%d`.err
alarm_if_fail: 1

not sure what is wrong?...do i need to add a variable somewhere???

I am sure there is nothing wrong with the script since it is working fine when i try to run it seperately. The only problem is with executing the script through an autosys job.

Any help is greatly appreciated.

Thanks,
# 2  
Old 12-09-2009
If you are not doing it already, try running the job as root.

tyler_durden
# 3  
Old 12-09-2009
confirm that /path/stop_wls script/program exists.
# 4  
Old 01-05-2010
autosys

Hi All,

I am trying to run the job as an admin and the path to the stop script actually exists.

The stop script is running fine by itself but not through the autosys job. I ran env>user.env and got the autosys paths as well through a script and reference the paths in .profile.

Now when i run /stop.sh instancename, i am getting error message instancename does not exist in WL domain_info.txt.

The instance name exists in the domain_info.txt else the stop script would not run by itself.

Not sure what is going wrong. Appreciate assistance.

Thanks,
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Autosys Job: Job did not start

I have submitted an autosys job and force start it. Autosys hit the job 4 times to restart but it did not start and finally I terminate the job. Any idea why the job did not start. Below is the code I executed. 1214 missun0ap /export/home/bzn97r/develop/dswi/jil$ sendevent -E FORCE_STARTJOB... (0 Replies)
Discussion started by: jnrohit2k
0 Replies

2. UNIX for Advanced & Expert Users

list of job autosys

hi all would like to know a list of job in the my autosys . which is the command for extract it? thanks a lot regards FrancescoIt (1 Reply)
Discussion started by: FrancescoIt
1 Replies

3. Shell Programming and Scripting

Autosys Job Permission

Hi friends, Can anybody tell me the different type of permission used in autosys. thanks!!!!! (0 Replies)
Discussion started by: diehard
0 Replies

4. Shell Programming and Scripting

Autosys Job

I need to know the list of autosys job that run between given time. I have the following command. job_depends -t -J abc% -F "12/25/2010 03:00" -T "12/26/2010 05:00" Above command will give the list of job that run between time 3 AM and 5 AM. But the it gives me in random order how to... (1 Reply)
Discussion started by: diehard
1 Replies

5. UNIX for Dummies Questions & Answers

Autosys Job.

Hi Can any one tell me free online good book for autosys job. Also whats the basic difference between Autosys job and cron job. Thanks in advance. (2 Replies)
Discussion started by: diehard
2 Replies

6. Shell Programming and Scripting

autosys job configuration for job failure.

We need to configure autosys that when a job fails continously for 3 times, we need to call another job. Is this possible in Autosys, or can anyone advice on the alternative. (2 Replies)
Discussion started by: sangea
2 Replies

7. UNIX and Linux Applications

Job Scheduling (Autosys)

Hello! I will be working with Autosys and I am looking for individuals that have knowledge of this UNIX application. Thank-you! (3 Replies)
Discussion started by: preshe79
3 Replies

8. UNIX for Advanced & Expert Users

Autosys job scheduling

Hi, I want to schedule a job through Autosys (in Linux server) to run on 1st day of every 3rd month(gap of 90 days). Please someone help me to achive my above requirement Example: Run the sample.sh on 01-Jan-2009, 01-Apr-2009, 01-Jul-2009, 01-Oct-2009. Thanks in advance (4 Replies)
Discussion started by: apsprabhu
4 Replies

9. UNIX for Advanced & Expert Users

Documentation and books on Autosys Job Control Tool from Autosys

My project uses Autosys. I am new to this product and I don't know where to start from. Q1. Please provide me the link where I can get Autosys documentation Q2. Please refer a good book on Autosys. (Beginner/Intermediate Level) (0 Replies)
Discussion started by: gram77
0 Replies

10. Shell Programming and Scripting

Autosys job display

autorep -J dfile_252500_U_HSP_f2purge -w Job Name Last Start Last End ST Run Pri/Xit ________________________________________________________________ ____________________ ____________________ __ _______ ___ ... (1 Reply)
Discussion started by: arunkumar_mca
1 Replies
Login or Register to Ask a Question