Reputation: 190
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
Reputation: 19
try restarting the service after install, once it stops
asterisk restart
Upvotes: -1
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
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