[asterisk-users] failing to start asterisk on centos7

A J Stiles asterisk_list at earthshod.co.uk
Mon Dec 12 07:29:04 CST 2016


**  THIS IS NOT WHERE YOUR REPLY BELONGS  **

On Monday 12 Dec 2016, christopher kamutumwa wrote:
> Hello support,
> 
> Am not winning need your help. ive tried putting a different version of
> asterisk on centos 7 and here are below results, after make config;
> 
> [root at localhost asterisk-14.2.1]# make config
> [root at localhost asterisk-14.2.1]# sudo service asterisk start
> Starting asterisk (via systemctl):                         [  OK  ]
> [root at localhost asterisk-14.2.1]# asterisk -rvv
> bash: asterisk: command not found
> [root at localhost asterisk-14.2.1]# which asterisk
> /usr/bin/which: no asterisk in (/sbin:/bin:/usr/sbin:/usr/bin)
> [root at localhost asterisk-14.2.1]# asterisk vvvvc
> bash: asterisk: command not found

You don't appear to have finished the build process!

You need to run
$ make menuselect
$ make
$ sudo make install

(if `make` stops with errors, fix them and run that step again.)

There is no way that `sudo service asterisk start` should be able to start 
anything successfully if there isn't an asterisk binary in the path.  (But 
systemd is a law unto itself.)

-- 
AJS

Note:  Originating address only accepts e-mail from list!  If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .



More information about the asterisk-users mailing list