Automic Workload Automation

Expand all | Collapse all

Unable to connect to AE

  • 1.  Unable to connect to AE

    Posted Feb 13, 2018 10:38 PM
    HI All,
    I am facing connection issues with our Dev Automation Engine.
    We are unable to connect to any clients through UI or AWI.

    I am attaching the WP logs and CP logs for the reference. 

    Attachment(s)

    txt
    CPsrv_log_002_00.txt   73 KB 1 version
    txt
    WPsrv_log_002_00.txt   225 KB 1 version


  • 2.  Unable to connect to AE

    Posted Feb 14, 2018 01:52 AM
    Hi Shani,

    according to the WP log there is no primary work process active:

    U00003367 No primary work process is registered in the database; next attempt in '10' seconds.

    Please check the status of your AE processes.

    regards,
    Peter


  • 3.  Unable to connect to AE
    Best Answer

    Posted Feb 14, 2018 01:56 AM
    I would be concerned about this log entries:
    20180213/171857.082 - U00003367 No primary work process is registered in the database; next attempt in '10' seconds.

    As for me it seems that the PWP role was not switched correctly...

    I would suggest:

    * restarting the whole thing (COLD if a normal restart is not succesful)
    * opening a Support Ticket for further investigation

    cheers, Wolfgang


  • 4.  Unable to connect to AE

    Posted Feb 16, 2018 06:07 AM
    Thanks Everyone. The issue got resolved.

    DB Unload utility was run on the Automic Automation Engine yesterday by one of the developers, to unload the data in a file for investigation.
    The utility stops few operations as logging while the unload is in process.
    As the utility was still running on the system blocked certain communication and work processes.

    It blocked the primary WP (work process) because of which the communication was lost.
    and that’s why connection to the AE system with UI was lost.

    thanks peter_grundler_automic & FrankMuffke

     




  • 5.  Unable to connect to AE

    Posted Feb 16, 2018 06:17 AM
    Is it a good idea to let developers use the ucybdbun tool? What about exporting the job to xml.


  • 6.  Unable to connect to AE

    Posted Feb 16, 2018 06:19 AM
    it's a long story basically but NO we should not and i understand that very well now. (hard ways)
    :persevere:


  • 7.  Unable to connect to AE

    Posted Feb 16, 2018 06:35 AM

    It depends on what you want to do with the Exported Object;

    If you want to edit it then it makes sense to use the (Change utility) unload function,

    But if you only want to transport it, I would go with the suggested way which MatthiasSchelp  has told you (XML Export).



  • 8.  Unable to connect to AE

    Posted Feb 16, 2018 07:32 AM
    :D thats the way we learned it, too. Pro tipp, never try to reorganize 2 clients at the same time :D

    heiei01 : Absolutely correct. But should be okay for investigation purpose as mentioned above.


  • 9.  Re: Unable to connect to AE

    Posted Apr 18, 2018 11:42 AM

    Hi @shanikushwaha606112

     

    I'm facing the same problem like you

    I truncated the whole DB and started the db load.

    Since then i've got the same message:

     

    Exception 'java.io.IOException: "Connection reset by peer"' at 'sun.nio.ch.FileDispatcherImpl.read0()'.

    No primary work process is registered in the database

     

    Can you tell me exactly what you have done?

     

    Cheers, Florim



  • 10.  Re: Unable to connect to AE

    Posted Apr 18, 2018 11:43 AM

    so after the db load i've started the whole AWI and since THEN i've got the message of no primary work process...



  • 11.  Re: Unable to connect to AE

    Posted Apr 18, 2018 01:33 PM

    @florimrrahmani603333 Make sure the DB load utility is not open on the server, that was the case with me.
    A user had it open (after the processing) and that caused the issue.

    We closed it and stopped all the processes and restarted the processes back which resolved the issue.



  • 12.  Re: Unable to connect to AE

    Posted Apr 19, 2018 03:48 AM

    Hm okay i've checked everything & i am quite sure that there is no db load utility in progress...

    Anyway i've there are any ideas arround just let me know, i would apreciate every hint

     

    Cheers



  • 13.  Re: Unable to connect to AE

    Posted Apr 19, 2018 10:30 AM

    So now it works! Maybe I forgot to import the license...so i loaded it with the utility:

    /opt/aut/utility/bin/ucybdbld -B -X"/opt/aut/license/license.txt"

    Rebooted of the Server and afterwards it worked.

    Cheers