Failed to start LLAWP on Red Hat Apache.

Document ID : KB000054120
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

When using Web Agent 6QMR5 CR 22 on Apache 2.0.46 Apache web server for Red Hat AS 3, the following error is seen upon web server startup:

[07/Oct/2008:12:04:36] [Information] SiteMinder Agent 
        SiteMinder agent is enabled. 
[07/Oct/2008:12:04:36] [Information] SiteMinder Agent 
        Configuration file path: 
        '/u01/webserver/apache2/ebizdev4_www_443/conf/WebAgent.conf'. 
[07/Oct/2008:12:04:37] [Info] [CA WebAgent IPC] [15537] [CSmSem::getSem]
Attempted to attach to non-existent semaphore with key 0xc817a8e4 
[07/Oct/2008:12:04:37] [Info] [CA WebAgent IPC] [15537] [CSmSem::getSem]
Created semaphore 32768 using key 0xc817a8e4 
[07/Oct/2008:12:04:37] [Info] [CA WebAgent IPC] [15537] [CSmSem::getSem]
Attempted to attach to non-existent semaphore with key 0x6b17a8e4 
CSmLowLevelAgent: No such file or directory 
[07/Oct/2008:12:04:37] [Error] SiteMinder Agent 
        Failed to Start the LLAWP process. 
        Execlp failed: 'No such file or directory'. LLAWP.exe must be callable from the system path. 
[07/Oct/2008:12:04:42] [Info] [CA WebAgent IPC] [15537] [CSmSem::getSem]
Attempted to attach to non-existent semaphore with key 0x6617a8e4 
[07/Oct/2008:12:04:42] [Error] SiteMinder Agent 
        Failed to initialize the message bus. 
[07/Oct/2008:12:04:42] [Warning] SiteMinder Agent 
        SiteMinder agent has encountered initialization errors and will not service requests. 
[07/Oct/2008:12:04:42] [Info] [CA WebAgent IPC] [15537] [CSmSem::SemRm] Removed semaphore 32768

The web server is started using the init startup script "service httpd start".

When the httpd is launched directly from the console by entering the command, "./httpd", it starts the LLAWP. The web server appears to be operational.

Solution:

For Apache web servers on Red Hat which use the service wrapper, the PATH variable inside the httpd global configuration file must be updated to include the path to the Web Agent binaries. This is done by editing the file:

/etc/sysconfig/httpd

Insert the webagent/bin directory in the PATH variable:

PATH=$PATH:/path/to/webagent/bin
export PATH