Symantec Access Management

  • 1.  Unable to start LLAWP

    Posted Mar 03, 2016 01:57 PM

    Hi all,

    I am trying to bring up the LLAWP process along with the httpd  one, with no luck so far.

    I have an Apache 2.2 instance on a RedHat Enterprise. I installed the agent and modified the httpd.conf accordingly, but I couldn't get the LLAWP process working.

    The error I get is:

     

    [03/Mar/2016:19:34:54] [Info] [CA WebAgent IPC] [21196] [CSmSem::getSem] Attempted to attach to non-existent semaphore with key 0xf4f55758

    [03/Mar/2016:19:34:54] [Error] [CA WebAgent IPC] [21196] [CSmIpcEvent::CSmIpcEvent] Error initializing semaphore -1

    [03/Mar/2016:19:34:54] [Error] [CA WebAgent IPC] [21196] [CSmSem::GetValue] Error performing GETVAL operation on semaphore -1 - Invalid argument (22)

    [03/Mar/2016:19:34:54] [Info] [CA WebAgent IPC] [21196] [CSmSem::getSem] Attempted to attach to non-existent semaphore with key 0xf4f55758

    [03/Mar/2016:19:34:54] [Error] [CA WebAgent IPC] [21196] [CSmIpcEvent::SetEvent] Error reinitializing event with key base 0x1f4

    [03/Mar/2016:19:34:54] [Error] [CA WebAgent LLAWP] [21196] [Failed to send shutdown signal to the LLAWP. Ensure that the process is running and the path to the WebAgent.conf is correct.]

    [Thu Mar 03 19:35:02 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)

    [Thu Mar 03 19:35:02 2016] [warn] module php5_module is already loaded, skipping

    [Thu Mar 03 19:35:02 2016] [notice] Digest: generating secret for digest authentication ...

    [Thu Mar 03 19:35:02 2016] [notice] Digest: done

    [03/Mar/2016:19:35:02] [Info] [CA WebAgent LLAWP] [21415] [LLAWP has been started.]

    [03/Mar/2016:19:35:02] [Error] SiteMinder Agent

            Failed to initialize the configuration manager.

            LLAWP unable to get configuration, exiting.

    [Thu Mar 03 19:35:07 2016] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.4.45 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations

    [03/Mar/2016:19:35:18] [Information] SiteMinder Agent

            SiteMinder agent is enabled.

    [03/Mar/2016:19:35:18] [Error] SiteMinder Agent

            Unable to load SiteMinder host configuration object or host configuration file.

            Path to the SiteMinder host configuration File is Empty.

    [03/Mar/2016:19:35:18] [Warning] SiteMinder Agent

            SiteMinder agent has encountered initialization errors and will not service requests.

    [03/Mar/2016:19:35:21] [Information] SiteMinder Agent

            SiteMinder agent is enabled.

    [03/Mar/2016:19:35:21] [Error] SiteMinder Agent

            Unable to load SiteMinder host configuration object or host configuration file.

            Path to the SiteMinder host configuration File is Empty.

    [03/Mar/2016:19:35:21] [Warning] SiteMinder Agent

            SiteMinder agent has encountered initialization errors and will not service requests.

     

     

     

    I get errors when running the httpd daemon as a service "/etc/init.d/httpd start" ,  after running ca_wa_env.sh, but I worked this around by running the process on its own with ./httpd

    Do you have any ideas or suggestions?

     

     



  • 2.  Re: Unable to start LLAWP

    Posted Mar 03, 2016 05:08 PM

    Looking at the following message, best to check your WebAgent.conf file and ensure that the HostConfigFile has a valid directory path to the SmHost.conf:

    Path to the SiteMinder host configuration File is Empty.

     

    Also, try starting LLAWP manually to check of the configurations is correct:

    ./LLAWP /usr/local/apache2/conf/WebAgent.conf -APACHE22



  • 3.  Re: Unable to start LLAWP
    Best Answer

    Posted Mar 04, 2016 02:39 AM

    I was eventually able to get it fixed.

    It was actually an httpd.conf & webagent.conf issue:

    1- I wrongly specified the webagent file in the httpd.conf file, I was wrongly  feeding the smhost file instead

    2- I did add some commented out (with #) lines into the webagent.conf file, which LLAWP  apparently  didn't like very much

     

    Now it starts and works like a charm

    Thank you for your advice



  • 4.  Re: Unable to start LLAWP

    Posted May 02, 2017 11:12 AM

    I am also getting an error like these but they just keep repeating and continuing as long as the webserver and agent are up. We also checked out if it could be a fix like what worked for you but it did not come back to be that same issue.

     

    [02/May/2017:04:03:39] [Error] [CA WebAgent IPC] [57911] [CSmSem::SemWait] Error performing decrement operation on semaphore -1 - Invalid argument (22)

    [02/May/2017:04:03:39] [Error] [CA WebAgent IPC] [57911] [CSmIpcEvent::WaitForEvent] Error reinitializing event with key base 0x0.2x