From where Machine name is taken in autorep report


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat From where Machine name is taken in autorep report
# 1  
Old 01-07-2010
From where Machine name is taken in autorep report

Hi,

When i tried to run a job on autosys which has to run a command on sys1 but its
giving some other Machine name (sys56) , attempts ten times and fails. I would like to know from where this Machine column of autorep command gets input so that i
can change to correct Host Machine (sys1) and run this command .

I don't know what does the error code -655 means.

Please see the job status and give me some solution.
Code:
(nalnxapp154:pfdev01:/pfdev01/status>) autorep -j 123558.6.ushsds0 -d

Job Name                         Last Start            Last End        ST  Run  Pri/Xit
____________________________ ____________________ ____________________ __ _______ ___

123558.6.ushsds0             -----                01/05/2010  04:29:14 FA 26005120/10 -655

  Status/[Event]  Time                 Ntry ES  ProcessTime           Machine
  --------------  --------------------- --  --  --------------------- -------
  [*** ALARM ***]
    STARTJOBFAIL  01/05/2010  04:21:23   1  PD  01/05/2010 04:21:24   sys56
    <Permission ERROR:  Could not find user=pfdev01 on Host: sys56>
  STARTING        01/05/2010  04:21:24   1  PD  01/05/2010 04:21:26   sys56
  RESTART         01/05/2010  04:21:24   1  PD  01/05/2010 04:21:26
    <System Restart - Job was unable to start.>


Last edited by Scott; 01-07-2010 at 05:47 AM.. Reason: Please use code tags
# 2  
Old 01-07-2010
Check you job definition. It should have Machine attribute set to "sys56".
# 3  
Old 01-07-2010
Thank you for your response.

from config file and utilini file for ushsds0 its sys19 and not sys56 and i don't know from where it takes this sys56 (this is also one of autosys machine but). After 7 attempts to sys56 (failed) in 8th attempt it connects to sys19 and runs the job sucessfully. Please share your idea on where to find the machines its taking .


Code:
(nalnxapp154:pfdev01:/pfdev01/status>) autorep -j 123558.6.ushsds0 -q


/* ----------------- 123558.6.ushsds0 ----------------- */

insert_job: 123558.6.ushsds0   job_type: c
box_name: 123558.p50.usdata0
command: /HS_Appl_01/Datapull/Bin/jobcasedpull 123558 /HS_Appl_01^/HS_Data_01^sys19^dev2^200801^200803 usdata0^/pfdev01/bin/pfdev01.cfg^/pfdev01/bin/^/pfdev01/status/^14^14^01^60^2
machine: ushsds0
#owner: pfdev01@nalnxapp155.enterprisenet.org
permission: gx,ge,wx,mx,me
std_out_file: >>/HS_Data_01/Datapull/Log/sys19/dev2/123558.dpsts
std_err_file: >>/HS_Data_01/Datapull/Log/sys19/dev2/123558.dpsts
alarm_if_fail: 1
profile: ./auto.profile
job_load: 10
priority: 950


Last edited by pludi; 01-07-2010 at 08:46 AM.. Reason: code tags, please...
# 4  
Old 01-07-2010
Can you also paste the definition of job "123558.p50.usdata0" ?
# 5  
Old 01-07-2010
Below are the definition of job 23558.p50.usdata0


Code:
(nalnxapp155:pfdev01:/pfdev01/bin>) autorep -j 123558.p50.usdata0 -q


/* ----------------- 123558.p50.usdata0 ----------------- */

insert_job: 123558.p50.usdata0   job_type: b
#owner: pfdev01@nalnxapp155.enterprisenet.org
permission: gx,ge,wx,mx,me
condition: s(123558.p40.usdata0)
box_success: s(123558.5.usdata0) AND s(123558.6.ushsds0)
box_failure: f(123558.5.usdata0) OR t(123558.5.usdata0) OR f(123558.6.ushsds0) OR t(123558.6.ushsds0)
alarm_if_fail: 1
auto_delete: 1


  /* ----------------- 123558.5.usdata0 ----------------- */

  insert_job: 123558.5.usdata0   job_type: c
  box_name: 123558.p50.usdata0
  command: /pfdev01/bin/jobprojdict /pfdev01/bin/pfdev01.cfg 123558 create
  machine: usdata0
  #owner: pfdev01@nalnxapp155.enterprisenet.org
  permission: gx,ge,wx,mx,me
  std_out_file: >>/pfdev01/status/123558.csprp.sts
  std_err_file: >>/pfdev01/status/123558.csprp.sts
  alarm_if_fail: 1
  profile: ./auto.profile
  job_load: 100
  priority: 950


  /* ----------------- 123558.6.ushsds0 ----------------- */

  insert_job: 123558.6.ushsds0   job_type: c
  box_name: 123558.p50.usdata0
  command: /HS_Appl_01/Datapull/Bin/jobcasedpull 123558 /HS_Appl_01^/HS_Data_01^sys19^dev2^200801^200803 usdata0^/pfdev01/bin/pfdev01.cfg^/pfdev01/bin/^/pfdev01/status/^14^14^01^60^2
  machine: ushsds0
  #owner: pfdev01@nalnxapp155.enterprisenet.org
  permission: gx,ge,wx,mx,me
  std_out_file: >>/HS_Data_01/Datapull/Log/sys19/dev2/123558.dpsts
  std_err_file: >>/HS_Data_01/Datapull/Log/sys19/dev2/123558.dpsts
  alarm_if_fail: 1
  profile: ./auto.profile
  job_load: 10
  priority: 950


