Restart autosys agent



#/etc/init.d/uajm_agent stop
CA-UAJM Agent stopped.
#/etc/init.d/uajm_agent start
CA-UAJM Agent started.

Follow the below workaround if the autosys agent does not start.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1.Run the command to check the status of both process, auto_remote and csampmuxf

# ps -ef|grep 'auto'
    root 14712     1  0   Aug 27 ?        2:42 auto_remote
    root 27652     1  0 13:00:22 ?        0:00 auto_remote
    root 27782     1  0 13:00:40 ?        0:00 auto_remote
    root 29066 24480  0 13:01:07 pts/7    0:00 grep auto

2.There should be two entries for /opt/CA/SharedComponents/Csam/SockAdapter/bin/csampmux status .
If you see one entry then stop agent and check the autoremote and csampmuxf status, there should not be autoremote process.

#/opt/CA/SharedComponents/Csam/SockAdapter/bin/csampmux status
Listeners

PID:   14712 Port 49153 for IPv6.

3. If the process is still showing kill the process and then start the agent.
# kill -9 14712
# /etc/init.d/uajm_agent start
CA-UAJM Agent started.

Note: Autosys agent will not start if / FS is full as it requires up to 20% space to restart.

Example:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# ps -ef | grep auto
    root  1936  1934   0   Aug 02 ?           0:28 /usr/lib/autofs/automountd
    root  1934     1   0   Aug 02 ?           0:00 /usr/lib/autofs/automountd
forteog1 19264 25223   0 21:45:08 ?           0:13 auto_rem /opt/CA/UnicenterAutoSysJM/agent/tx/jobst/Agent-0000000000512
    root 25223     1   1   Nov 22 ?        1030:54 auto_remote
    root  2971 10453   0 14:54:59 pts/3       0:00 grep auto
# ./uajm_agent stop
CA-UAJM Agent stopped.
# kill -9 25223
# /opt/CA/SharedComponents/Csam/SockAdapter/bin/csampmux status
No Listeners


# ./uajm_agent start
CA-UAJM Agent started.
root@it089ass # ps -ef | grep auto
    root  1936  1934   0   Aug 02 ?           0:28 /usr/lib/autofs/automountd
    root  1934     1   0   Aug 02 ?           0:00 /usr/lib/autofs/automountd
    root  5631 10453   0 14:57:07 pts/3       0:00 grep auto
    root  5442     1   0 14:57:00 ?           0:00 auto_remote
# /opt/CA/SharedComponents/Csam/SockAdapter/bin/csampmux status
Listeners

PID:    5442 Port 49153 for IPv6.
PID:    5442 Port 49152 for IPv6.

Comments

Popular posts from this blog

Understanding How ZFS Calculates Used Space

How To Verify Remote System Controller (RSC) is Configured and Current on Sun Fire[TM] 280R/V480/V490/V880/V890 servers