mapnik-inspect: 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/mapnik-inspect - from package: node-mapnik

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