Vitor Mazuco
Vitor Mazuco

Reputation: 190

Asterisk 11 /usr/sbin/asterisk not found

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?

Upvotes: 3

Views: 6895

Answers (4)

uselessinfoguru
uselessinfoguru

Reputation: 19

try restarting the service after install, once it stops

asterisk restart

Upvotes: -1

betovaz81
betovaz81

Reputation: 39

whereis asterisk

if not found then it was not installed.

Upvotes: 1

Varadhan Work
Varadhan Work

Reputation: 485

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/

Upvotes: 2

arheops
arheops

Reputation: 15259

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 

Upvotes: 1

Related Questions