Hello,
I’m trying to install asterisk 20.7 on centos 9. I have this problem:
[Apr 27 15:51:54] > res_manager_presencestate.so => (Manager Presence State Topic Forwarder)
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘app_voicemail_odbc.so’, missing dependencies: res_adsi, res_smdi
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘app_mixmonitor.so’, missing dependency: func_periodic_hook
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘app_queue.so’, missing dependency: res_monitor
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘bridge_builtin_features.so’, missing dependency: res_monitor
*CLI> [Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘cdr_adaptive_odbc.so’: /usr/lib64/asterisk/modules/cdr_adaptive_odbc.so: cannot open shared object file: No such file or directory
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘cdr_odbc.so’: /usr/lib64/asterisk/modules/cdr_odbc.so: cannot open shared object file: No such file or directory
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘chan_pjsip.so’: /usr/lib64/asterisk/modules/chan_pjsip.so: undefined symbol: ast_sip_cli_traverse_objects
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘func_pjsip_aor.so’, missing dependency: res_pjsip
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘func_pjsip_contact.so’, missing dependency: res_pjsip
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘func_pjsip_endpoint.so’, missing dependency: res_pjsip
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_config_wizard.so’: /usr/lib64/asterisk/modules/res_pjsip_config_wizard.so: undefined symbol: ast_sip_get_sorcery
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip.so’, missing dependencies: res_geolocation, res_statsd
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_authenticator_digest.so’, missing dependency: res_pjsip
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_endpoint_identifier_user.so’, missing dependency: res_pjsip
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_endpoint_identifier_ip.so’, missing dependency: res_pjsip
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_registrar.so’, missing dependency: res_pjsip
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_outbound_publish.so’, missing dependency: res_pjsip
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_outbound_authenticator_digest.so’, missing dependency: res_pjsip
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_pubsub.so’, missing dependency: res_pjsip
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_mwi_body_generator.so’, missing dependencies: res_pjsip, res_pjsip_pubsub
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_xpidf_body_generator.so’, missing dependencies: res_pjsip, res_pjsip_pubsub
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_pidf_body_generator.so’, missing dependencies: res_pjsip, res_pjsip_pubsub
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_dialog_info_body_generator.so’, missing dependencies: res_pjsip, res_pjsip_pubsub
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_publish_asterisk.so’, missing dependencies: res_pjsip, res_pjsip_outbound_publish, res_pjsip_pubsub
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_exten_state.so’, missing dependencies: res_pjsip, res_pjsip_pubsub, res_pjsip_outbound_publish
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_session.so’: /usr/lib64/asterisk/modules/res_pjsip_session.so: undefined symbol: pjsip_media_type_application_sdp
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_t38.so’, missing dependencies: res_pjsip, res_pjsip_session
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_sdp_rtp.so’: /usr/lib64/asterisk/modules/res_pjsip_sdp_rtp.so: undefined symbol: pjsip_media_type_application_media_control_xml
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_transport_websocket.so’, missing dependency: res_pjsip
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_caller_id.so’, missing dependencies: res_pjsip, res_pjsip_session
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_outbound_registration.so’, missing dependencies: res_pjsip, res_statsd
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_dlg_options.so’, missing dependencies: res_pjsip, res_pjsip_session
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_sips_contact.so’, missing dependency: res_pjsip
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_nat.so’, missing dependencies: res_pjsip, res_pjsip_session
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_notify.so’, missing dependency: res_pjsip
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_empty_info.so’, missing dependencies: res_pjsip, res_pjsip_session
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_acl.so’, missing dependency: res_pjsip
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_header_funcs.so’: /usr/lib64/asterisk/modules/res_pjsip_header_funcs.so: cannot open shared object file: No such file or directory
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_path.so’, missing dependencies: res_pjsip, res_pjsip_session
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_rfc3326.so’, missing dependencies: res_pjsip, res_pjsip_session
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_messaging.so’: /usr/lib64/asterisk/modules/res_pjsip_messaging.so: cannot open shared object file: No such file or directory
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_diversion.so’, missing dependencies: res_pjsip, res_pjsip_session
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_dtmf_info.so’, missing dependencies: res_pjsip, res_pjsip_session
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_one_touch_record_info.so’, missing dependencies: res_pjsip, res_pjsip_session
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_refer.so’, missing dependencies: res_pjsip, res_pjsip_session, res_pjsip_pubsub
[Apr 27 15:51:54] ERROR[7776]: loader.c:2524 load_modules: Error loading module ‘res_pjsip_send_to_voicemail.so’, missing dependencies: res_pjsip, res_pjsip_session
[Apr 27 15:51:54] Asterisk Ready.
[Apr 27 15:51:54] WARNING[7776]: res_odbc.c:1083 odbc_obj_connect: res_odbc: Error SQLConnect=-1 errno=0 [unixODBC][Driver Manager]Data source name not found and no default driver specified
[Apr 27 15:51:54] WARNING[7776]: res_odbc.c:255 ast_odbc_find_table: Unable to retrieve database handle for table description ‘Queue_log@asterisk’
[Apr 27 15:51:54] WARNING[7776]: res_odbc.c:1083 odbc_obj_connect: res_odbc: Error SQLConnect=-1 errno=0 [unixODBC][Driver Manager]Data source name not found and no default driver specified
After installing Asterisk 20.7 on centos stream 9 (make , make install), and after i just making a copy paste of the folder of asterisk 18.3 (etc/asterisk/*) to asterisk 20(/etc/asterisk/)
the result of “systemctl status asterisk.service”:
systemctl status asterisk.service
● asterisk.service - Asterisk
Loaded: loaded (/usr/lib/systemd/system/asterisk.service; enabled; preset: disabled)
Active: active (running) since Sat 2024-04-27 15:57:07 EDT; 12s ago
Main PID: 7911 (asterisk)
Tasks: 32 (limit: 48908)
Memory: 34.0M
CPU: 578ms
CGroup: /system.slice/asterisk.service
└─7911 /usr/sbin/asterisk -f -C /etc/asterisk/asterisk.conf
Apr 27 15:57:07 asterisk-20 asterisk[7911]: [Apr 27 15:57:07] ERROR[7911]: loader.>
Apr 27 15:57:07 [7911]: ERROR[7911]: loader.c:2524 in load_mod>
Apr 27 15:57:07 asterisk-20 asterisk[7911]: [Apr 27 15:57:07] ERROR[7911]: loader.>
Apr 27 15:57:07 asterisk-20 asterisk[7911]: [Apr 27 15:57:07] Asterisk Ready.
Apr 27 15:57:07 asterisk[7911]: WARNING[7911]: res_odbc.c:1083 in odbc>
Apr 27 15:57:07 asterisk[7911]: [Apr 27 15:57:07] WARNING[7911]: res_o>
Apr 27 15:57:07 asterisk[7911]: WARNING[7911]: res_odbc.c:255 in ast_o>
Apr 27 15:57:07 asterisk[7911]: [Apr 27 15:57:07] WARNING[7911]: res_o>
Apr 27 15:57:07 asterisk[7911]: WARNING[7911]: res_odbc.c:1083 in odbc>
Apr 27 15:57:07
c:2524 load_modules: Error loading module ‘res_pjsip_refer.so’, missing dependencies: res_pjsip, res_p>
ules: Error loading module ‘res_pjsip_send_to_voicemail.so’, missing dependencies: res_pjsip, res_pjsi>
c:2524 load_modules: Error loading module ‘res_pjsip_send_to_voicemail.so’, missing dependencies: res_>
_obj_connect: res_odbc: Error SQLConnect=-1 errno=0 [unixODBC][Driver Manager]Data source name not fou>
dbc.c:1083 odbc_obj_connect: res_odbc: Error SQLConnect=-1 errno=0 [unixODBC][Driver Manager]Data sour>
dbc_find_table: Unable to retrieve database handle for table description ‘Queue_log@asterisk’
dbc.c:255 ast_odbc_find_table: Unable to retrieve database handle for table description 'Queue_log@ast>
_obj_connect: res_odbc: Error SQLConnect=-1 errno=0 [unixODBC][Driver Manager]Data source name not fou>
dbc.c:1083 odbc_obj_connect: res_odbc: Error SQLConnect=-1 errno=0 [unixODBC][Driver Manager]Data sour
So thank you for showing me the way to solve this problem.
Thank you so much