Hi,
When I try to connect to asterisk with asterisk -r I get an error Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?) even though the file exist.
When I run asterisk -vvvc, following is the output
[root@centosrp ~]# asterisk -vc
Asterisk 13.6.0, Copyright © 1999 - 2014, Digium, Inc. and others.
Created by Mark Spencer markster@digium.com
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.
[ Initializing Custom Configuration Options ]
XSLT support not found. XML documentation may be incomplete.
Asterisk Dynamic Loader Starting:
[Oct 18 16:40:54] NOTICE[5227]: cdr.c:4162 cdr_toggle_runtime_options: CDR simple logging enabled.
Asterisk PBX Core Initializing
Asterisk Dynamic Loader Starting:
[Oct 18 16:40:54] NOTICE[5227]: loader.c:1364 load_modules: 278 modules will be loaded.
[Oct 18 16:40:54] WARNING[5227]: loader.c:553 load_dynamic_module: Error loading module ‘res_ari_events.so’: /usr/lib64/asterisk/modules/res_ari_events.so: undefined symbol: stasis_app_register_all
Loading res_statsd.so.
16:40:54.217 os_core_unix.c !pjlib 2.4.5 for POSIX initialized
Loading res_sorcery_memory.so.
Loading res_pjsip_config_wizard.so.
Loading res_sorcery_memory_cache.so.
Loading res_sorcery_astdb.so.
Loading res_sorcery_config.so.
Loading res_sorcery_realtime.so.
Loading res_pjsip_log_forwarder.so.
Loading res_pjsip.so.
Loading res_smdi.so.
Loading res_stun_monitor.so.
Loading res_pjsip_outbound_publish.so.
Loading res_monitor.so.
Loading res_pjsip_pubsub.so.
Loading res_phoneprov.so.
[Oct 18 16:40:54] WARNING[5227]: res_phoneprov.c:1229 get_defaults: Unable to find a valid server address or name.
Registered phoneprov provider ‘sipusers’.
Loading res_http_websocket.so.
Loading res_stasis_recording.so.
Loading res_hep.so.
Loading res_ari.so.
Loading res_agi.so.
Loading res_fax.so.
Loading res_ari_model.so.
Loading res_speech.so.
Loading res_pjsip_session.so.
Loading res_calendar.so.
Loading func_periodic_hook.so.
Loading res_stasis.so.
Loading res_stasis_playback.so.
Loading res_stasis_snoop.so.
Loading res_stasis_device_state.so.
Loading res_stasis_answer.so.
Loading res_ael_share.so.
Loading res_parking.so.
Loading res_curl.so.
Loading func_curl.so.
Loading res_config_curl.so.
Loading res_config_sqlite3.so.
Loading res_timing_pthread.so.
Loading res_timing_timerfd.so.
Loading res_pjsip_keepalive.so.
Loading res_musiconhold.so.
Loading res_pjsip_pidf_digium_body_supplement.so.
Loading res_pjsip_mwi.so.
Loading res_format_attr_celt.so.
Loading res_format_attr_opus.so.
Loading res_pjsip_pidf_eyebeam_body_supplement.so.
Loading res_format_attr_silk.so.
Loading res_pjsip_exten_state.so.
Loading res_pjsip_dialog_info_body_generator.so.
Loading res_pjsip_xpidf_body_generator.so.
Loading res_rtp_multicast.so.
Loading res_pjsip_authenticator_digest.so.
Loading res_pjsip_mwi_body_generator.so.
Loading res_pjsip_outbound_authenticator_digest.so.
Loading res_rtp_asterisk.so.
Loading res_pjsip_publish_asterisk.so.
Loading res_pjsip_pidf_body_generator.so.
Loading chan_mgcp.so.
Loading chan_skinny.so.
[Oct 18 16:40:55] NOTICE[5227]: chan_skinny.c:8409 config_load: Configuring skinny from skinny.conf
Loading res_pjsip_t38.so.
Loading chan_multicast_rtp.so.
Loading chan_sip.so.
SIP channel loading…
Loading chan_iax2.so.
Loading chan_pjsip.so.
Loading res_pjsip_sdp_rtp.so.
Loading res_pjsip_messaging.so.
Loading func_dialplan.so.
Loading res_pjsip_registrar.so.
Loading res_pjsip_multihomed.so.
Loading res_pjsip_notify.so.
Loading res_pjsip_acl.so.
Loading res_pjsip_registrar_expire.so.
Loading format_h264.so.
Loading res_pjsip_header_funcs.so.
Loading res_pjsip_send_to_voicemail.so.
Loading format_h263.so.
Loading res_pjsip_endpoint_identifier_user.so.
Loading format_g719.so.
Loading format_sln.so.
Loading res_adsi.so.
Loading res_pjsip_transport_websocket.so.
Loading res_pjsip_caller_id.so.
Loading format_g723.so.
Loading res_pjsip_endpoint_identifier_ip.so.
Loading res_pjsip_refer.so.
Loading format_ilbc.so.
Loading res_pjsip_path.so.
Loading format_g726.so.
Loading res_pjsip_outbound_registration.so.
Loading res_pjsip_rfc3326.so.
Loading format_g729.so.
Loading format_jpeg.so.
Loading format_wav_gsm.so.
Loading format_pcm.so.
Loading format_siren7.so.
Loading res_pjsip_logger.so.
Loading format_siren14.so.
Loading res_pjsip_dlg_options.so.
Loading format_vox.so.
Loading format_wav.so.
Loading res_pjsip_phoneprov_provider.so.
Registered phoneprov provider ‘res_pjsip_phoneprov_provider’.
Loading format_gsm.so.
Loading res_pjsip_diversion.so.
Loading app_stack.so.
Loading res_pjsip_one_touch_record_info.so.
Loading res_pjsip_nat.so.
Loading res_pjsip_dtmf_info.so.
Loading res_pjsip_sips_contact.so.
Loading func_presencestate.so.
Loading app_agent_pool.so.
Loading app_confbridge.so.
[Oct 18 16:40:55] NOTICE[5227]: confbridge/conf_config_parser.c:2073 verify_default_profiles: Adding default_menu menu to app_confbridge
Loading func_devstate.so.
Loading cel_custom.so.
[Oct 18 16:40:55] NOTICE[5227]: cel_custom.c:95 load_config: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs.
Added CEL CSV mapping for 0 files.
Loading cdr_sqlite3_custom.so.
Loading cdr_syslog.so.
Loading cdr_csv.so.
Loading cdr_custom.so.
Loading cdr_manager.so.
Loading cel_sqlite3_custom.so.
Loading cel_manager.so.
Loading func_frame_trace.so.
Loading func_groupcount.so.
Loading func_channel.so.
Loading func_hangupcause.so.
Loading func_cut.so.
Loading func_version.so.
Loading func_dialgroup.so.
Loading func_cdr.so.
Loading func_timeout.so.
Loading func_iconv.so.
Loading func_extstate.so.
Loading func_srv.so.
Loading func_logic.so.
Loading func_volume.so.
Loading func_realtime.so.
Loading func_math.so.
Loading func_config.so.
Loading func_pjsip_endpoint.so.
Loading func_jitterbuffer.so.
Loading func_strings.so.
Loading app_externalivr.so.
Loading func_rand.so.
Loading func_md5.so.
Loading func_callcompletion.so.
Loading func_env.so.
Loading func_callerid.so.
Loading func_lock.so.
Loading func_db.so.
Loading app_adsiprog.so.
Loading func_sha1.so.
Loading func_pjsip_aor.so.
Loading codec_lpc10.so.
Loading func_enum.so.
Loading func_uri.so.
Loading func_blacklist.so.
Loading func_vmcount.so.
Loading app_milliwatt.so.
Loading bridge_simple.so.
Loading pbx_dundi.so.
Loading app_echo.so.
Loading bridge_holding.so.
Loading bridge_builtin_interval_features.so.
Loading bridge_builtin_features.so.
Loading app_disa.so.
Loading codec_a_mu.so.
Loading res_ari_recordings.so.
Loading app_chanisavail.so.
Loading res_mutestream.so.
Loading app_cdr.so.
Loading codec_adpcm.so.
Loading res_format_attr_h263.so.
Loading app_softhangup.so.
Loading codec_alaw.so.
Loading app_page.so.
Loading app_followme.so.
Loading pbx_ael.so.
Loading app_read.so.
Loading pbx_spool.so.
Loading res_ari_playbacks.so.
Loading res_limit.so.
Loading res_ari_applications.so.
Loading app_sms.so.
Loading res_format_attr_h264.so.
Loading res_ari_events.so.
Loading app_image.so.
Loading app_privacy.so.
Loading res_hep_pjsip.so.
Loading codec_g722.so.
Loading res_realtime.so.
Loading bridge_native_rtp.so.
Loading bridge_softmix.so.
Loading codec_ilbc.so.
Loading app_senddtmf.so.
Loading app_speech_utils.so.
Loading app_test.so.
Loading codec_gsm.so.
Loading app_alarmreceiver.so.
Loading app_forkcdr.so.
Loading app_userevent.so.
Loading app_nbscat.so.
Loading app_originate.so.
Loading app_authenticate.so.
Loading app_controlplayback.so.
Loading app_ices.so.
Loading app_exec.so.
Loading app_dictate.so.
Loading app_playback.so.
Loading app_directory.so.
Loading app_mixmonitor.so.
Loading func_sprintf.so.
Loading app_stasis.so.
Loading app_macro.so.
Loading app_talkdetect.so.
Loading app_directed_pickup.so.
Loading pbx_loopback.so.
Loading app_url.so.
Loading app_zapateller.so.
Loading app_celgenuserevent.so.
Loading res_ari_device_states.so.
Loading app_mp3.so.
Loading codec_ulaw.so.
Loading app_dial.so.
Loading func_shell.so.
Loading chan_oss.so.
Loading codec_resample.so.
Loading app_dumpchan.so.
Loading res_ari_channels.so.
Loading pbx_realtime.so.
Loading res_ari_bridges.so.
Loading app_bridgewait.so.
Loading res_pjsip_endpoint_identifier_anonymous.so.
Loading app_channelredirect.so.
Loading res_ari_sounds.so.
Loading res_hep_rtcp.so.
Loading app_morsecode.so.
Loading app_minivm.so.
Loading res_clioriginate.so.
Loading app_voicemail.so.
Loading app_chanspy.so.
Loading app_getcpeid.so.
Loading app_sayunixtime.so.
Loading app_transfer.so.
Loading app_sendtext.so.
Loading app_festival.so.
Loading pbx_config.so.
Loading chan_phone.so.
Loading func_talkdetect.so.
Loading app_amd.so.
Loading app_playtones.so.
Loading codec_g726.so.
Loading func_base64.so.
Loading func_sorcery.so.
Loading app_readexten.so.
Loading res_convert.so.
Loading res_ari_endpoints.so.
Loading app_system.so.
Loading res_clialiases.so.
Loading res_ari_asterisk.so.
Loading app_waituntil.so.
Loading chan_unistim.so.
Loading chan_bridge_media.so.
Loading app_waitforring.so.
Loading app_db.so.
Loading app_verbose.so.
Loading res_security_log.so.
Loading func_audiohookinherit.so.
Loading func_global.so.
Loading app_waitforsilence.so.
Loading app_while.so.
Loading func_sysinfo.so.
Loading func_aes.so.
Loading func_pjsip_contact.so.
Loading app_record.so.
Loading func_module.so.
Loading func_pitchshift.so.
Loading app_queue.so.
*CLI> Loading res_manager_devicestate.so.
Loading res_manager_presencestate.so.
Asterisk Ready.