Solved

asterisk ippbx not working after yum update

Posted on 2012-12-23
1
337 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What is the best PDF generator to use? 1 30
Split long text string into shorter chunks 7 24
hosting images 4 12
PHP Sessions in WordPress 8 11
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…

863 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now