Symantec Access Management

Expand all | Collapse all

Siteminder Agent crashing: Resource cache failed to initialize.

  • 1.  Siteminder Agent crashing: Resource cache failed to initialize.

    Posted 04-16-2018 11:14 AM

    Hi,

    I am facing issue with CA Siteminder web agent 12.0.

     

    Agent is getting crashed frequently.

    I am getting below error in Apache error log.

     

    [16/Apr/2018:18:18:52] [Warning] SiteMinder Agent
    Resource cache failed to initialize.
    Failed to fetch SmCacheData object from existing shared segment.
    [16/Apr/2018:18:18:52] [Warning] SiteMinder Agent
    Resource cache failed to initialize.
    Unable to initialize shared memory segment.
    [16/Apr/2018:18:18:52] [Warning] SiteMinder Agent
    Resource cache failed to initialize.
    Failed to attach to the resource cache. Please verify that the LLAWP process is running.
    [16/Apr/2018:18:18:52] [Info] [CA WebAgent IPC] [8720] [CSmSem::SemRm] Removed semaphore 119210001
    [Mon Apr 16 18:18:53 2018] [notice] child pid 8719 exit signal Aborted (6)
    [16/Apr/2018:18:18:53] [Error] SiteMinder Agent
    Web-agent process is exiting...
    [16/Apr/2018:18:18:54] [Information] SiteMinder Agent
    SiteMinder agent is enabled.
    [16/Apr/2018:18:18:54] [Information] SiteMinder Agent
    Configuration file path:
    '/etc/httpd/conf/WebAgent.conf'.

     

     

    Apache version: 2.2.26

    OS: RHEL6

     

    Regards,

    Pratik Mali



  • 2.  Re: Siteminder Agent crashing: Resource cache failed to initialize.

    Broadcom Employee
    Posted 04-16-2018 11:37 AM

    This is semaphore and shared memory related error. Try the below steps to resolve this issue.

     

    1. Stop the web server and ensure that both LLAWP and HTTPD are not running. 
    2. Remove the semaphore and shared memory keys.
    3. Start the web server.

     

    Detailed steps are outlined in the below KB.

     

    https://comm.support.ca.com/kb/sm-web-agent-llawp-failed-to-initialized-with-apache-24-on-startup-due-to-semaphore-issue/kb000005014 



  • 3.  Re: Siteminder Agent crashing: Resource cache failed to initialize.

    Posted 04-16-2018 11:40 AM

    The Error message states "Unable to initialize shared memory segment". It seems like this was raised a year ago under the same ID "UtxSupport".

    Apache Error Log 

    It seems like we did suggest cleanups and that hasn't resolved the problem.

     

     

    I'd also recommend looking at the following

    1. tuning Shared Memory settings.

    2. When the error occurs what is the state of Semaphore and Shared Memory Segments (Do you see a list OR there is none in the list).

     

    If this is still not resolved, please open a CA Support Case.