Hi Vivek,
I could see two issues
1. Semaphore
[05/May/2019:01:37:05] [Error] [CA WebAgent IPC] [18184] [CSmIpcEvent::CSmIpcEvent] Error initializing semaphore -1
[05/May/2019:01:37:05] [Error] [CA WebAgent IPC] [18184] [CSmSem::SemNotify] Error performing increment operation on semaphore -1
Solution: Before you start the agent process, clear the semaphore and share memory used by agent process.
Link:
https://comm.support.ca.com/kb/clean-up-semaphores-and-shared-memory-by-process-id-on-redhat-os/kb0000401402. Unable to load SiteMinder host configuration object
Solution: check for below points
- is the path for SmHost.config file is correct?
- Do all the HCO Policy Server FQDN or IP, exists ? If FQDN, are they
resolved by DNS correctly ?
- do a host re-registration using smreghost utility?
Thanks,
Pankaj
Original Message:
Sent: 05-05-2019 09:11 AM
From: Vivek Selvaraj
Subject: LLAWP service not coming up
LLAWP is not coming up when starting Apache service. It was working fine, however after some migration change, the LLAWP service is not coming up.
Could you please help what went wrong?
Below is the error message from log file,
[Sun May 05 01:37:02 2019] [notice] caught SIGTERM, shutting down
[05/May/2019:01:37:05] [Info] [CA WebAgent IPC] [18184] [CSmSem::getSem] Attempted to attach to non-existent semaphore with key 0xf405cae1
[05/May/2019:01:37:05] [Error] [CA WebAgent IPC] [18184] [CSmIpcEvent::CSmIpcEvent] Error initializing semaphore -1
[05/May/2019:01:37:05] [Error] [CA WebAgent IPC] [18184] [CSmSem::SemNotify] Error performing increment operation on semaphore -1
[05/May/2019:01:37:05] [Info] [CA WebAgent IPC] [18184] [CSmSem::getSem] Attempted to attach to non-existent semaphore with key 0xf405cae1
[05/May/2019:01:37:05] [Error] [CA WebAgent IPC] [18184] [CSmIpcEvent::SetEvent] Error reinitializing event with key base 0x1f4
[05/May/2019:01:37:05] [Error] [CA WebAgent LLAWP] [18184] [Failed to send shutdown signal to the LLAWP. Ensure that the process is running and the path to the WebAgent.conf is correct.]
[05/May/2019:01:42:55] [Info] [CA WebAgent LLAWP] [18992] [LLAWP has been started.]
[05/May/2019:01:42:55] [Error] SiteMinder Agent
Unable to load SiteMinder host configuration object or host configuration file.
/opt/app/siteminder/webagent/config/SmHost.conf
00 00 00 06
[05/May/2019:01:42:55] [Error] SiteMinder Agent
Failed to initialize the configuration manager.
LLAWP unable to get configuration, exiting.
[Sun May 05 01:43:00 2019] [notice] Digest: generating secret for digest authentication ...
[Sun May 05 01:43:00 2019] [notice] Digest: done
[Sun May 05 01:43:00 2019] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8i DAV/2 mod_jk/1.2.26 configured -- resuming normal operations