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
05-30-2018 07:12 PM
Getting below error during platform installation:
"Required libaio package is not found. ..."
However, above package is already installed:
> rpm -q libaio
libaio-0.3.107-10.el6.x86_64
libaio-0.3.107-10.el6.i686
Here is output from the installation script:
> ./platform-setup-x64-linux-4.4.3.10393.sh
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.
06-05-2018 08:14 PM - edited 06-05-2018 09:51 PM
I got this too... I was running from command-line as a non-root user:
./platform-setup-x64-linux-4.4.3.10393.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-4.4.3.10393.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
libaio-0.3.109-13.el7.x86_64
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.
06-05-2018 10:52 PM - edited 06-05-2018 11:00 PM
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
06-07-2018 11:37 AM
Thanks David - that was very helpful.
06-05-2024 04:30 AM
Thank you
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form