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.8So I have installed Asterisk 11 following the procedure in Asterisk- The Definitive Guide, 4th Edition bookThe 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 -rubuntu at vbefe01:/etc/asterisk$ sudo asterisk -vvvvvcubuntu at vbefe01:/etc/asterisk$ sudo asterisk -cvvvubuntu at vbefe01:/etc/asterisk$ and if I don't use sudo, it returns a core dump$ asterisk -vvvvvvcIllegal instruction (core dumped) I was able to connect before installing the latest version from the source? How can I fix that? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130918/f9f1edc9/attachment.htm>
become root sudo su - or su -l give your password. if asterisk is already running connect to "asterisk -rvvvc" otherwisw "asterisk -vvvvc". if you want asterisk run as daemon "asterisk" and then connect to asterisk "asterisk -rvvvc" On Wed, Sep 18, 2013 at 2:13 PM, Asmaa Ahmed <asabatgirl at hotmail.com> wrote:> 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/666ea808/attachment.htm>
Have you checked your SELinux settings? On 18 September 2013 13:13, Asmaa Ahmed <asabatgirl at hotmail.com> wrote:> 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 >-- Ishfaq Malik Department: VOIP Support Company: Packnet Limited t: +44 (0)845 004 4994 f: +44 (0)161 660 9825 e: ish at pack-net.co.uk w: http://www.pack-net.co.uk Registered Address: PACKNET LIMITED, Duplex 2, Ducie House 37 Ducie Street Manchester, M1 2JW COMPANY REG NO. 04920552 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130918/5795b5c0/attachment.htm>
It looks this is because Asterisk isn't startedwhen tried to start it, I got a core dump!$ /etc/init.d/asterisk start * Starting Asterisk PBX: asteriskIllegal 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.8So I have installed Asterisk 11 following the procedure in Asterisk- The Definitive Guide, 4th Edition bookThe 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 -rubuntu at vbefe01:/etc/asterisk$ sudo asterisk -vvvvvcubuntu at vbefe01:/etc/asterisk$ sudo asterisk -cvvvubuntu at vbefe01:/etc/asterisk$ and if I don't use sudo, it returns a core dump$ asterisk -vvvvvvcIllegal instruction (core dumped) I was able to connect before installing the latest version from the source? How can I fix that? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130918/21a54131/attachment.htm>