Realtime Database Error

Hello, I tried implementing the realtime database using mysql but got an error like this.

[Sep 19 09:50:03] NOTICE[9606]: res_odbc.c:706 load_odbc_config: Registered ODBC class 'asterisk' dsn->[asterisk]
[Sep 19 09:50:03] WARNING[9606]: res_config_mysql.c:1300 load_mysql_config: MySQL realtime: no requirements setting found, using 'warn' as default.
[Sep 19 09:50:03] ERROR[9606]: res_config_pgsql.c:1606 pgsql_reconnect: PostgreSQL RealTime: Failed to connect database asterisk on 127.0.0.1: 
[Sep 19 09:50:03] WARNING[9606]: res_config_pgsql.c:1544 parse_config: PostgreSQL RealTime: Couldn't establish connection. Check debug.
[Sep 19 09:50:03] NOTICE[9606]: res_config_ldap.c:1830 parse_config: No directory user found, anonymous binding as default.
[Sep 19 09:50:03] ERROR[9606]: res_config_ldap.c:1856 parse_config: No directory URL or host found.
[Sep 19 09:50:03] ERROR[9606]: res_config_ldap.c:1718 load_module: Cannot load LDAP RealTime driver.
[Sep 19 09:50:03] NOTICE[9606]: cdr.c:4501 cdr_toggle_runtime_options: CDR simple logging enabled.
[Sep 19 09:50:05] NOTICE[9606]: res_smdi.c:1424 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Sep 19 09:50:05] WARNING[9606]: res_phoneprov.c:1230 get_defaults: Unable to find a valid server address or name.
[Sep 19 09:50:05] NOTICE[9606]: chan_skinny.c:8459 config_load: Configuring skinny from skinny.conf
[Sep 19 09:50:05] ERROR[9606]: chan_mobile.c:4776 load_module: No Bluetooth devices found. Not loading module.
[Sep 19 09:50:05] NOTICE[9606]: confbridge/conf_config_parser.c:2326 verify_default_profiles: Adding default_menu menu to app_confbridge
[Sep 19 09:50:05] NOTICE[9606]: cdr_radius.c:264 load_module: Cannot load radiusclient-ng configuration file /etc/radiusclient-ng/radiusclient.conf.
[Sep 19 09:50:05] NOTICE[9606]: cdr_pgsql.c:545 config_module: cdr_pgsql configuration contains no global section, skipping module load.
[Sep 19 09:50:05] WARNING[9606]: cel_pgsql.c:467 process_my_load_module: CEL pgsql config file missing global section.
[Sep 19 09:50:05] NOTICE[9606]: cel_tds.c:450 tds_load_module: cel_tds has no global category, nothing to configure.
[Sep 19 09:50:05] WARNING[9606]: cel_tds.c:555 load_module: cel_tds module had config problems; declining load
[Sep 19 09:50:05] NOTICE[9606]: cel_custom.c:95 load_config: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs.
[Sep 19 09:50:05] NOTICE[9606]: cel_radius.c:236 load_module: Cannot load radiusclient-ng configuration file /etc/radiusclient-ng/radiusclient.conf.
[Sep 19 09:50:06] WARNING[9606]: loader.c:2381 load_modules: Some non-required modules failed to load.
[Sep 19 09:50:06] ERROR[9606]: loader.c:2396 load_modules: Error loading module 'app_realtime.so': /usr/lib/asterisk/modules/app_realtime.so: cannot open shared object file: No such file or directory
[Sep 19 09:50:06] ERROR[9606]: loader.c:2396 load_modules: Error loading module 'res_calendar_caldav.so': libneon.so.27: cannot open shared object file: No such file or directory
[Sep 19 09:50:06] ERROR[9606]: loader.c:2396 load_modules: Error loading module 'res_calendar_ews.so': libneon.so.27: cannot open shared object file: No such file or directory
[Sep 19 09:50:06] ERROR[9606]: loader.c:2396 load_modules: Error loading module 'res_calendar_exchange.so': libneon.so.27: cannot open shared object file: No such file or directory
[Sep 19 09:50:06] ERROR[9606]: loader.c:2396 load_modules: Error loading module 'res_calendar_icalendar.so': libneon.so.27: cannot open shared object file: No such file or directory
[Sep 19 09:50:06] ERROR[9606]: loader.c:2396 load_modules: chan_mobile declined to load.
[Sep 19 09:50:06] ERROR[9606]: loader.c:2396 load_modules: cdr_radius declined to load.
[Sep 19 09:50:06] ERROR[9606]: loader.c:2396 load_modules: cdr_tds declined to load.
[Sep 19 09:50:06] ERROR[9606]: loader.c:2396 load_modules: cdr_sqlite3_custom declined to load.
[Sep 19 09:50:06] ERROR[9606]: loader.c:2396 load_modules: cdr_pgsql declined to load.
[Sep 19 09:50:06] ERROR[9606]: loader.c:2396 load_modules: cel_tds declined to load.
[Sep 19 09:50:06] ERROR[9606]: loader.c:2396 load_modules: cel_radius declined to load.
[Sep 19 09:50:06] ERROR[9606]: loader.c:2396 load_modules: cel_sqlite3_custom declined to load.

On the other hand, when I create some endpoints, asterisk can detect it and I can registered device using endpoints extension. When I tried call peer to peer using dial it say not acceptable here, anybody can help ?

for ARA

  1. be sure you configure extconfig.conf and define the realtime engine over there but preferably you can use ODBC instead mysql engine for realtime like you logs saying see the config file res_config_mysql.
    and if you want to use ODBC then see the config here res_odbc.conf
  2. disable selinux

Where is the debug output that it told you to collect?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.