freepbx

All posts tagged freepbx

Manually set FreePBX timezone

Check here for the correct timezone: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones​
SSH into the server
Run the following, with the relevant TZ database timezone. In this example, Europe/London
​ln -sf /usr/share/zoneinfo/Europe/London /etc/localtime
Then, edit /ect/sysconfig/clock
nano /etc/sysconfig/clock
Change the line to the correct TZ timezone:
ZONE="Europe/London"
Save the file
Run to check all is now correct:
date
Reboot the server

read more
DamianManually set FreePBX timezone

cdr_mysql.c:203 mysql_log: Cannot connect to database server localhost: (1045) Access denied for user ‘freepbxuser’@’localhost’ (using password: YES)

When restoring FreePBX from backup, you may find the CDR database is not updated. This is because the cdr_mysql.conf file is not overwritten by the restore, and so the password for the CDR database is incorrect.

You can resolve it like this:

SSH onto the server
nano /etc/freepbx.conf
Find the lines:
$amp_conf['AMPDBUSER']  = 'freepbxuser';
$amp_conf['AMPDBPASS']  = '3098SADFSLa';​​

Copy the password, quit nano
nano /etc/asterisk/cdr_mysql.conf
Insert the password in the apropriate section
Save the file, quit nano​
amportal reload
You may need to restart the server to allow the password to be updated.

read more
Damiancdr_mysql.c:203 mysql_log: Cannot connect to database server localhost: (1045) Access denied for user ‘freepbxuser’@’localhost’ (using password: YES)