I have had a working PBX in a flash system for several months now. It has been working without issue and the computer has been restarted multiple times without issue in the past. All of a sudden this week, the phones ceased to work. I SSHed in and found that asterisk was not running. I am able to manually start asterisk with the amportal start command. I also checked /etc/rc.local file. A command to run amportal is present in that file. Other things in that file are run on startup (I also use the PBX in a flash server as a cups server, and cups starts up from /etc/rc.local). I can also run rc.local manually and it starts asterisk.
All other parts of the server seem operational...ie web server is running, freepbx in working but does not show asterisk up and running.
I finally just started a cron job to start amportal every 10 minutes. That appears to work. It is not the most elegant solution.
Anyone else having similar problems. Any better solutions?
Thanks.
Here is the Status info:
********************************************************************
PBX in a Flash Version 1.4 Daemon Status
********************************************************************
* Asterisk * ONLINE * Zaptel * ONLINE * MySQL * ONLINE *
* SSH * ONLINE * Apache * ONLINE * Iptables * ONLINE *
* Fail2ban * ONLINE * IP Connect* ONLINE * Ip6tables * ONLINE *
* BlueTooth * ONLINE * Hidd * ONLINE * NTPD * ONLINE *
* Sendmail * ONLINE * Samba * OFFLINE * Webmin * LOADING *
* Ethernet0 * N/A * Ethernet1 * N/A * Wlan0 * N/A *
********************************************************************
* Running Asterisk Version : Asterisk 1.4.21.2
* Asterisk Source Version : 1.4.21.2
* Zaptel Source Version : 1.4.12.1
* Libpri Source Version : 1.4.10
* Addons Source Version : 1.4.7
********************************************************************
localhost on - eth0
CentOS release 5.2 (Final) :32 Bit Kernel: 2.6.18-92.1.22.el5
All other parts of the server seem operational...ie web server is running, freepbx in working but does not show asterisk up and running.
I finally just started a cron job to start amportal every 10 minutes. That appears to work. It is not the most elegant solution.
Anyone else having similar problems. Any better solutions?
Thanks.
Here is the Status info:
********************************************************************
PBX in a Flash Version 1.4 Daemon Status
********************************************************************
* Asterisk * ONLINE * Zaptel * ONLINE * MySQL * ONLINE *
* SSH * ONLINE * Apache * ONLINE * Iptables * ONLINE *
* Fail2ban * ONLINE * IP Connect* ONLINE * Ip6tables * ONLINE *
* BlueTooth * ONLINE * Hidd * ONLINE * NTPD * ONLINE *
* Sendmail * ONLINE * Samba * OFFLINE * Webmin * LOADING *
* Ethernet0 * N/A * Ethernet1 * N/A * Wlan0 * N/A *
********************************************************************
* Running Asterisk Version : Asterisk 1.4.21.2
* Asterisk Source Version : 1.4.21.2
* Zaptel Source Version : 1.4.12.1
* Libpri Source Version : 1.4.10
* Addons Source Version : 1.4.7
********************************************************************
localhost on - eth0
CentOS release 5.2 (Final) :32 Bit Kernel: 2.6.18-92.1.22.el5