ka at mayten.sch.bme.hu
2016-Dec-07 09:23 UTC
[asterisk-users] bash: asterisk: command not found
On 2016-12-07 09:13, Steve Howes wrote:> On 07/12/16 04:56, christopher kamutumwa wrote: >> 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? > > 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... >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
On Wed, Dec 07, 2016 at 09:23:30AM +0000, ka at mayten.sch.bme.hu wrote:> On 2016-12-07 09:13, Steve Howes wrote: > >On 07/12/16 04:56, christopher kamutumwa wrote: > >>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? > > > >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... > > > > it could be either of two things. > > 1) asterisk not being in the $PATH, try launching it by using an absolute > pathRight. Next time become root with 'su -' and not 'su'. Make sure /usr/sbin is in your 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.The binaries would still be in /usr/sbin . -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com
Did you actually do "make install" after doing "make"? On 7 December 2016 at 12:17, Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:> On Wed, Dec 07, 2016 at 09:23:30AM +0000, ka at mayten.sch.bme.hu wrote: >> On 2016-12-07 09:13, Steve Howes wrote: >> >On 07/12/16 04:56, christopher kamutumwa wrote: >> >>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? >> > >> >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... >> > >> >> it could be either of two things. >> >> 1) asterisk not being in the $PATH, try launching it by using an absolute >> path > > Right. Next time become root with 'su -' and not 'su'. Make sure > /usr/sbin is in your 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. > > The binaries would still be in /usr/sbin . > > -- > Tzafrir Cohen > icq#16849755 jabber:tzafrir.cohen at xorcom.com > +972-50-7952406 mailto:tzafrir.cohen at xorcom.com > http://www.xorcom.com > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Check out the new Asterisk community forum at: https://community.asterisk.org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users