checkgid: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/checkgid - from package: apache2-utils

You may install the required package with command apt-get install {package}
Error in other languages:
checkgid: bevel nie gevind nie
checkgid: comandă negăsită
checkgid: comando não encontrado
checkgid: commande introuvable
checkgid: command not found
checkgid: käsku ei ole
checkgid: không tìm thấy lệnh
checkgid: komanda nerasta
checkgid: Kommando nicht gefunden.
checkgid: kommandot finns inte
checkgid: komut yok
checkgid: nie znaleziono polecenia
checkgid: níor aimsíodh an t-ordú
checkgid: no se encontró la orden
checkgid: no s'ha trobat l'ordre
checkgid: opdracht niet gevonden
checkgid: parancs nem található
checkgid: perintah tidak ditemukan
checkgid: príkaz nenájdený
checkgid: příkaz nenalezen
checkgid: команда не найдена
checkgid: командата не е открита
checkgid: 命令找不到
checkgid: コマンドが見つかりません