[asterisk-users] Can't connect to Asterisk cli

Asghar Mohammad asghar144 at gmail.com
Wed Sep 18 08:10:34 CDT 2013


i think you messed 2 installs of asterisk.
if you compile asterisk from sources it not insert init script.
you can test installing to /opt.

1. cd to asterisk sources folder
2. make distclean
3. ./configure --prefix=/opt/asterisk
4. make
5. sudo make install
6. /opt/asterisk/sbin/asterisk -vvvvc
you can remove this installation by sudo rm -rfv /opt/asterisk
if it work then you should remove every asterisk installation and then
install a fresh copy .(or reinstall OS if you cannot remove)
hope this will help you.



On Wed, Sep 18, 2013 at 2:57 PM, Asmaa Ahmed <asabatgirl at hotmail.com> wrote:

> It looks this is because Asterisk isn't started
> when tried to start it, I got a core dump!
> $ /etc/init.d/asterisk start
>  * Starting Asterisk PBX: asterisk
> Illegal instruction (core dumped)
>
> ------------------------------
> From: asabatgirl at hotmail.com
> To: asterisk-users at lists.digium.com
> Subject: Can't connect to Asterisk cli
> Date: Wed, 18 Sep 2013 14:13:16 +0200
>
> Hello,
>
> I have started using Asterisk recently on my Ubuntu server. I installed it
> first using apt-get and it worked fine sort of, but still couldn't hear
> voice during the call!
> I read that this problem solved by reinstalling it, so I decided to
> reinstall the latest version from the source as apt-get can give you only
> Asterisk 1.8
> So I have installed Asterisk 11 following the procedure in Asterisk- The
> Definitive Guide, 4th Edition book
> The installation done with no problem, but now I can't even login to CLI,
> it keeps returns Linux prompt!
> ubuntu at vbefe01:/etc/asterisk$ sudo asterisk -r
> ubuntu at vbefe01:/etc/asterisk$ sudo asterisk -vvvvvc
> ubuntu at vbefe01:/etc/asterisk$ sudo asterisk -cvvv
> ubuntu at vbefe01:/etc/asterisk$
>
> and if I don't use sudo, it returns a core dump
> $ asterisk -vvvvvvc
> Illegal instruction (core dumped)
>
> I was able to connect before installing the latest version from the
> source? How can I fix that?
>
> Thanks.
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130918/241abb23/attachment.htm>


More information about the asterisk-users mailing list