Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
Getting below error during platform installation:
"Required libaio package is not found. ..."
However, above package is already installed:
> rpm -q libaio
Here is output from the installation script:
Unpacking JRE ...
Preparing JRE ...
Starting Installer ...
May 30, 2018 6:51:23 PM java.util.prefs.FileSystemPreferences$2 run
INFO: Created system preferences directory in java.home.
Verifying if the libaio package is installed. /nobackup/susingh/tools/appdynamics/platform/platform/installer/checkLibaio.sh
Solved! Go to Solution.
I got this too... I was running from command-line as a non-root user:
./platform-setup-x64-linux-220.127.116.1193.sh -q -varfile /appd/home/Install/response.varfile
I added a shell debug switch and log to the command like so:
bash -x ./platform-setup-x64-linux-18.104.22.16893.sh -q -varfile /appd/home/Install/response.varfile > install.log 2>&1
If we tail the last bit of that log you get:
Verifying if the libaio package is installed. /opt/appdynamics/platform/installer/checkLibaio.sh
Required libaio package is not found. For instructions on installing
the missing package, refer to https://docs.appdynamics.com/display/PRO44/Enterprise+Console+Requirements
and the script checkLibaio.sh isn't left there... so you cannot figure it out easily. I also have a RedHat variant with the packages installed:
rpm -qa | grep libaio
Strangely enough I have one VM from the same image, that will install the distribution just fine, and one that will not. This makes no sense to me, so if I discover why I will try to let you know.
I managed to get the shell script checker and run it. The basic problem is that your install has both dpkg and rpm installed. If you temporarily rename dpkg to something else the install will go ahead... I am assuming here your OS is a RedHat distro where rpm is the default package manager. I have no idea why I have both installed... but it would seem this AppD installer is not making a very thorough check.
#!/bin/sh # Script used to check if the machine has libaio on it or not. cat /dev/null > /opt/appdynamics/platform/installer/.libaio_status chmod 777 /opt/appdynamics/platform/installer/.libaio_status # Check if the dpkg or rpm command exists before running it. command -v dpkg >/dev/null 2>&1 OUT=$? if [ $OUT -eq 0 ]; then if [ `dpkg -l | grep -i libaio* | wc -l` -gt 0 ]; then echo SUCCESS >> /opt/appdynamics/platform/installer/.libaio_status exit 0 fi else command -v rpm >/dev/null 2>&1 OUT=$? if [ $OUT -eq 0 ]; then if [ `rpm -qa | grep -i libaio* | wc -l` -gt 0 ]; then echo SUCCESS >> /opt/appdynamics/platform/installer/.libaio_status exit 0 fi fi fi echo FAILURE >> /opt/appdynamics/platform/installer/.libaio_status exit 1