Hello,
I recently moved an install from a hosted install (Lylix) to an in house install (VMWare ESXi). To do this I installed a fresh copy of PiaF purple and updated all the modules. I then ran a full backup (free-pbx backup module) on the old server and restored it to the new one. After pointing the phones and the trunks to the new server all seemed well.
Today I noticed a couple of items:
First, if I run asterisk -r -vvv, I will see the following error at the end of every call.
[2013-11-14 18:44:40] ERROR[3035]: cdr_mysql.c:203 mysql_log: Cannot connect to database server localhost: (1045) Access denied for user 'asteriskuser'@'localhost' (using password: YES)
Second: If I run a CDR Report, the data ends at the time of the switch to the new server. There are call logs for everything that happened on the old server but nothing from the new.
I tried granting permission to asteriskuser@localhost to all tables which seemed to have no effect. I then ran passwd-master with the same password that has always been used on this install and it killed asterisk. So I restored back to a snapshot from before I started tinkering with permissions and passwords.
I googled around a bit and found the same error message asked about several times on other forums, all had recently done a backup and restore or move. None had any replies.
Any ideas??
I have attached the output of status below.
Thanks,
Jeff
-----
-----
Asterisk = ONLINE | Dahdi = ONLINE | MySQL = ONLINE │
│ SSH = ONLINE | Apache = ONLINE | Iptables = ONLINE │
│ Fail2ban = ONLINE | Internet = ONLINE | Ip6Tables = ONLINE │
│ Disk Free = ADEQUATE| Mem Free = ADEQUATE| NTPD = ONLINE │
│ SendMail = ONLINE | Samba = OFFLINE | Webmin = ONLINE │
│ Ethernet0 = ONLINE | Ethernet1 = N/A | Wlan0 = N/A │
│ │
│ PIAF Installed Version = 2.0.6.4 under *VMWARE* │
│ FreePBX Version = 2.11.0.9 │
│ Running Asterisk Version = 1.8.24.0 │
│ Asterisk Source Version = 1.8.24.0 │
│ Dahdi Source Version = 2.7.0.1 │
│ Libpri Source Version = 1.4.14 │
│ IP Address = 172.30.30.250 on eth0 │
│ Operating System = CentOS release 6.4 (Final) <> │
│ Kernel Version = 2.6.32-358.6.2.el6.i686 - 32 Bit
I recently moved an install from a hosted install (Lylix) to an in house install (VMWare ESXi). To do this I installed a fresh copy of PiaF purple and updated all the modules. I then ran a full backup (free-pbx backup module) on the old server and restored it to the new one. After pointing the phones and the trunks to the new server all seemed well.
Today I noticed a couple of items:
First, if I run asterisk -r -vvv, I will see the following error at the end of every call.
[2013-11-14 18:44:40] ERROR[3035]: cdr_mysql.c:203 mysql_log: Cannot connect to database server localhost: (1045) Access denied for user 'asteriskuser'@'localhost' (using password: YES)
Second: If I run a CDR Report, the data ends at the time of the switch to the new server. There are call logs for everything that happened on the old server but nothing from the new.
I tried granting permission to asteriskuser@localhost to all tables which seemed to have no effect. I then ran passwd-master with the same password that has always been used on this install and it killed asterisk. So I restored back to a snapshot from before I started tinkering with permissions and passwords.
I googled around a bit and found the same error message asked about several times on other forums, all had recently done a backup and restore or move. None had any replies.
Any ideas??
I have attached the output of status below.
Thanks,
Jeff
-----
-----
Asterisk = ONLINE | Dahdi = ONLINE | MySQL = ONLINE │
│ SSH = ONLINE | Apache = ONLINE | Iptables = ONLINE │
│ Fail2ban = ONLINE | Internet = ONLINE | Ip6Tables = ONLINE │
│ Disk Free = ADEQUATE| Mem Free = ADEQUATE| NTPD = ONLINE │
│ SendMail = ONLINE | Samba = OFFLINE | Webmin = ONLINE │
│ Ethernet0 = ONLINE | Ethernet1 = N/A | Wlan0 = N/A │
│ │
│ PIAF Installed Version = 2.0.6.4 under *VMWARE* │
│ FreePBX Version = 2.11.0.9 │
│ Running Asterisk Version = 1.8.24.0 │
│ Asterisk Source Version = 1.8.24.0 │
│ Dahdi Source Version = 2.7.0.1 │
│ Libpri Source Version = 1.4.14 │
│ IP Address = 172.30.30.250 on eth0 │
│ Operating System = CentOS release 6.4 (Final) <> │
│ Kernel Version = 2.6.32-358.6.2.el6.i686 - 32 Bit