Last edited by pludi; 01-07-2010 at 08:46 AM.. Reason: code tags, please...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Autorep not found problem

Hi All, I am using a putty session to login a server in which autosys is installed. we get the GUI by entering . /opt/CA/UnicenterAutoSysJM/autouser/autosys.ksh.server and then jobscape. when i tried autorep -j jobname it gives me autorep not found. Please help me with this. (1 Reply)
Discussion started by: mahesh300182
1 Replies

2. Shell Programming and Scripting

Autorep command does not work from crontab !

Hi, I have written a ksh script and I'ma using the following command in it: autorep -j %abcd% | grep RU | grep BOX1 The script works fine when executed manualy on the command prompt. But does not work when scheduled in crontab. I could see the following in the crontab log: ... (1 Reply)
Discussion started by: girish1428
1 Replies

3. Linux

Unable to connect to Server machine from a client machine using ftp service

Hi, Could you please help me with the below issue.. I'm running RHEL6 OS on both server (192.168.0.10) and client machines (192.168.0.1). I'm trying to connect to server from the client machine using ftp service. I have installed vsftpd daemon on both the machines. I'm getting... (4 Replies)
Discussion started by: raosr020
4 Replies

4. Shell Programming and Scripting

Using awk with autosys autorep

Hi, How to get correct field/column from autosys autorep command. I'm using GNU/Linux I'm trying to get the difference of last end and last start and the status (ST). In awk, i get the following excluding the heading part $1 - jobname $2 - Last Start date $3 - Last Start time $4 - Last... (1 Reply)
Discussion started by: bobbygsk
1 Replies

5. Shell Programming and Scripting

autorep command in the script

I have created UNIX script for getting information for the autosys jobs using autorep command. Job_name=temp_job1 echo $Job_name autorep -j $job_name -l0 After running the script I am getting the below error Error while loading shared libraries: libautoeac_api.so: cannot share object... (1 Reply)
Discussion started by: onesuri
1 Replies

6. Shell Programming and Scripting

How to transfer files from unix machine to local machine using shell script?

Hi All.. Am new to Unix!! Am creating a shell script in which a scenario is like i have transfer the output file from unix machine (Server) to local directory (Windows xp). And also i have to transfer the input file from the local directory to Unix machine (Server) Any help from you... (1 Reply)
Discussion started by: vidhyaS
1 Replies

7. Red Hat

To find the LATEST file from a dir on REMOTE machine and SCP to local machine?

Hi All, URGENT - Please help me form a scipt for this: I need the LATEST file from a dir on REMOTE machine to be SCP'd to a dir on local machine. (and I need to execute this from local server) I know that the below cmd is used to find the LATEST file from a dir. But this command is not... (3 Replies)
Discussion started by: me_ub
3 Replies

8. Shell Programming and Scripting

autorep command in autosys

hi, i have autosys installed on unix. i use "autorep -j t8i%" command to see the scheduled jobs. now i have changed some of the jobs and saved them too. i gave the command jil< filename.jil to again insert the jobs. but my problem is what is the command to run all the jobs again so that i... (8 Replies)
Discussion started by: tejasingaraju17
8 Replies

9. Shell Programming and Scripting

How to find job runtime using Autorep

Hey guys, Is there an autorep option to find out the current runtime of a job.. Or do you have to work it out using machine time and start time? What I'm trying to do is create a script that will email out the autosys job details. I was hoping there would be an autorep command that would... (0 Replies)
Discussion started by: Jazmania
0 Replies

10. Shell Programming and Scripting

autorep command cut longer jobnames. Anybody into autosys / autorep?

Hi there, my problem is, that i need to get all jobs with status from a autosys instance. If I use autorep -J ALL -d >joblist.txt longer Jobnames will be cut and the end will be replaced by 3 points like this "ThisIsALongerJobNameAnd..." If i try a single job query like ... (7 Replies)
Discussion started by: drmaniac
7 Replies
Login or Register to Ask a Question