Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
on
11-20-2018
06:23 AM
- edited on
10-24-2022
08:42 AM
by
Claudia.Landiva
This article is intended for anyone installing the Apache Agent. Please make sure the following 11 prerequisites are in place before installing the agent:
sestatus
at the host command prompt. If SELinux is active and in enforcing mode, you will need to disable it before continuing. Use the command sudo setenforce 0
to temporarily disable SELinux. NOTE | If your system uses SELInux, you will need to create an appropriate policy file in order to allow the Agent and Proxy task to access the necessary log and configuration files.
ps -ef | grep httpd
(use apache2 if httpd is not the name of the server binary). You will see a "root" process id and several "worker" child processes listed in the output. The userid associated with the children of the parent process is the Apache worker process id. This can be set explicitly with the Apache User directive. See here for more details: https://httpd.apache.org/docs/2.4/mod/mod_unixd.html#user /etc/security/limits.conf
Edit the file to verify that this is the case. There should be both a hard and soft setting for the nofiles entries for the appropriate userid(s).ps -ef | grep proxy | grep WEB_SERVER | grep -v grep
to make sure that there is only one Proxy active. Our best practices suggest you run the Proxy as the same userid as the Apache server worker process. At a minimum, the Proxy task should be started at host boot-up and remain active throughout the life of the host. There should be no need to restart the Proxy task unless the appdynamics_agent.conf file changes. It is possible to stop/start the webserver without affecting it. Please see here for more details about launching the Proxy: https://docs.appdynamics.com/display/PRO45/Install+the+Apache+Agent#InstalltheApacheAgent-LaunchtheP...I have installed the apache agent on server running apache2.2, however I am getting error when trying to restart apache, Cannot load ..../libappdynamics_native_sdk.so into server: libcrypt.so.2: cannot open shared object file: No such file or directory. Path to libappdynamics_native_sdk.so is fine in the appdynamics_agent.conf file, and using libmod_appdynamics22.so.
Has anyone seen this behavior with apach2.2?
Hello, @Marcie.Sirbaugh
Have you had luck chasing down the root of the issue with Apache 2.2? I'm looking for someone to weigh in. In the meantime, I thought I'd post this documentation link for reference in this conversation:
Configure the Apache Server for AppDynamics
Claudia Landivar, Community Manager & Editor
Yes, we were able to create a link to fix the issue: ln -s libcrypt-2.17.so libcrypt.so.2, able to stop and start apache successfully.
Great news, @Marcie.Sirbaugh!
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form