<div dir="ltr">i think you messed 2 installs of asterisk.<div>if you compile asterisk from sources it not insert init script.</div><div>you can test installing to /opt.</div><div><br></div><div>1. cd to asterisk sources folder </div>
<div>2. make distclean</div><div>3. ./configure --prefix=/opt/asterisk</div><div>4. make</div><div>5. sudo make install</div><div>6. /opt/asterisk/sbin/asterisk -vvvvc</div><div>you can remove this installation by sudo rm -rfv /opt/asterisk</div>
<div>if it work then you should remove every asterisk installation and then install a fresh copy .(or reinstall OS if you cannot remove)</div><div>hope this will help you.</div><div><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Sep 18, 2013 at 2:57 PM, Asmaa Ahmed <span dir="ltr">&lt;<a href="mailto:asabatgirl@hotmail.com" target="_blank">asabatgirl@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div><div dir="ltr">It looks this is because Asterisk isn&#39;t started<div>when tried to start it, I got a core dump!</div><div><div>$ /etc/init.d/asterisk start</div><div> * Starting Asterisk PBX: asterisk</div><div>Illegal instruction (core dumped)</div>
<br><div><hr>From: <a href="mailto:asabatgirl@hotmail.com" target="_blank">asabatgirl@hotmail.com</a><br>To: <a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a><br>Subject: Can&#39;t connect to Asterisk cli<br>
Date: Wed, 18 Sep 2013 14:13:16 +0200<br><br>


<div dir="ltr">Hello,<div><br></div><div>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&#39;t hear voice during the call!<br>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</div>
<div>So I have installed Asterisk 11 following the procedure in Asterisk- The Definitive Guide, 4th Edition book</div><div>The installation done with no problem, but now I can&#39;t even login to CLI, it keeps returns Linux prompt! </div>
<div>ubuntu@vbefe01:/etc/asterisk$ sudo asterisk -r</div><div>ubuntu@vbefe01:/etc/asterisk$ sudo asterisk -vvvvvc</div><div>ubuntu@vbefe01:/etc/asterisk$ sudo asterisk -cvvv</div><div><span style="font-size:12pt">ubuntu@vbefe01:/etc/asterisk$ </span>  </div>
<div><br></div><div>and if I don&#39;t use sudo, it returns a core dump</div><div><div>$ asterisk -vvvvvvc</div><div>Illegal instruction (core dumped)</div></div><div><br></div><div>I was able to connect before installing the latest version from the source? How can I fix that?</div>
<div><br></div><div>Thanks.</div>                                               </div></div></div>                                               </div></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>