AutoSys Workload Automation

 View Only
Expand all | Collapse all

WCC not loading job logs

  • 1.  WCC not loading job logs

    Posted Nov 19, 2019 06:46 AM
    Hi,

    I have r11.3.5 autosys environment with mixed bags of agents. We have windows servers with os version 2003 to 2016, we also have HP-UX and Linux. Recently, we build autosys version r11.3.6 SP8 in AWS and used RDS with MSSQL database. All the agents versions are in 11.3 and still compatible with r11.3.6. We have pointed the agents to the new autosys target environment. The jobs are running as scheduled. However, when trying to view the job standard output, error log and agent log, connection fails and logs arent loading. Only the logs of the jobs running in the waae servers gets loaded but not the agents log. Thanks!

    Liz


  • 2.  RE: WCC not loading job logs

    Posted Nov 20, 2019 04:19 PM
    ​Hi,

    We have almost similar issue, opened ticket with Broadcom but they were not able to resolved this. In our case WCC can't find the logs for jobs runs listed in the Job Runs section (Quick View) that ran the previous day, but you can see them in the log folder if you log into the server that they ran on. It sporadic and varies job to job, day to day.


  • 3.  RE: WCC not loading job logs

    Posted Nov 20, 2019 04:32 PM
    Sorry forget to mention the error message. At the same time this issue give us following error message.
    CAUAJM_E_10682 Requested log file for the specified job could not be found​


  • 4.  RE: WCC not loading job logs

    Posted Nov 21, 2019 12:26 AM
    Hi Ahmad,

    Yes, I have the same error 

    E135001 There was an error trying to load the log:
    CAUAJM_E_10682 Requested log file for the specified job could not be found.

    My environment is in windows 2016 server in AWS. 

    Liz


  • 5.  RE: WCC not loading job logs

    Posted Nov 21, 2019 10:50 AM
    ​Hi Liz,

    Our environment is on AIX 7.1/7.2 and Windows 2012 R2.


  • 6.  RE: WCC not loading job logs

    Posted Apr 03, 2020 02:41 PM
    ​Any one know how to resolve this issue ?


  • 7.  RE: WCC not loading job logs

    Broadcom Employee
    Posted Apr 04, 2020 09:30 PM
    Hi,

    The first thing is to determine if the log file is being stored in the database when the job is being run.
    You can check the receiver.log to see if the file name is sent on the request to get the file.  Once we can identify on which side the problem lies, we can move the investigation to the right area.

    Mike


  • 8.  RE: WCC not loading job logs

    Posted Apr 06, 2020 03:36 PM
    ​Thanks Mike for replying this issue.
    Yes, receiver.log does see the transaction. Also, the log does exists in "job logs' but not able to see from WCC. I have also tried re-building Database folder on Agent machine but still did not resolve the issue.

    Thanks




  • 9.  RE: WCC not loading job logs

    Broadcom Employee
    Posted Apr 06, 2020 04:48 PM
    Hi,
    In your receiver.log, do you see something like:

    04/06/2020 16:20:25.264-0400 5 TCP/IP Controller Plugin.Receiver pool thread <Regular:1>.CybReceiverSession.accept[:285] - Message accepted: 20200406 16202523+0400 SL73ESPAPP001 MW1_APP_mike.broadcom.com 40_33190_3855608640_1586204424_991888/WAAE_WF0.1/MAIN CONTROL GETSPOOLFILE SpoolFile("/tmp/logs/test2.6232250-1.out") TailLines(2000)
    This is the AFM to GETSPOOLFILE or retrieve the file.  You should also see the SpoolFile attribute that matches your job definition (variables should be filled in).

    Regards,
    Mike





  • 10.  RE: WCC not loading job logs

    Posted Apr 15, 2020 11:02 AM

    ​I do have following:

    04/06/2020 15:20:46.090-0400 5 TCP/IP Controller Plugin.Receiver pool thread <Regular:1>.CybReceiverSession.accept[:285] - Message accepted: 20200406 15204608+0400 WA_AGENT DEV_SCH 1387.1168697_1/WAAE_WF0.1/MAIN RUN . Data(Args="1",Command="exit") Env(AUTOSERV=DEV,AUTO_JOB_NAME="fail1",AUTORUN="1168697-1") User(autosys) Password() MFUser(autosys)

    04/06/2020 15:20:46.102-0400 2 TCP/IP Controller Plugin.Receiver pool thread <Regular:1>.CybReceiverSession.accept[:292] - Message received: 20200406 15204608+0400 WA_AGENT DEV_SCH 1387.1168697_1/WAAE_WF0.1/MAIN RUN . Data(Args="1",Command="exit") Env(AUTOSERV=DEV,AUTO_JOB_NAME="fail1",AUTORUN="1168697-1") User(autosys) Password() MFUser(autosys)

    04/06/2020 15:20:46.109-0400 2 TCP/IP Controller Plugin.Receiver pool thread <Regular:1>.CybReceiverChannel.a[:253] - Exiting conversation


    If we view the log today from WCC it will work, but if we try to view log from previous day or couple of days some time it might work but most of the time will give us CAUAJM_E_10682 Requested log file for the specified job could not be found​.

    Thanks




  • 11.  RE: WCC not loading job logs

    Broadcom Employee
    Posted Apr 15, 2020 11:42 AM
    That is a request to run a job named fail1, not to download the file.  If you can recreate the error for the older job run, then check the log again for a GETSPOOLFILE request, like I showed.

    Regards,
    Mike


  • 12.  RE: WCC not loading job logs

    Posted Apr 17, 2020 11:04 AM
    Hi,
    I suggest looking at the support for SMB1 / SMB2 in the newer Windows OS versions.

    Regards
    Christian


  • 13.  RE: WCC not loading job logs

    Posted Apr 23, 2020 01:15 PM
      |   view attached
    Hello Mike,

    Attached is my earlier test run with all log comparison.


    Attachment(s)

    txt
    Joblog.txt   6 KB 1 version


  • 14.  RE: WCC not loading job logs

    Posted Apr 24, 2020 11:09 AM

    I am having the same error, however I do not see any GETSPOOLFILE in the receiver.log for the job I am trying to find.

    What database table will show what filename WCC is trying to get?   I thought it would be std_out_file, and std_err_file in ujo_job_runs, but they seem to blank for that job.​