Bash: Asterisk: Command Not Found

Home » Asterisk Users » Bash: Asterisk: Command Not Found
Asterisk Users 4 Comments

Hello

Ive installed asterisk 14.2 on CentOS 6.8 but i am not able to start it below is what am executing and those are the errors anything am doing wrong?

[root@localhost ~]# asterisk -r bash: asterisk: command not found
[root@localhost ~]# asterisk -vvvc bash: asterisk: command not found

chris

4 thoughts on - Bash: Asterisk: Command Not Found

  • It doesn’t look like it is installed to me… Check the install actually worked etc. I’ve never had to do any path changes or anything for asterisk on CentOS so I suspect it just isn’t there…

    Steve

  • it could be either of two things.

    1) asterisk not being in the $PATH, try launching it by using an absolute path
    2) it is, and you have it installed, but you have a 64 bit binary on a
    32 bit OS. the error message is a match for this scenario.

    regards adam

  • Right. Next time become root with ‘su -‘ and not ‘su’. Make sure
    /usr/sbin is in your PATH.

    The binaries would still be in /usr/sbin .