Symantec Access Management

 View Only
  • 1.  CA SSO : Facing issue with perl api

    Posted Aug 10, 2018 06:48 AM

    Hi,

     

    While trying to execute the perl script, I am getting the following error.

     

    Perl Script:

    use Netegrity::PolicyMgtAPI;
    print "Success";

     

    Error message:

     

     

    Can anyone let me know what may be the reason for this and how to resolve this?

     

    Note : This is not the first time, I am executing the perl script on this box, I have already executed even before a month without any issue.

     

    Regards,

    Dhilip



  • 2.  Re: CA SSO : Facing issue with perl api
    Best Answer

    Broadcom Employee
    Posted Aug 10, 2018 03:40 PM

    Hi Dhilip, 

     

    I tested the above successfully. What might be happening is that you have both the Policy Server and Web Agent on the same server, but they are different versions(12.8PS & 12.52 WA perhaps). While this does work, it can cause errors like this one.

     

    In Windows, the PATH variable will point to both the Policy Server and Web Agent DLLs, some of which are common and share the same names. However if the versions don't match, the run time errors can occur.

     

    You might be able to change the order of references in the PATH, but most likely you will need to separate the components onto different servers.

     

    Hope this helps!



  • 3.  Re: CA SSO : Facing issue with perl api

    Posted Aug 11, 2018 05:38 AM

    Hi David,

     

    Yes, you are correct. Have both policy server and web agent on the same machine. Tried uninstalling web agent and that resolved the issue.

    Thanks for your help.

     

    Regards,

    Dhilip