elastix
Information
Community
Developers
What We Sell
Forums
Addons
Download
Information
Community
Social Networks
For Developers
Manufacturer Support
Appliances
Training & Certification

Asterisk Error After Elastix Update

Use this forum for recommendations and ideas on how to improve the Elastix Community

Asterisk Error After Elastix Update

Postby plastilin » Mon Jan 28, 2013 5:35 pm

Hi All, i update my elastix with yum update, and have error when server boot


Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
Starting asterisk: Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)

How i can fix it?
User avatar
plastilin
Fresh Boarder
Fresh Boarder
 
Posts: 6
Joined: Tue May 29, 2012 3:30 am
Karma: 0

Re:Asterisk Error After Elastix Update

Postby elastix809 » Mon Jan 28, 2013 6:57 pm

Run this command asterisk -dvvvvv and post the ouput please,
elastix809
Junior Boarder
Junior Boarder
 
Posts: 85
Joined: Tue Apr 05, 2011 2:50 am
Karma: 5

Re:Asterisk Error After Elastix Update

Postby plastilin » Tue Jan 29, 2013 3:05 pm

[root@november ~]# asterisk -dvvvvv
Parsing /etc/asterisk/asterisk.conf
Seeding global EID '16:56:52:55:30:24' from 'eth0' using 'siocgifhwaddr'
Asterisk already running on /var/run/asterisk/asterisk.ctl. Use 'asterisk -r' to connect.
User avatar
plastilin
Fresh Boarder
Fresh Boarder
 
Posts: 6
Joined: Tue May 29, 2012 3:30 am
Karma: 0

Re:Asterisk Error After Elastix Update

Postby pmurphy » Tue Jan 29, 2013 9:55 pm

I have seen a few posts with this issue recently. Do you have a recent backup done with Elastix console? If so you can open with zip tool and read the software versions prior to last update.

The posted solution was to restore from bare metal type restore, but my guess would might be able to roll back some incompatible version update.

Search for posts on your current version of asterisk and see if you find posts on errors.

Also post more information of prior and current versions so others that have experience could give you ideas.
pmurphy
Expert Boarder
Expert Boarder
 
Posts: 789
Joined: Thu Feb 02, 2012 10:36 am
Location: Austin, Texas
Karma: 39

Re:Asterisk Error After Elastix Update

Postby plastilin » Wed Jan 30, 2013 1:00 am

Ok. I use Elastix on XenServer, because create shapshots before update. Now i revert to Elastix version before update from snapshot. What i can to do for check versions?
User avatar
plastilin
Fresh Boarder
Fresh Boarder
 
Posts: 6
Joined: Tue May 29, 2012 3:30 am
Karma: 0

Re:Asterisk Error After Elastix Update

Postby DaveD » Wed Jan 30, 2013 4:47 am

yum check-update at console

But that is no guarantee the update will not break anything.

Funny to see things haven't changed with updates breaking things
DaveD
Expert Boarder
Expert Boarder
 
Posts: 594
Joined: Mon Nov 12, 2007 5:04 pm
Location: Wollongong Australia
Karma: 23

Re:Asterisk Error After Elastix Update

Postby pmurphy » Wed Jan 30, 2013 7:42 am

There is a version list on the tab drop downs on the top right of GUI. Switch to text mode when wanting to copy and paste to forum or such. This can be extremely useful for reloading from failure if you plan to do use a restore from Elastix.

The yum update all that was reported to cause other issues included the -20 version of asterisk release.

I personally would suggest not to ever do an update all on any platform without first checking what is included and reading what the updates are changing. It will give you a better idea of what to watch for if you notice a performance change.

I commend you for being prepared to restore via image, absolutely the best way to be sure your covered and allows for experiementation.
pmurphy
Expert Boarder
Expert Boarder
 
Posts: 789
Joined: Thu Feb 02, 2012 10:36 am
Location: Austin, Texas
Karma: 39

Re:Asterisk Error After Elastix Update

Postby plastilin » Wed Jan 30, 2013 8:15 am

There is:


Code: [Select all] [Expand/Collapse] [Download] (Untitled.txt)
Kernel
   Linux(i386)-2.6.18-308.4.1.el5xen

 Elastix
   elastix-2.3.0-8
   elastix-im-2.3.0-1
   elastix-security-2.3.0-8
   elastix-vtigercrm-5.2.1-7
   elastix-framework-2.3.0-16
   elastix-firstboot-2.3.0-9
   elastix-asterisk-sounds-1.2.3-1
   elastix-my_extension-2.3.0-1
   elastix-reports-2.3.0-8
   elastix-system-2.3.0-15
   elastix-pbx-2.3.0-18
   elastix-addons-2.3.0-7
   elastix-portknock-0.0.1-0
   elastix-fax-2.3.0-7
   elastix-agenda-2.3.0-9
   elastix-extras-2.3.0-1
   elastix-a2billing-1.9.4-5
   elastix-email_admin-2.3.0-11

 RounCubeMail
   RoundCubeMail-0.3.1-12

 Mail
   postfix-2.3.3-6.el5
   cyrus-imapd-2.3.7-12.el5_7.2

 IM
   openfire-3.7.1-1

 FreePBX
   freePBX-2.8.1-15

 Asterisk
   asterisk-1.8.19.0-1
   asterisk-perl-0.10-2
   asterisk-addons-1.8.19.0-1

 FAX
   hylafax-4.3.10-2rhel5
   iaxmodem-1.2.0-2

 DRIVERS
   dahdi-2.6.1-4
   rhino-0.99.6-0.b2
   wanpipe-util-3.5.28-0
GeSHi ©
User avatar
plastilin
Fresh Boarder
Fresh Boarder
 
Posts: 6
Joined: Tue May 29, 2012 3:30 am
Karma: 0

Re:Asterisk Error After Elastix Update

Postby pmurphy » Wed Jan 30, 2013 8:30 am

This is your currently running correctly version right? The other guy posted issues that included the update from .19 to a .20 version of asterisk. His resolution was to restore as you did. Look for his post on the forum for additional details. He had some ideas of what it was.

If you want to test what is causing the issue yourself, try doing updates one at a time.

Search out the yum commands, you can check for updates to create a current list of what is available. Then try something like asterisk, then elastix and so on tesing between each update. This will give you an idea of which update is giving you the error, read the changes with that version so you can determine what has changed. You will not always be able to just update all software to current versions since they are all being developed separately with their own agenda.

Or since there is some known issues reported just install the update you needed or wanted for a security or functional change to test it and watch for a resolution to be posted to future updates.
pmurphy
Expert Boarder
Expert Boarder
 
Posts: 789
Joined: Thu Feb 02, 2012 10:36 am
Location: Austin, Texas
Karma: 39

Re:Asterisk Error After Elastix Update

Postby elastix-user » Fri Feb 01, 2013 6:24 pm

Hi Everyone,

Thought I'd pop in my question here as it is really related to this topic and wouldn't have made sense starting a new thread....

I have noticed that running yum update does a hell of a job and infact updates the whole Cent OS (inc. Kernel packages and Elastix)... Questions:

1. If I do yum update once in a while ( knowing packages will work etc. ), will this be a substitue for actually downloading the latest version of the distribution and avoid installing it?

2. What would be the benefits of re-installing the distro afresh (if any)?

Thanks,
J :blink:
elastix-user
Fresh Boarder
Fresh Boarder
 
Posts: 7
Joined: Wed Dec 15, 2010 1:44 am
Karma: 0


Return to Elastix Community

Who is online

Users browsing this forum: No registered users and 1 guest