shp_doctor: 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/shp_doctor - from package: spatialite-bin

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