- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Troubleshooting Application Issues
In this exercise, you will troubleshoot three different application issues. **This course is not approved or sponsored by Red Hat.**

Lab Info
Table of Contents
-
Challenge
Troubleshoot and resolve issues using the dig, host, and nslookup commands.
Attempt to use
dig
to look up an IP for linuxacademy.com:dig linuxacademy.com
Use
ldd
to view the libraries used bydig
:ldd $(which dig)
libdns.so.1102
is missing. Useyum
to find a package that installs this library:yum provides */libdns.so.1102
Reinstall the
bind-libs-lite
package:yum reinstall -y bind-libs-lite
Attempt to use
dig
to look up an IP for linuxacademy.com:dig linuxacademy.com
-
Challenge
Assess the application /root/memleak_test_app for a memory leak.
Install
valgrind
:yum install -y valgrind
Run
valgrind
against/root/test_app
:valgrind ./memleak_test_app
If the app has a memory leak, remove executable permissions:
chmod -x /root/memleak_test_app
-
Challenge
Assess and resolve the issue with /root/example_app.
Attempt to run the application:
/root/example_app
Install
strace
:yum install -y strace
Run the application again using
strace
:strace /root/example_app
Create the missing file:
touch /etc/example.conf
Run the application again:
/root/example_app
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.