I ran a V13-V14 update and as usual the Asterisk Manager password changed for no reason. Usually I go to Advanced Settings and copy the secret into the manager.conf file but in this update my web gui also stopped working even though httpd is running. Where can I find the new AM password if my GUI is down?
mvogel4949 (Mvogel4949) #1
lgaetz (Lorne Gaetz) #2
[root@uc~]# cat /etc/asterisk/manager.conf *snip* [admin] secret = new_password deny=0.0.0.0/0.0.0.0 permit=127.0.0.1/255.255.255.0 [root@uc~]# fwconsole setting AMPMGRUSER admin Changing "AMPMGRUSER" from [admin] to [admin] [root@uc~]# fwconsole setting AMPMGRPASS new_password Changing "AMPMGRPASS" from [random] to [new_password]
mvogel4949 (Mvogel4949) #3
Thanks Lorne I think I’ve got it reconnected. Now to find why the GUI is down… I found this in the http logfiles
PHP Warning: include_once(/etc/freepbx.conf): failed to open stream: Permission denied in /var/www/html/admin/config.php on line 126, referer: http://126.96.36.199:58088/ [Wed Oct 07 08:48:35.279779 2020] [:error] [pid 12417] [client 188.8.131.52:57601] PHP Warning: include_once(): Failed opening '/etc/freepbx.conf' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/admin/config.php on line 126, referer: http://184.108.40.206:58088/ [Wed Oct 07 08:48:35.279856 2020] [:error] [pid 12417] [client 220.127.116.11:57601] PHP Fatal error: Class 'FreePBX' not found in /var/www/html/admin/config.php on line 136, referer: http://18.104.22.168:58088/