Trouble-maker as the name suggests, is a Linux tool that, when installed in a system, randomly selects a problem from which its list and actually creates it on the system, the idea behind using this tool is to sharpen your administrators skills, enabling you to solve the boot problem, system configuration problems, hardware problems, etc.
Why do we use tools ?
To simplify the tasks, obviously. But wait a minute; in this article I am going to introduce a tool that has been created to give you a hard time. Now before you begin to think that i have gone insane to even discuss a tool that’s designed to drive people nuts instead of making their lives easier, relax — it will be clear to you soon enough.
This article is all about Trouble maker, a handy tool to test your Linux troubleshooting skills. This tool creates an aaray of problems that you need to identify and rectify. Initially, it sounds like a pain but once you are done with it, you will have some great troubleshooting skills under your belt. So let’s proceed without further delay.
You can download Trouble-Maker from http://sourceforge.net/projects/trouble-maker/files/ and get installation instruction and running instructions at http://trouble-maker.sourceforge.net/docs.html. Once you have installed it, the real action begins. Trouble maker has 15 module each creating a unique problem for your system, wich has to be rectified. There are two ways to launch Trouble-Maker.
It will run a random module..
/usr/local/trouble-maker/bin/trouble-maker.pl –version=RHEL_5 –selection=name_of_the_module_file
It will run a specified module..
You will find 16.tar files in the /usr/local/trouble-maker/kitbag directory. You can use any of these files (including .tar extension) to run that file. For example, there us a file called do_nothing.tar, which is a dummy file and it does nothing. You can run it with the following command:
/usr/local/trouble-maker/bin/trouble-maker.pl –version=RHEL_5 –selection=do_nothing.tar
Now run the command shown below:
… and wait for the things to explode. Once you run it, you will get a description about what has gone wrong. Your job is to deal with problem and fix it.
Similarly, it has 15 other modules which helps you to face troubles and you have a chance to fix it..