000021875 - How to use apidemon on UNIX

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000021875
Applies ToRSA ACE/Server 5.1 Administration API (no longer supported as of 7-14-2006)
RSA ACE/Server 5.2 Administration API
Sun Solaris 2.8
Sun Solaris 2.9
HP-UX 11.11
IBM AIX 5.1
IBM AIX 5.2
IssueHow to use apidemon on UNIX
Zombie processes
Defunct processes
CauseIf RSA ACE/Server Administration API is used in a certain way on some operating systems, it is possible for zombie or defunct processes to appear from time to time
ResolutionThe Sd_ApiEnd() function should be called at the end of any use of the Administration API, not just for the conclusion of an Sd_ApiInit() call. Other API calls used prior to Sd_ApiInit() must also be finalized with a call to Sd_ApiEnd(), for example:

    Sd_ApiRev()

    Sd_ApiInitSingle()

    Sd_SetSymbols()

    Sd_Time()

    Sd_SortOrder()

    Sd_HexMD5()

    Sd_AdmLogin()

    Sd_AdmContinueLogin()

    Sd_Login()

    Sd_ContinueLogin()

Failure to call Sd_ApiEnd() before the parent process terminates will lead to unpredictable results. As a simple rule, ensure that a program always calls Sd_ApiEnd().

For a full explanation about how a parent process may use the Administration API (which in turn causes the API daemon process to load and run), download the whitepaper titled Using apidemon on UNIX.
Legacy Article IDa25572

Attachments

    Outcomes