3
votes

I have tried to install Asterisk 11 in my Ubuntu, but all time when I finished the installation, my Asterisk stopped suddenly and when I type asterisk -vvvvvvvvr it return /usr/sbin/asterisk not found

I also tried

You can fix this issue by compiling asterisk again. do this: cd /usr/src/asterisk-version make distclean make clean ./configure make menuselect make install

but not succeeded

What can happened?

4

4 Answers

2
votes

You can configure asterisk with prefix

e.g

./configure --prefix=/usr/local 

and then try

make && make install

and set the path variable appropriately to

e.g export PATH=$PATH:/usr/local/sbin/

1
votes

In modern version you should do

  ldconfig

After install of asterisk. If you install it in /usr/local/ path, you also should put /usr/local/lib/ into /etc/ld.so.conf.d/asterisk before that.

You can get info where you installed asterisk binary by using find utility

find / -name asterisk 
1
votes
whereis asterisk

if not found then it was not installed.

-1
votes

try restarting the service after install, once it stops

asterisk restart