Spontaneous Asterisk Restart

Almost once a day now, our IP-PBX will spontaneously crash and restart all Asterisk services. We have seen some “corrputed mp3 errors” at times, but other times (like today) there does not appear to be anything in the logs to explain why Asterisk “restarted itself”. I am not talking about the server rebooting, just Asterisk (more or less like an amportal restart).

I am not sure which information to provide beyond the software versions:

Kernel
Linux(x86_64)-2.6.18-308.13.1.el5

Elastix
elastix-2.3.0-7
elastix-im-2.2.0-2
elastix-addons-2.3.0-4
elastix-a2billing-1.9.4-5
elastix-conferenceroom-2.2.0-3
elastix-red5-1.0.0-1.rc1.svn4199
elastix-firstboot-2.3.0-7
elastix-fax-2.3.0-4
elastix-my_extension-2.2.0-6
elastix-extras-2.2.0-1
elastix-ha-2.2.0-4
elastix-system-2.3.0-9
elastix-ZoneMinder-1.25.0-1
elastix-reports-2.3.0-4
elastix-framework-2.3.0-11
elastix-agenda-2.3.0-7
elastix-vtigercrm-5.2.1-6
elastix-email_admin-2.3.0-6
elastix-security-2.3.0-5
elastix-pbx-2.3.0-13

RounCubeMail
RoundCubeMail-0.3.1-12

Mail
postfix-2.3.3-2.3.el5_6
cyrus-imapd-2.3.7-12.el5_7.2

IM
openfire-3.7.1-1

FreePBX
freePBX-2.9.0.12

Asterisk
asterisk-1.8.12.0-0
asterisk-perl-0.10-2
asterisk-addons-1.8.12.0-0

FAX
hylafax-4.3.10-2rhel5
iaxmodem-1.2.0-2

DRIVERS
dahdi-2.4.1.2-11.1
rhino-0.99.4-3.rc1
wanpipe-util-3.5.25-0

Elastix does not distribute a legitimate and supported by FreePBX version of FreePBX as they forked it up a couple of years ago, they also offer a pre-compiled verison of asterisk in a RPM, there is nothing anyone here can do to help you, sorry you are totally at the mercy of Elastix now, think about migrating to the FreePBX distro, It is working, up to date and with great support here.

Hi,

I completely understand what you said, but we never use the embedded version. We only use the unembedded FreePBX and the modules are updated as normal via the FreePBX interface. Since the problem has been related to corrupted mp3 files (uploaded via FreePBX), that’s why I am posting here… Nevertheless, I will post to Elastix’s forums as well.

Thanks!

I’ve seen this happen before. You’ll have to identify the corrupted files and remove them.

Determine the crash time and then look at the FULL log at that time. You’ll see what it was trying to play.

You’ll also probably have a core dump file. Use gdb to take a look at it. you may find some clues there.

BF

The “unembedded” version is still based on a legacy Elastix fork-up, look to your over-rides in /etc/asterisk, but that is besides the point, your problem is asterisk is failing and restarting, and unless you compiled asterisk from source, you are using Elastix’ considered version, presumably to match their concept of how FreePBX should work, if this is failing, then how can anyone but Elastix help you?. I hope you understand the catch-22 you are in here.

One other point for clarification, FreePBX doesn’t distribute any audio files, they come from Digium.