Shahin, I noticed an error when I logged in at the colo. I was not able to get in from my office, but was able at the colo.
Using username “mike”.
Authenticating with public key “[email protected]”
Last login: Sun Oct 11 13:36:00 2020 from 184.105.179.114
PHP Warning: include_once(/etc/freepbx.conf): failed to open stream: Permission denied in /var/lib/asterisk/bin/fwconsole on line 12
PHP Warning: include_once(): Failed opening ‘/etc/freepbx.conf’ for inclusion ( include_path=‘.:/usr/share/pear:/usr/share/php’) in /var/lib/asterisk/bin/fwcons ole on line 12
PHP Fatal error: Class ‘Symfony\Component\Console\Application’ not found in /va r/www/html/admin/libraries/FWApplication.class.php on line 11
The file is there:
[mike@pbx etc]$ ll freepbx.conf
-rw-rw---- 1 asterisk asterisk 297 Sep 5 2016 freepbx.conf
I then switched to Asterisk 16,
Got the following errors:
[root@pbx ~]# asterisk-version-switch
Press 1 for Asterisk 13 (LTS) (With Opus and G729 codecs)
Press 2 for Asterisk 15 (With Opus and G729 codecs)
Press 3 for Asterisk 16 (LTS) (With Opus and G729 codecs)
Press 4 for Asterisk 13 Certified (LTS) (With Opus and G729 codecs)
Press 5 for Asterisk 17 (With Opus and G729 codecs)
Press 9 to exit and not change your Asterisk Version
Pick the Asterisk Version you would like to change to: 3
Selected Asterisk 16. Confirm (y/N)? y
You picked asterisk16 - clearing yum cache
Loaded plugins: fastestmirror, versionlock
Cleaning repos: sng-base sng-epel sng-extras sng-pkgs sng-updates
Cleaning up list of fastest mirrors
Switching to asterisk16
Loaded plugins: fastestmirror, versionlock
Determining fastest mirrors
sng-base | 3.6 kB 00:00:00
sng-epel | 2.9 kB 00:00:00
sng-extras | 2.9 kB 00:00:00
sng-pkgs | 3.4 kB 00:00:00
sng-updates | 2.9 kB 00:00:00
(1/6): sng-base/7/x86_64/group_gz | 153 kB 00:00:00
(2/6): sng-extras/7/x86_64/primary_db | 206 kB 00:00:00
(3/6): sng-pkgs/7/x86_64/primary_db | 780 kB 00:00:00
(4/6): sng-base/7/x86_64/primary_db | 6.1 MB 00:00:00
(5/6): sng-updates/7/x86_64/primary_db | 4.5 MB 00:00:00
(6/6): sng-epel/7/x86_64/primary_db | 7.3 MB 00:00:00
Package jansson-2.10-1.el7.x86_64 already installed and latest version
Package jansson-devel-2.10-1.el7.x86_64 already installed and latest version
Package jansson-devel-doc-2.10-1.el7.noarch already installed and latest version
Package sangoma-pbx-2008-1.sng7.noarch already installed and latest version
→ Running transaction check
—> Package asterisk13.x86_64 0:13.36.0-1.sng7 will be erased
—> Package asterisk13-addons.x86_64 0:13.36.0-1.sng7 will be erased
—> Package asterisk13-addons-bluetooth.x86_64 0:13.36.0-1.sng7 will be erased
—> Package asterisk13-addons-core.x86_64 0:13.36.0-1.sng7 will be erased
—> Package asterisk13-addons-mysql.x86_64 0:13.36.0-1.sng7 will be erased
—> Package asterisk13-addons-ooh323.x86_64 0:13.36.0-1.sng7 will be erased
—> Package asterisk13-core.x86_64 0:13.36.0-1.sng7 will be erased
—> Package asterisk13-curl.x86_64 0:13.36.0-1.sng7 will be erased
—> Package asterisk13-dahdi.x86_64 0:13.36.0-1.sng7 will be erased
—> Package asterisk13-doc.x86_64 0:13.36.0-1.sng7 will be erased
—> Package asterisk13-flite.x86_64 0:2.4-9_2505af1.sng7 will be erased
—> Package asterisk13-odbc.x86_64 0:13.36.0-1.sng7 will be erased
—> Package asterisk13-ogg.x86_64 0:13.36.0-1.sng7 will be erased
—> Package asterisk13-res_digium_phone.x86_64 0:3.5.5-1.sng7 will be erased
—> Package asterisk13-resample.x86_64 0:13.36.0-1.sng7 will be erased
—> Package asterisk13-voicemail.x86_64 0:13.36.0-1.sng7 will be erased
—> Package asterisk16.x86_64 0:16.13.0-1.sng7 will be installed
→ Processing Dependency: unbound-libs for package: asterisk16-16.13.0-1.sng7.x86_64
—> Package asterisk16-addons.x86_64 0:16.13.0-1.sng7 will be installed
—> Package asterisk16-addons-bluetooth.x86_64 0:16.13.0-1.sng7 will be installed
—> Package asterisk16-addons-core.x86_64 0:16.13.0-1.sng7 will be installed
—> Package asterisk16-addons-mysql.x86_64 0:16.13.0-1.sng7 will be installed
—> Package asterisk16-addons-ooh323.x86_64 0:16.13.0-1.sng7 will be installed
—> Package asterisk16-core.x86_64 0:16.13.0-1.sng7 will be installed
—> Package asterisk16-curl.x86_64 0:16.13.0-1.sng7 will be installed
—> Package asterisk16-dahdi.x86_64 0:16.13.0-1.sng7 will be installed
—> Package asterisk16-doc.x86_64 0:16.13.0-1.sng7 will be installed
—> Package asterisk16-flite.x86_64 0:2.4-9_2505af1.sng7 will be installed
—> Package asterisk16-g729.x86_64 0:2002-1.sng7 will be installed
—> Package asterisk16-odbc.x86_64 0:16.13.0-1.sng7 will be installed
—> Package asterisk16-ogg.x86_64 0:16.13.0-1.sng7 will be installed
—> Package asterisk16-resample.x86_64 0:16.13.0-1.sng7 will be installed
—> Package asterisk16-voicemail.x86_64 0:16.13.0-1.sng7 will be installed
→ Running transaction check
—> Package unbound-libs.x86_64 0:1.6.6-5.el7_8 will be installed
→ Processing Dependency: libevent-2.0.so.5()(64bit) for package: unbound-libs-1.6.6-5.el7_8.x86_64
→ Running transaction check
—> Package libevent.x86_64 0:2.0.21-4.el7 will be installed
→ Finished Dependency Resolution
Success resolving dependencies
→ Running transaction check
→ Finished Dependency Resolution
============================================================================================================================
Package Arch Version Repository Size
Installing:
asterisk16 x86_64 16.13.0-1.sng7 sng-pkgs 4.1 k
asterisk16-addons x86_64 16.13.0-1.sng7 sng-pkgs 3.1 k
asterisk16-addons-bluetooth x86_64 16.13.0-1.sng7 sng-pkgs 37 k
asterisk16-addons-core x86_64 16.13.0-1.sng7 sng-pkgs 26 k
asterisk16-addons-mysql x86_64 16.13.0-1.sng7 sng-pkgs 38 k
asterisk16-addons-ooh323 x86_64 16.13.0-1.sng7 sng-pkgs 342 k
asterisk16-core x86_64 16.13.0-1.sng7 sng-pkgs 4.8 M
asterisk16-curl x86_64 16.13.0-1.sng7 sng-pkgs 21 k
asterisk16-dahdi x86_64 16.13.0-1.sng7 sng-pkgs 287 k
asterisk16-doc x86_64 16.13.0-1.sng7 sng-pkgs 13 k
asterisk16-flite x86_64 2.4-9_2505af1.sng7 sng-pkgs 8.2 k
asterisk16-g729 x86_64 2002-1.sng7 sng-pkgs 181 k
asterisk16-odbc x86_64 16.13.0-1.sng7 sng-pkgs 64 k
asterisk16-ogg x86_64 16.13.0-1.sng7 sng-pkgs 9.4 k
asterisk16-resample x86_64 16.13.0-1.sng7 sng-pkgs 15 k
asterisk16-voicemail x86_64 16.13.0-1.sng7 sng-pkgs 84 k
Removing:
asterisk13 x86_64 13.36.0-1.sng7 @sng-pkgs 0.0
asterisk13-addons x86_64 13.36.0-1.sng7 @sng-pkgs 0.0
asterisk13-addons-bluetooth x86_64 13.36.0-1.sng7 @sng-pkgs 107 k
asterisk13-addons-core x86_64 13.36.0-1.sng7 @sng-pkgs 70 k
asterisk13-addons-mysql x86_64 13.36.0-1.sng7 @sng-pkgs 113 k
asterisk13-addons-ooh323 x86_64 13.36.0-1.sng7 @sng-pkgs 1.9 M
asterisk13-core x86_64 13.36.0-1.sng7 @sng-pkgs 18 M
asterisk13-curl x86_64 13.36.0-1.sng7 @sng-pkgs 64 k
asterisk13-dahdi x86_64 13.36.0-1.sng7 @sng-pkgs 978 k
asterisk13-doc x86_64 13.36.0-1.sng7 @sng-pkgs 8.6 k
asterisk13-flite x86_64 2.4-9_2505af1.sng7 @sng-pkgs 15 k
asterisk13-odbc x86_64 13.36.0-1.sng7 @sng-pkgs 216 k
asterisk13-ogg x86_64 13.36.0-1.sng7 @sng-pkgs 16 k
asterisk13-res_digium_phone x86_64 3.5.5-1.sng7 @sng-pkgs 1.4 M
asterisk13-resample x86_64 13.36.0-1.sng7 @sng-pkgs 29 k
asterisk13-voicemail x86_64 13.36.0-1.sng7 @sng-pkgs 255 k
Installing for dependencies:
libevent x86_64 2.0.21-4.el7 sng-base 214 k
unbound-libs x86_64 1.6.6-5.el7_8 sng-updates 406 k
Transaction Summary
Install 16 Packages (+2 Dependent packages)
Remove 16 Packages
Total download size: 6.5 M
Downloading packages:
(1/18): asterisk16-addons-16.13.0-1.sng7.x86_64.rpm | 3.1 kB 00:00:00
(2/18): asterisk16-16.13.0-1.sng7.x86_64.rpm | 4.1 kB 00:00:00
(3/18): asterisk16-addons-bluetooth-16.13.0-1.sng7.x86_64.rpm | 37 kB 00:00:00
(4/18): asterisk16-addons-core-16.13.0-1.sng7.x86_64.rpm | 26 kB 00:00:00
(5/18): asterisk16-addons-mysql-16.13.0-1.sng7.x86_64.rpm | 38 kB 00:00:00
(6/18): asterisk16-addons-ooh323-16.13.0-1.sng7.x86_64.rpm | 342 kB 00:00:00
(7/18): asterisk16-curl-16.13.0-1.sng7.x86_64.rpm | 21 kB 00:00:00
(8/18): asterisk16-dahdi-16.13.0-1.sng7.x86_64.rpm | 287 kB 00:00:00
(9/18): asterisk16-doc-16.13.0-1.sng7.x86_64.rpm | 13 kB 00:00:00
(10/18): asterisk16-flite-2.4-9_2505af1.sng7.x86_64.rpm | 8.2 kB 00:00:00
(11/18): asterisk16-core-16.13.0-1.sng7.x86_64.rpm | 4.8 MB 00:00:00
(12/18): asterisk16-g729-2002-1.sng7.x86_64.rpm | 181 kB 00:00:00
(13/18): asterisk16-odbc-16.13.0-1.sng7.x86_64.rpm | 64 kB 00:00:00
(14/18): asterisk16-ogg-16.13.0-1.sng7.x86_64.rpm | 9.4 kB 00:00:00
(15/18): asterisk16-resample-16.13.0-1.sng7.x86_64.rpm | 15 kB 00:00:00
(16/18): asterisk16-voicemail-16.13.0-1.sng7.x86_64.rpm | 84 kB 00:00:00
(17/18): unbound-libs-1.6.6-5.el7_8.x86_64.rpm | 406 kB 00:00:00
(18/18): libevent-2.0.21-4.el7.x86_64.rpm | 214 kB 00:00:00
Total 10 MB/s | 6.5 MB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : libevent-2.0.21-4.el7.x86_64 1/34
Installing : unbound-libs-1.6.6-5.el7_8.x86_64 2/34
Installing : asterisk16-core-16.13.0-1.sng7.x86_64 3/34
asterisk.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig asterisk off
Installing : asterisk16-addons-core-16.13.0-1.sng7.x86_64 4/34
Installing : asterisk16-addons-mysql-16.13.0-1.sng7.x86_64 5/34
Installing : asterisk16-addons-bluetooth-16.13.0-1.sng7.x86_64 6/34
Installing : asterisk16-doc-16.13.0-1.sng7.x86_64 7/34
Installing : asterisk16-voicemail-16.13.0-1.sng7.x86_64 8/34
Installing : asterisk16-dahdi-16.13.0-1.sng7.x86_64 9/34
Installing : asterisk16-16.13.0-1.sng7.x86_64 10/34
Installing : asterisk16-addons-ooh323-16.13.0-1.sng7.x86_64 11/34
Installing : asterisk16-addons-16.13.0-1.sng7.x86_64 12/34
Installing : asterisk16-flite-2.4-9_2505af1.sng7.x86_64 13/34
Installing : asterisk16-ogg-16.13.0-1.sng7.x86_64 14/34
Installing : asterisk16-resample-16.13.0-1.sng7.x86_64 15/34
Installing : asterisk16-g729-2002-1.sng7.x86_64 16/34
Installing : asterisk16-odbc-16.13.0-1.sng7.x86_64 17/34
Installing : asterisk16-curl-16.13.0-1.sng7.x86_64 18/34
Erasing : asterisk13-addons-13.36.0-1.sng7.x86_64 19/34
Erasing : asterisk13-addons-mysql-13.36.0-1.sng7.x86_64 20/34
Erasing : asterisk13-addons-core-13.36.0-1.sng7.x86_64 21/34
Erasing : asterisk13-addons-bluetooth-13.36.0-1.sng7.x86_64 22/34
Erasing : asterisk13-addons-ooh323-13.36.0-1.sng7.x86_64 23/34
Erasing : asterisk13-odbc-13.36.0-1.sng7.x86_64 24/34
Erasing : asterisk13-ogg-13.36.0-1.sng7.x86_64 25/34
Erasing : asterisk13-curl-13.36.0-1.sng7.x86_64 26/34
Erasing : asterisk13-res_digium_phone-3.5.5-1.sng7.x86_64 27/34
Erasing : asterisk13-flite-2.4-9_2505af1.sng7.x86_64 28/34
Erasing : asterisk13-13.36.0-1.sng7.x86_64 29/34
Erasing : asterisk13-dahdi-13.36.0-1.sng7.x86_64 30/34
Erasing : asterisk13-doc-13.36.0-1.sng7.x86_64 31/34
Erasing : asterisk13-voicemail-13.36.0-1.sng7.x86_64 32/34
Erasing : asterisk13-resample-13.36.0-1.sng7.x86_64 33/34
Erasing : asterisk13-core-13.36.0-1.sng7.x86_64 34/34
Verifying : asterisk16-addons-bluetooth-16.13.0-1.sng7.x86_64 1/34
Verifying : asterisk16-ogg-16.13.0-1.sng7.x86_64 2/34
Verifying : asterisk16-core-16.13.0-1.sng7.x86_64 3/34
Verifying : asterisk16-resample-16.13.0-1.sng7.x86_64 4/34
Verifying : asterisk16-flite-2.4-9_2505af1.sng7.x86_64 5/34
Verifying : asterisk16-16.13.0-1.sng7.x86_64 6/34
Verifying : asterisk16-doc-16.13.0-1.sng7.x86_64 7/34
Verifying : asterisk16-voicemail-16.13.0-1.sng7.x86_64 8/34
Verifying : asterisk16-g729-2002-1.sng7.x86_64 9/34
Verifying : asterisk16-dahdi-16.13.0-1.sng7.x86_64 10/34
Verifying : asterisk16-addons-16.13.0-1.sng7.x86_64 11/34
Verifying : libevent-2.0.21-4.el7.x86_64 12/34
Verifying : asterisk16-odbc-16.13.0-1.sng7.x86_64 13/34
Verifying : asterisk16-addons-mysql-16.13.0-1.sng7.x86_64 14/34
Verifying : unbound-libs-1.6.6-5.el7_8.x86_64 15/34
Verifying : asterisk16-addons-core-16.13.0-1.sng7.x86_64 16/34
Verifying : asterisk16-addons-ooh323-16.13.0-1.sng7.x86_64 17/34
Verifying : asterisk16-curl-16.13.0-1.sng7.x86_64 18/34
Verifying : asterisk13-13.36.0-1.sng7.x86_64 19/34
Verifying : asterisk13-dahdi-13.36.0-1.sng7.x86_64 20/34
Verifying : asterisk13-resample-13.36.0-1.sng7.x86_64 21/34
Verifying : asterisk13-doc-13.36.0-1.sng7.x86_64 22/34
Verifying : asterisk13-core-13.36.0-1.sng7.x86_64 23/34
Verifying : asterisk13-addons-core-13.36.0-1.sng7.x86_64 24/34
Verifying : asterisk13-flite-2.4-9_2505af1.sng7.x86_64 25/34
Verifying : asterisk13-addons-13.36.0-1.sng7.x86_64 26/34
Verifying : asterisk13-res_digium_phone-3.5.5-1.sng7.x86_64 27/34
Verifying : asterisk13-curl-13.36.0-1.sng7.x86_64 28/34
Verifying : asterisk13-addons-mysql-13.36.0-1.sng7.x86_64 29/34
Verifying : asterisk13-addons-bluetooth-13.36.0-1.sng7.x86_64 30/34
Verifying : asterisk13-ogg-13.36.0-1.sng7.x86_64 31/34
Verifying : asterisk13-odbc-13.36.0-1.sng7.x86_64 32/34
Verifying : asterisk13-voicemail-13.36.0-1.sng7.x86_64 33/34
Verifying : asterisk13-addons-ooh323-13.36.0-1.sng7.x86_64 34/34
Removed:
asterisk13.x86_64 0:13.36.0-1.sng7 asterisk13-addons.x86_64 0:13.36.0-1.sng7
asterisk13-addons-bluetooth.x86_64 0:13.36.0-1.sng7 asterisk13-addons-core.x86_64 0:13.36.0-1.sng7
asterisk13-addons-mysql.x86_64 0:13.36.0-1.sng7 asterisk13-addons-ooh323.x86_64 0:13.36.0-1.sng7
asterisk13-core.x86_64 0:13.36.0-1.sng7 asterisk13-curl.x86_64 0:13.36.0-1.sng7
asterisk13-dahdi.x86_64 0:13.36.0-1.sng7 asterisk13-doc.x86_64 0:13.36.0-1.sng7
asterisk13-flite.x86_64 0:2.4-9_2505af1.sng7 asterisk13-odbc.x86_64 0:13.36.0-1.sng7
asterisk13-ogg.x86_64 0:13.36.0-1.sng7 asterisk13-res_digium_phone.x86_64 0:3.5.5-1.sng7
asterisk13-resample.x86_64 0:13.36.0-1.sng7 asterisk13-voicemail.x86_64 0:13.36.0-1.sng7
Installed:
asterisk16.x86_64 0:16.13.0-1.sng7 asterisk16-addons.x86_64 0:16.13.0-1.sng7
asterisk16-addons-bluetooth.x86_64 0:16.13.0-1.sng7 asterisk16-addons-core.x86_64 0:16.13.0-1.sng7
asterisk16-addons-mysql.x86_64 0:16.13.0-1.sng7 asterisk16-addons-ooh323.x86_64 0:16.13.0-1.sng7
asterisk16-core.x86_64 0:16.13.0-1.sng7 asterisk16-curl.x86_64 0:16.13.0-1.sng7
asterisk16-dahdi.x86_64 0:16.13.0-1.sng7 asterisk16-doc.x86_64 0:16.13.0-1.sng7
asterisk16-flite.x86_64 0:2.4-9_2505af1.sng7 asterisk16-g729.x86_64 0:2002-1.sng7
asterisk16-odbc.x86_64 0:16.13.0-1.sng7 asterisk16-ogg.x86_64 0:16.13.0-1.sng7
asterisk16-resample.x86_64 0:16.13.0-1.sng7 asterisk16-voicemail.x86_64 0:16.13.0-1.sng7
Dependency Installed:
libevent.x86_64 0:2.0.21-4.el7 unbound-libs.x86_64 0:1.6.6-5.el7_8
Finished Transaction
Leaving Shell
asterisk16 has now been verified to be installed
Checking for orphaned asterisk files in /usr/lib64/asterisk/modules…
Finished checking /usr/lib64/asterisk/modules
Restarting Asterisk…
Running FreePBX shutdown…
Core FastAGI Server is not running
SmartOffice Server is not running
SangomaConnect Server is not running
Stopping UCP Node Server
[>---------------------------] < 1 sec
Stopped UCP Node Server
Stopping Chat Server
Stopped Chat Server
Shutting down Asterisk Gracefully. Will forcefully kill after 30 seconds.
Press C to Cancel
Press N to shut down NOW
[============================] 1 sec
Stopping Wanrouter for Sangoma Cards
Wanrouter Stopped
Stopping DAHDi for Digium Cards
DAHDi Stopped
Running FreePBX startup…
Running Asterisk pre from Dahdiconfig module
Writing out default Sangoma conf
Starting Wanrouter for Sangoma Cards
Wanrouter Started
DAHDi: Already started
Running Asterisk pre from Firewall module
Running Asterisk pre from Oracle_connector module
Running Asterisk pre from Sysadmin module
Running Sysadmin Hooks
Restarting fail2ban
fail2ban Restarted
Updating License Information for 91956021
Checking Vpn server
Running Asterisk pre from Vega module
Running Vega Hooks
Starting Asterisk…
[--------------->------------] 31 secs
In Start.class.php line 191:
Unable to connect to Asterisk. Did it start?
restart [-i|–immediate] [–] []…
SO, I’m still not connected!
… Mike