Greeting list,
I have followed a nice article by DigitalDaz and everything went smoothly without any apparent error. I created an extension on the first server(Debian 8.10 with posgreSQL 9.4.7) and it was replicated on the other server. But when I tried to connect to freeswitch on the servers, I got some member table missing error on both servers.
After that, I deleted all the databases from location /var/lib/freeswitch/db/ by assuming that freeswitch will auto create them.
But databases were not created there and I now get below errors.
2018-04-19 03:22:35.762752 [ERR] switch_core_sqldb.c:587 NATIVE SQL ERR [no such table: sip_registrations]
delete from sip_registrations where sub_host is null and hostname='debian' and network_ip like '%' and network_port like '%' and sip_username like '%' and mwi_user like '%' and mwi_host like '%' and orig_server_host like '%' and orig_hostname like '%'
2018-04-19 03:22:35.762777 [ERR] switch_core_sqldb.c:587 NATIVE SQL ERR [no such table: sip_registrations]
select ping_count from sip_registrations
2018-04-19 03:22:35.762792 [ERR] switch_core_sqldb.c:587 NATIVE SQL ERR [no such table: sip_registrations]
select ping_status from sip_registrations
2018-04-19 03:22:35.762805 [ERR] switch_core_sqldb.c:587 NATIVE SQL ERR [no such table: sip_registrations]
select ping_expires from sip_registrations
2018-04-19 03:22:35.762818 [ERR] switch_core_sqldb.c:587 NATIVE SQL ERR [no such table: sip_registrations]
select ping_time from sip_registrations
2018-04-19 03:22:35.762830 [ERR] switch_core_sqldb.c:587 NATIVE SQL ERR [no such table: sip_registrations]
select force_ping from sip_registrations
2018-04-19 03:22:35.762872 [ERR] switch_core_sqldb.c:587 NATIVE SQL ERR [no such table: sip_registrations]
delete from sip_registrations where sub_host is null and hostname='debian' and network_ip like '%' and network_port like '%' and sip_username like '%' and mwi_user like '%' and mwi_host like '%' and orig_server_host like '%' and orig_hostname like '%';delete from sip_registrations where sub_host is null and hostname='debian' and network_ip like '%' and network_port like '%' and sip_username like '%' and mwi_user like '%' and mwi_host like '%' and orig_server_host like '%' and orig_hostname like '%'
2018-04-19 03:22:35.762883 [CRIT] sofia_glue.c:2297 GREAT SCOTT!!! Cannot execute batched statements! [no such table: sip_registrations]
I have tried to copy databases from other installed fusionpbx server but the error did not go away.
I hope someone might help me out.
Best Regards,
Aqs Younas
I have followed a nice article by DigitalDaz and everything went smoothly without any apparent error. I created an extension on the first server(Debian 8.10 with posgreSQL 9.4.7) and it was replicated on the other server. But when I tried to connect to freeswitch on the servers, I got some member table missing error on both servers.
After that, I deleted all the databases from location /var/lib/freeswitch/db/ by assuming that freeswitch will auto create them.
But databases were not created there and I now get below errors.
2018-04-19 03:22:35.762752 [ERR] switch_core_sqldb.c:587 NATIVE SQL ERR [no such table: sip_registrations]
delete from sip_registrations where sub_host is null and hostname='debian' and network_ip like '%' and network_port like '%' and sip_username like '%' and mwi_user like '%' and mwi_host like '%' and orig_server_host like '%' and orig_hostname like '%'
2018-04-19 03:22:35.762777 [ERR] switch_core_sqldb.c:587 NATIVE SQL ERR [no such table: sip_registrations]
select ping_count from sip_registrations
2018-04-19 03:22:35.762792 [ERR] switch_core_sqldb.c:587 NATIVE SQL ERR [no such table: sip_registrations]
select ping_status from sip_registrations
2018-04-19 03:22:35.762805 [ERR] switch_core_sqldb.c:587 NATIVE SQL ERR [no such table: sip_registrations]
select ping_expires from sip_registrations
2018-04-19 03:22:35.762818 [ERR] switch_core_sqldb.c:587 NATIVE SQL ERR [no such table: sip_registrations]
select ping_time from sip_registrations
2018-04-19 03:22:35.762830 [ERR] switch_core_sqldb.c:587 NATIVE SQL ERR [no such table: sip_registrations]
select force_ping from sip_registrations
2018-04-19 03:22:35.762872 [ERR] switch_core_sqldb.c:587 NATIVE SQL ERR [no such table: sip_registrations]
delete from sip_registrations where sub_host is null and hostname='debian' and network_ip like '%' and network_port like '%' and sip_username like '%' and mwi_user like '%' and mwi_host like '%' and orig_server_host like '%' and orig_hostname like '%';delete from sip_registrations where sub_host is null and hostname='debian' and network_ip like '%' and network_port like '%' and sip_username like '%' and mwi_user like '%' and mwi_host like '%' and orig_server_host like '%' and orig_hostname like '%'
2018-04-19 03:22:35.762883 [CRIT] sofia_glue.c:2297 GREAT SCOTT!!! Cannot execute batched statements! [no such table: sip_registrations]
I have tried to copy databases from other installed fusionpbx server but the error did not go away.
I hope someone might help me out.
Best Regards,
Aqs Younas