systemctl and Web Agent startup settings for Red Hat Apache Web Server 2.4.x

Document ID:  TEC1340867
Last Modified Date:  06/23/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details


  • CA Single Sign-On



Red Hat Enterprise Linux 7 (RHEL 7) introduced systemctl command to start and stop a service program. Here is a command line to start Red Hat Apache 2.4 Web Server.


# systemctl start httpd.service


How do you set up Web Agent for Red Hat Apache 2.4 Web Server?


In RHEL 6, /etc/sysconfig/httpd may contain the below statement to source ”” script file.


. /opt/CA/webagent/


However, in RHEL 7, the source statement does not work.

OS: Red Hat Enterprise Linux 7 (RHEL 7) Web Server: Red Hat Apache 2.4 Web Server

In RHEL 7 /etc/sysconfig/httpd, only environment variable may be defined and the source statement does not work.


The resolution is to include the content of ”” script file in /etc/sysconfig/httpd. Beware that ${VARIABLE} must be replaced with the actual value. Especially for ${LD_LIBRARY_PATH} and ${PATH}, see these values by ‘env’ command beforehand and be sure to add it. This modification to the httpd file should be logically equal to sourcing the shell script.

Please note that the MIT Kerberos module was updated in the newer webagent agent versions. In the older agents (as recent as 12.52 SP1 CR06), the Kerberos module is outdated if you use RedHat7.  If this is the case, modify LD_LIBRARY_PATH to include /lib64 in front of the webagent paths. This ensures that the Apache/RedHat 7 kerberos module gets loaded before the webagent's module.  The change is already included in the below example.  If this is not done, you may see errors relating to Kerberos modules failing to load.  For more information about the error, please review TEC1859038.



Here is an example of the contents of ”” which should be included in /etc/sysconfig/httpd. (Bold is effective and others are commented out)


#export NETE_WA_ROOT

#export NETE_WA_PATH



#export PATH

Additional Information:

TEC1859038 - Red Hat 7 Apache 2.4 startup fails when SSO Web Agent is installed - fails to load Kerberos module

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255


Not what you were looking for?

Search Again >

Product Information

Support by Product >


Join a Community >

Chat with CA

Just give us some brief information and we'll connect you to the right CA ExpertCA sales representative.

Our hours of availability are 8AM - 5PM CST.

All Fields Required


We're matching your request.

Unfortunately, we can't connect you to an agent. If you are not automatically redirected please click here.

  • {{}} will be helping you today.

    View Profile

  • Transfered to {{}}

    {{}} joined the conversation

    {{}} left the conversation

  • Your chat with {{$storage.chatSession.messages[$index - 1]}} has ended.
    Thank you for your interest in CA.

    Rate Your Chat Experience.


agent is typing