Re: [asterisk-users] Can't connect to Asterisk cli
remove content of /var/log/asterisk/messages "> /var/log/asterisk/messages" run asterisk and post content of /var/log/asterisk/messages to pastebin. On Thu, Sep 19, 2013 at 9:39 AM, Asmaa Ahmed wrote: > Hello, > > No, another installation haven't solved the problem! > It looks more like something related to the configuration in setting the > running environment! > > 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 > -- _ -- 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
Re: [asterisk-users] Can't connect to Asterisk cli
Hello, No, another installation haven't solved the problem! It looks more like something related to the configuration in setting the running environment! 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
Re: [asterisk-users] Can't connect to Asterisk cli
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 -c 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 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: asabatg...@hotmail.com > To: asterisk-users@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@vbefe01:/etc/asterisk$ sudo asterisk -r > ubuntu@vbefe01:/etc/asterisk$ sudo asterisk -vc > ubuntu@vbefe01:/etc/asterisk$ sudo asterisk -cvvv > ubuntu@vbefe01:/etc/asterisk$ > > and if I don't use sudo, it returns a core dump > $ asterisk -vvc > 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 > -- _ -- 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
Re: [asterisk-users] Can't connect to Asterisk cli
Ah, my bad, possibly not. On 18 September 2013 13:50, Asghar Mohammad wrote: > SELinux exists in Ubuntu? > > > > On Wed, Sep 18, 2013 at 2:45 PM, Ishfaq Malik wrote: > >> Have you checked your SELinux settings? >> >> >> On 18 September 2013 13:13, Asmaa Ahmed 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@vbefe01:/etc/asterisk$ sudo asterisk -r >>> ubuntu@vbefe01:/etc/asterisk$ sudo asterisk -vc >>> ubuntu@vbefe01:/etc/asterisk$ sudo asterisk -cvvv >>> ubuntu@vbefe01:/etc/asterisk$ >>> >>> and if I don't use sudo, it returns a core dump >>> $ asterisk -vvc >>> 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: i...@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 >> >> >> -- >> _ >> -- 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 >> > > > -- > _ > -- 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: i...@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 -- _ -- 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
Re: [asterisk-users] Can't connect to Asterisk cli
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: asabatg...@hotmail.com To: asterisk-users@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@vbefe01:/etc/asterisk$ sudo asterisk -rubuntu@vbefe01:/etc/asterisk$ sudo asterisk -vcubuntu@vbefe01:/etc/asterisk$ sudo asterisk -cvvvubuntu@vbefe01:/etc/asterisk$ and if I don't use sudo, it returns a core dump$ asterisk -vvcIllegal 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
Re: [asterisk-users] Can't connect to Asterisk cli
SELinux exists in Ubuntu? On Wed, Sep 18, 2013 at 2:45 PM, Ishfaq Malik wrote: > Have you checked your SELinux settings? > > > On 18 September 2013 13:13, Asmaa Ahmed 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@vbefe01:/etc/asterisk$ sudo asterisk -r >> ubuntu@vbefe01:/etc/asterisk$ sudo asterisk -vc >> ubuntu@vbefe01:/etc/asterisk$ sudo asterisk -cvvv >> ubuntu@vbefe01:/etc/asterisk$ >> >> and if I don't use sudo, it returns a core dump >> $ asterisk -vvc >> 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: i...@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 > > > -- > _ > -- 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 > -- _ -- 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
Re: [asterisk-users] Can't connect to Asterisk cli
Have you checked your SELinux settings? On 18 September 2013 13:13, Asmaa Ahmed 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@vbefe01:/etc/asterisk$ sudo asterisk -r > ubuntu@vbefe01:/etc/asterisk$ sudo asterisk -vc > ubuntu@vbefe01:/etc/asterisk$ sudo asterisk -cvvv > ubuntu@vbefe01:/etc/asterisk$ > > and if I don't use sudo, it returns a core dump > $ asterisk -vvc > 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: i...@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 -- _ -- 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
Re: [asterisk-users] Can't connect to Asterisk cli
become root sudo su - or su -l give your password. if asterisk is already running connect to "asterisk -rvvvc" otherwisw "asterisk -c". 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 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@vbefe01:/etc/asterisk$ sudo asterisk -r > ubuntu@vbefe01:/etc/asterisk$ sudo asterisk -vc > ubuntu@vbefe01:/etc/asterisk$ sudo asterisk -cvvv > ubuntu@vbefe01:/etc/asterisk$ > > and if I don't use sudo, it returns a core dump > $ asterisk -vvc > 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 > -- _ -- 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
[asterisk-users] Can't connect to Asterisk cli
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@vbefe01:/etc/asterisk$ sudo asterisk -rubuntu@vbefe01:/etc/asterisk$ sudo asterisk -vcubuntu@vbefe01:/etc/asterisk$ sudo asterisk -cvvvubuntu@vbefe01:/etc/asterisk$ and if I don't use sudo, it returns a core dump$ asterisk -vvcIllegal 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