I have use VirtualBox to create a VM on which I would like to run FreePBX.
The host system is a Ubuntu server, I use headless virtualbox.
From freepbx.org I downloaded the latest stable ISO file, FreePBX-64bit-10.13.66.iso .
The VM boots with the iso mounted in the discdrive, the installer starts fine. I choose to install with latest Asterisk version (13). I tried to install both the default and the without raid option; same results.
The installer runs fine, just as described in the docs, wiki.freepbx.org/display/FD/Installing+FreePBX+Official+Distro .
(however, the step that updates all FreePBX modules seems to run even longer than the 10-15 minutes that is advertised).
When installation is complete, I see the message that I should use the GUI in my webbrowser.
In the GUI on the top right there is a red box with a message that states “Can Not Connect to Asterisk”. Not good.
I can complete the wizards for choosing user/pass for the GUI and configuration of the firewall.
Slowly the disk is getting full. In the folder /tmp there are a lot of file (core dumps?)
like these:
core.localhost.localdomain-2016-04-24T11:05:38+0200 like 8 per minute.
I do not know how to read these files (seem to be binary; only strange chars in vim).
When the disk is full, I receive a lot of error messages both on cli as gui, because files cannot be written. When I remove some files I only see the message:
NOTICE! You have 8 notifications! Please log into the UI to see them!
Don’t know how I can see those.
Although I ran trough the firewall wizard, I get these messages in the cli twice per minute:
Broadcast message from [email protected] (Sun Apr 24 13:44:25 2016):
Firewall Rules corrupted! Restarting in 5 seconds
I feel very stupid, because according to the docs you just have to run the installer and everything is fine. The FAQ of the installer only contains one item about video not working. Also, I cannot find anyone with the same problem neither on this forum or on Google.
This thread came close Cannot connect to asterisk after first reboot (that links to wiki.freepbx.org/display/HTGS/Example+systemd+startup+script+for+FreePBX for a solution), but there isn’t even a folder /etc/systemd in my system…
I could also verify that Asterisk is running:
ps aux |grep asterisk
asterisk 1354 0.0 1.6 351300 8180 ? S 11:11 0:00 /usr/sbin/httpd
asterisk 1355 0.0 1.6 351300 8176 ? S 11:11 0:00 /usr/sbin/httpd
asterisk 1356 0.0 1.6 351300 8176 ? S 11:11 0:00 /usr/sbin/httpd
asterisk 1357 0.0 1.6 351300 8176 ? S 11:11 0:00 /usr/sbin/httpd
asterisk 1358 0.0 1.6 351300 8176 ? S 11:11 0:00 /usr/sbin/httpd
asterisk 1359 0.0 1.6 351300 8176 ? S 11:11 0:00 /usr/sbin/httpd
asterisk 1360 0.0 1.6 351300 8176 ? S 11:11 0:00 /usr/sbin/httpd
asterisk 1361 0.0 1.6 351300 8176 ? S 11:11 0:00 /usr/sbin/httpd
root 1566 0.2 0.2 110624 1420 ? S 11:12 0:18 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk
asterisk 2269 0.0 3.7 703332 18716 ? Ssl 11:13 0:01 /usr/bin/node /var/www/html/admin/modules/ucpnode/node/node_modules/forever/bin/monitor index.js
asterisk 30581 70.5 4.0 614376 20444 ? Rl 13:47 0:01 /usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c
root 30597 0.0 0.1 103248 880 pts/0 S+ 13:47 0:00 grep asterisk
I tried to restart with /etc/init.d/asterisk restart , but that gave even more errors…
Machine rebooted several times.
Tried a second install with clean VM.
Nothing works.
Only thing left to try is to install FreePBX with Asterisk 11, but I would rather not use an older version.
What should I do?
(sorry, I have not enough rights to place links in my post. I removed the http parts)