hbonath
Guru
- Joined
- Jan 24, 2012
- Messages
- 150
- Reaction score
- 40
Recent *ahem* tensions aside (http://pbxinaflash.com/community/index.php?threads/whats-fair-for-the-goose.14428/)
I came across an issue on 3 systems running an older build of the FreePBX distro (2.210.62-6) that needed to be upgraded to FreePBX 2.11 by running the Schmooze update scripts.
Essentially what happened was that once the script ran that took it from freepbx distro version 2.210.x to 3.211.x left asterisk completely broken and would result in an endless SegFault loop regardless of Asterisk version 1.8, 10, or 11.
I spent the day trying to figure this out after bricking 3 systems (Thanks to Storix for fast bare-metal recovery!) and eventually traced it to the 1.210 version of the old FOP2 FreePBX module that screwed up the entire works.
The FIX is to disable/un-install the module *before* running the upgrade scripts, and then once on FreePBX 2.11 re-install the latest module which is 1.215.
I was able to lab it out and took a completely broken system and got it working again by taking /etc/asterisk and renaming it, copying the manager*.conf files into a new /etc/asterisk directory and then used FreePBX to generate new conf files. Then using cp -Rn to copy the missing files from /etc/asterisk.old to /etc/asterisk seemed to leave the system in a state where asterisk would no longer segfault.
Crazy problem! Just wanted to make sure the info was out there to help out the next guy along the way.
I came across an issue on 3 systems running an older build of the FreePBX distro (2.210.62-6) that needed to be upgraded to FreePBX 2.11 by running the Schmooze update scripts.
Essentially what happened was that once the script ran that took it from freepbx distro version 2.210.x to 3.211.x left asterisk completely broken and would result in an endless SegFault loop regardless of Asterisk version 1.8, 10, or 11.
I spent the day trying to figure this out after bricking 3 systems (Thanks to Storix for fast bare-metal recovery!) and eventually traced it to the 1.210 version of the old FOP2 FreePBX module that screwed up the entire works.
The FIX is to disable/un-install the module *before* running the upgrade scripts, and then once on FreePBX 2.11 re-install the latest module which is 1.215.
I was able to lab it out and took a completely broken system and got it working again by taking /etc/asterisk and renaming it, copying the manager*.conf files into a new /etc/asterisk directory and then used FreePBX to generate new conf files. Then using cp -Rn to copy the missing files from /etc/asterisk.old to /etc/asterisk seemed to leave the system in a state where asterisk would no longer segfault.
Crazy problem! Just wanted to make sure the info was out there to help out the next guy along the way.