Problem
trying to setup SCP job type for testing purpose in autosys server (please note: source and destination server is same) but getting error as “Invalid AFM. Password is missing or invalid”, below are the JIL definition of job and error for reference.
Autosys version : R11.3
OS : RHEL 6
Source /destination machine : Autosys
Source location : /appctl2
Destination location : /appctl1
Source file Name : a1
/* ----------------- sftp_upload ----------------- */
insert_job: sftp_upload job_type: SCP
machine: Autosys
owner: autosys
alarm_if_fail: 1
scp_transfer_direction: UPLOAD
scp_server_name: Autosys
scp_server_port: 22
scp_remote_dir: "/appctl1/"
scp_remote_name: "a1"
scp_local_name: "/appctl2/a1"
scp_target_os: UNIX
scp_protocol: SFTP
scp_local_user: autosys
[autosys@Autosys ~]$ autorep -j sftp_upload -d
Job Name Last Start Last End ST Run/Ntry Pri/Xit
________________________________________________________________
sftp_upload 08/17/2015 19:12:05 08/17/2015 19:12:05 FA 31/1 1
Status/[Event] Time Ntry ES ProcessTime Machine
-------------- --------------------- -- -- ---------------------
STARTING 08/17/2015 19:12:05 1 PD 08/17/2015 19:12:05 Autosys
RUNNING 08/17/2015 19:12:05 1 PD 08/17/2015 19:12:06 Autosys
FAILURE 08/17/2015 19:12:05 1 PD 08/17/2015 19:12:06
<Invalid AFM. Password is missing or invalid>
[*** ALARM ***]
JOBFAILURE 08/17/2015 19:12:06 1 PD 08/17/2015 19:12:06 Autosys
Currently, i am running my setup in native security mode i.e. autosys_secure no EEM.
Solution
autosys_secure
you need to put id / indicator then password. e.g. id myname
indicator SCPID
passwd..
then on
owner field
id@indicator
e.g. myname@SCPID
Problem resolved
trying to setup SCP job type for testing purpose in autosys server (please note: source and destination server is same) but getting error as “Invalid AFM. Password is missing or invalid”, below are the JIL definition of job and error for reference.
Autosys version : R11.3
OS : RHEL 6
Source /destination machine : Autosys
Source location : /appctl2
Destination location : /appctl1
Source file Name : a1
/* ----------------- sftp_upload ----------------- */
insert_job: sftp_upload job_type: SCP
machine: Autosys
owner: autosys
alarm_if_fail: 1
scp_transfer_direction: UPLOAD
scp_server_name: Autosys
scp_server_port: 22
scp_remote_dir: "/appctl1/"
scp_remote_name: "a1"
scp_local_name: "/appctl2/a1"
scp_target_os: UNIX
scp_protocol: SFTP
scp_local_user: autosys
[autosys@Autosys ~]$ autorep -j sftp_upload -d
Job Name Last Start Last End ST Run/Ntry Pri/Xit
________________________________________________________________
sftp_upload 08/17/2015 19:12:05 08/17/2015 19:12:05 FA 31/1 1
Status/[Event] Time Ntry ES ProcessTime Machine
-------------- --------------------- -- -- ---------------------
STARTING 08/17/2015 19:12:05 1 PD 08/17/2015 19:12:05 Autosys
RUNNING 08/17/2015 19:12:05 1 PD 08/17/2015 19:12:06 Autosys
FAILURE 08/17/2015 19:12:05 1 PD 08/17/2015 19:12:06
<Invalid AFM. Password is missing or invalid>
[*** ALARM ***]
JOBFAILURE 08/17/2015 19:12:06 1 PD 08/17/2015 19:12:06 Autosys
Currently, i am running my setup in native security mode i.e. autosys_secure no EEM.
Solution
autosys_secure
you need to put id / indicator then password. e.g. id myname
indicator SCPID
passwd..
then on
owner field
id@indicator
e.g. myname@SCPID
Problem resolved
No comments:
Post a Comment