Testing FreePBX 16 on Rocky Linux 9

Hi All,

JFYI, I have been testing manual installation of FreePBX16 + Asterisk 18 combo on Rocky Linux 9 by following below reference for now…

Above posts are based on RL8, I believe, I have been pounded by the error like below multiple of times when I try to install FreePBX after Asterisk installation

./install -n
Assuming you are Database Root
Checking if SELinux is enabled…Its not (good)!
Reading /etc/asterisk/asterisk.conf…Done
Checking if Asterisk is running and we can talk to it as the ‘asterisk’ user…Error!
Error communicating with Asterisk. Ensure that Asterisk is properly installed and running as the asterisk user
Asterisk appears to be running as asterisk
Try starting Asterisk with the ‘./start_asterisk start’ command in this directory

But I think so far I managed to run the installation script without error if I run the command in below sequence.

cd /opt/app/usr/src/asterisk-18.* &&
make &&
make install &&
make basic-pbx &&
make config &&
ldconfig &&
cd /opt/app/usr/src/freepbx &&
./start_asterisk restart &&
ps aux | grep asterisk &&
rm -fr /etc/asterisk &&
mkdir /etc/asterisk &&
./install -n

[Note]: Both Asterisk and FreePBX source are stored under “/opt/app/usr/src” directory for building purpose…

tree -L 1
.
├── asterisk-18.17.1
├── asterisk-18-current.tar.gz
├── freepbx
└── freepbx-16.0-latest.tgz

Basically, right after I go through the Asterisk’s building steps, I purge the “/etc/asterisk” directory which was made through “make basic-pbx”, then run the “./install -n” script.

To run the asterisk properly, “make config” and “ldconfig” must be performed prior to “./start_asterisk start”. below is the ps command dump right after
“./start_asterisk start” command.

asterisk 1106 0.0 0.3 222304 14816 ? S 19:40 0:00 php-fpm: pool www
asterisk 1108 0.0 0.3 222304 14816 ? S 19:40 0:00 php-fpm: pool www
asterisk 1110 0.0 0.3 222304 14816 ? S 19:40 0:00 php-fpm: pool www
asterisk 1111 0.0 0.3 222304 14816 ? S 19:40 0:00 php-fpm: pool www
asterisk 1112 0.0 0.3 222304 14816 ? S 19:40 0:00 php-fpm: pool www
asterisk 1634 0.0 0.1 32912 7476 ? S 19:40 0:00 /usr/sbin/httpd -DFOREGROUND
asterisk 1639 0.0 0.3 1680576 13080 ? Sl 19:40 0:00 /usr/sbin/httpd -DFOREGROUND
asterisk 1640 0.0 0.3 1549440 13076 ? Sl 19:40 0:00 /usr/sbin/httpd -DFOREGROUND
asterisk 1641 0.0 0.2 1549440 11032 ? Sl 19:40 0:00 /usr/sbin/httpd -DFOREGROUND
root 3464 0.0 0.0 7252 1940 pts/0 S 19:44 0:00 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk
asterisk 3470 6.0 1.1 1094092 43500 pts/0 Sl 19:44 0:00 /usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c
root 3529 0.0 0.0 6408 2188 pts/0 R+ 19:44 0:00 grep --color=auto asterisk

I guess the installation on RL9 is a bit tricky (and I am aware it is not officially supported yet) since Asterisk 18 follows a legacy SystemV init style. Would it be revised at some point in the future, I am wondering…

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.