Solved

asterisk ippbx not working after yum update

Posted on 2012-12-23
1
363 Views
Last Modified: 2013-01-10
Dear Experts:

We have deployed asterisk ip-pbx for our sales operation with xorcom appliance other than default shipping this required custom coded from the developer  done in PHP. eveything was working fine but recently after yum update the service affected. now that devloper still working to fix.

Developer said update was required for asterisk hence did yum update and this broke the code.

I think instead of  using yum update could have used stand alone appliacation wise update.

Please tell me how to handle such sitation

1.Is it possible to undo the yum update process to restore to previous.
2. what measures the developer should take before going for yum update.
3. how to avoid yum update affecting astersik, php , freepbx and dhadi

Please suggest.
0
Comment
Question by:D_wathi
1 Comment
 
LVL 25

Accepted Solution

by:
kode99 earned 500 total points
ID: 38717630
While it is possible to do rollback yum updates it is not normally an enabled feature.  Here's a real short article,

http://www.tomvernon.co.uk/blog/2011/03/roll-back-rpm-packages-centosredhat/

I've never used it myself and just looked it up to see if it could be done.  Since it's not default and it can suck up drive space I doubt it was enabled on the appliance setup.

Normally I would just be sure to have a backup before doing a update for a production system.  Possibly going as far as pulling the drive and cloning it so I can switch it back really quickly by just putting the original drive back in.

Any chance you can get the original install back onto the appliance and go from there?

The catch with updates on systems that use binary packages - this means the programs are precompiled - is the the packages have to be built for the specific version of the system.  So if you upgrade the core linux you must have a matching asterisk/dahdi/etc for the version you upgrade linux to.

If a system uses a source code package then you can recompile asterisk and its components for the new linux version.  You can still have issues because sometimes things change and the compile will not run cleanly or the configuration is not exactly the same - but in general this works fine.

It can be hard to predict problems,  like for example there was a bug fixed but your setup had a work around in place, so by fixing the bug the workaround may become a bug and the upgrade broke the setup.

Did asterisk completely stop or did the update only affect the developers changes?

The measures a developer should take is to test things before doing anything to a production system.  Without knowing the details its hard to say if what has happened was somebody doing something stupid or it is some oddball problem.  Any time there is customization doing a upgrade is more of a risk.

Just to be safe always have a full backup before tinkering with anything live.  This way you know for sure you can always go back if something goes wrong.  With appliance devices this is not always as easy as a drive clone,  you may need prior firmware and configuration saves to restore a system.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Google Dork query 7 63
Cisco VOIP Question 1 31
Why is my implode function empty 8 13
how can I see what is posted inside an array to my website? 16 15
These days socially coordinated efforts have turned into a critical requirement for enterprises.
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question