- 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
digto look up an IP for linuxacademy.com:dig linuxacademy.comUse
lddto view the libraries used bydig:ldd $(which dig)libdns.so.1102is missing. Useyumto find a package that installs this library:yum provides */libdns.so.1102Reinstall the
bind-libs-litepackage:yum reinstall -y bind-libs-liteAttempt to use
digto 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 valgrindRun
valgrindagainst/root/test_app:valgrind ./memleak_test_appIf 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_appInstall
strace:yum install -y straceRun the application again using
strace:strace /root/example_appCreate the missing file:
touch /etc/example.confRun 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.