Re: [asterisk-users] bash: asterisk: command not found

2016-12-07 Thread Jonathan H
Did you actually do "make install" after doing "make"?

On 7 December 2016 at 12:17, Tzafrir Cohen  wrote:
> On Wed, Dec 07, 2016 at 09:23:30AM +, k...@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.co...@xorcom.com
> +972-50-7952406   mailto:tzafrir.co...@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

-- 
_
-- 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


Re: [asterisk-users] bash: asterisk: command not found

2016-12-07 Thread Tzafrir Cohen
On Wed, Dec 07, 2016 at 09:23:30AM +, k...@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.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@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


Re: [asterisk-users] bash: asterisk: command not found

2016-12-07 Thread ka

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


--
_
-- 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


Re: [asterisk-users] bash: asterisk: command not found

2016-12-07 Thread Steve Howes

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...


Steve

--
_
-- 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


[asterisk-users] bash: asterisk: command not found

2016-12-06 Thread christopher kamutumwa
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
-- 
_
-- 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