volname: 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 CentOS possible default full paths are:

/usr/bin/volname - from package: eject

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/volname - from package: eject

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