Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

asterisk ippbx not working after yum update

Posted on 2012-12-23
1
Medium Priority
?
385 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 25

Accepted Solution

by:
kode99 earned 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Fine Tune your automatic Updates for Ubuntu / Debian
This article discusses how to implement server side field validation and display customized error messages to the client.
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

719 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