Skip to content


Subversion checkout URL

You can clone with
Download ZIP
What's Wrong - simple, quick first step when debugging any server issue
Latest commit baaedab @bashtoni bashtoni Merge pull request #1 from ahmgithubahm/master
Fix for iptable conntrack module on CentOS 5 (kernel 2.6.18)
Failed to load latest commit information.
LICENSE bashrc entry for README
whatswrong conntrack table detection for CentOS 5 too

What's wrong?

A simple bash script to do some basic checks on the system, and report any problems found. The basic concept is that this script should be run as a first step when debugging any issue. Nothing in the script requires root privileges to run.

Please note that there are some situations where this script may cause a system with problems to hang, for example if there are unavailable mounted volumes.

You can run on any system with internet access directly, even if the disks are remounted read-only:

curl | bash

Alternatively, as long as you have SSH access to the remote system you can download via your local machine, and then send and execute over SSH as follows:

curl | ssh $remote_server bash

You could add a commandline shortcut to this by appending the following to your .bashrc:

ww() { curl | ssh $1 bash; }

You can then run the script on any machine you have SSH access to with ww $remote_server

You may need to add -k to curl, however, beware that this increases the potential for a man-in-the-middle attack. As the script is not run as root, this is less serious than it might otherwise be, but should still be considered.

Something went wrong with that request. Please try again.