Harvest

 View Only
  • 1.  hsmtp.pl recursive endless loop

    Posted Nov 13, 2023 08:06 AM

    Good day

    CA Harvest v13 build 152.

    I'm trying to implement a notification UDP. It looks like hsmtp causes an endless loop, and indeed, when I look at ${CA_SCM_DIR}/lib/hsmtp.pl, the last statement (line 118) is 

    exec ${CA_SCM_DIR}/lib/hsmtp.pl

    which means it is calling itself!

    Am I missing something?



    ------------------------------
    Jarus Bosman
    Senior Software Developer
    State Information Technology Agency
    South Africa
    ------------------------------


  • 2.  RE: hsmtp.pl recursive endless loop

    Broadcom Employee
    Posted Nov 14, 2023 12:03 PM

    Hello Jarus,

    Can you let me know which operating system you are using?  I just checked on Redhat Linux and hsmtp in the lib folder is an executable, not a perl script.

    Let me know and I'll research this more.

    Thanks :)

    Melinda Skelton
    Broadcom Support Team



    ------------------------------
    Melinda Skelton
    [JobTitle]
    [CompanyName]
    ------------------------------



  • 3.  RE: hsmtp.pl recursive endless loop

    Posted Nov 17, 2023 07:27 AM

    Hi Melinda,

    We're running zLinux.

    hsmtp in the bin folder is a bash script, which just calls perl ${CA_SCM_DIR}/lib/hsmtp.pl. There is no hsmtp in the lib folder, except for the perl script.

    Regards,

    Jarus



    ------------------------------
    Jarus Bosman
    Senior Software Developer
    State Information Technology Agency
    South Africa
    ------------------------------