Freepbx firewall - connection to database failed


(Dux) #1

Hello, everyone. I have errors in /tmp/firewall.log about failure to connect to database, when FreePBX tries to execute hooks such as voipfirewalld. The script itself is encrypted. How can I check the connection settings are correct?


(Philip Joseph) #2

HI ,
The Database settings are taken from the file “/etc/freepbx.conf”
And voipfirewalld is not a encrypted file, It is generated using PHAR , You can see all the associated source files from build.php which is there in the …/admin/modules/firewall/phar directory

Thanks for using FreePBX
Philip Joseph


(Dux) #3

There is an error in file /usr/bin/sysadmin_manager on line 54: PHP Parse error: syntax error, unexpected ‘“E5413049B80EA480”’ (T_CONSTANT_ENCAPSED_STRING), expecting ‘)’ in /usr/bin/sysadmin_manager on line 54. No comma after the element of the array.