Solved

asterisk ippbx not working after yum update

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
As companies replace their old PBX phone systems with Unified IP Communications, many are finding out that legacy applications such as fax do not work well with VoIP. Fortunately, Cloud Faxing provides a cost-effective alternative that works over an…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
The viewer will learn how to dynamically set the form action using jQuery.

707 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

17 Experts available now in Live!

Get 1:1 Help Now