I’m having issues restarting asterisk. The issues arrived in version 10.12.0 which I install via RPM. I am getting the following error message:
service asterisk restart
Stopping safe_asterisk: [ OK ]
Shutting down asterisk: [ OK ]
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
Starting asterisk: Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
[ OK ]
The file /var/run/asterisk/asterisk.ctl does exist!
I have searched for an answer before posting and have tried the following
deleting /var/run/asterisk/asterisk.ctl Asterisk recreates the file
checking the asterisk log files (attached) No errors I can see there
Removing my asterisk config files and replacing with the example files (Via RPM)
Here is the messages log file
[Feb 2 11:24:07] NOTICE[14144] cdr.c: CDR simple logging enabled.
[Feb 2 11:24:07] NOTICE[14144] loader.c: 205 modules will be loaded.
[Feb 2 11:24:07] NOTICE[14144] res_odbc.c: res_odbc loaded.
[Feb 2 11:24:07] NOTICE[14144] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Feb 2 11:24:07] WARNING[14144] res_config_mysql.c: MySQL RealTime: No database user found, using ‘asterisk’ as default.
[Feb 2 11:24:07] WARNING[14144] res_config_mysql.c: MySQL RealTime: No database password found, using ‘asterisk’ as default.
[Feb 2 11:24:07] WARNING[14144] res_config_mysql.c: MySQL RealTime: No database host found, using localhost via socket.
[Feb 2 11:24:07] WARNING[14144] res_config_mysql.c: MySQL RealTime: No database name found, using ‘asterisk’ as default.
[Feb 2 11:24:07] WARNING[14144] res_config_mysql.c: MySQL RealTime: No database port found, using 3306 as default.
[Feb 2 11:24:07] WARNING[14144] res_config_mysql.c: MySQL RealTime: No database socket found, using ‘/var/lib/mysql/mysql.sock’ as default.
[Feb 2 11:24:07] WARNING[14144] res_config_mysql.c: MySQL RealTime: No database socket found (and unable to detect a suitable path).
[Feb 2 11:24:07] NOTICE[14144] config.c: Registered Config Engine mysql
[Feb 2 11:24:07] NOTICE[14144] config.c: Registered Config Engine curl
[Feb 2 11:24:07] NOTICE[14144] config.c: Registered Config Engine odbc
[Feb 2 11:24:07] WARNING[14144] res_musiconhold.c: No music on hold classes configured, disabling music on hold.
[Feb 2 11:24:07] NOTICE[14144] chan_skinny.c: Configuring skinny from skinny.conf
[Feb 2 11:24:07] WARNING[14144] chan_dahdi.c: Ignoring any changes to ‘userbase’ (on reload) at line 23.
[Feb 2 11:24:07] WARNING[14144] chan_dahdi.c: Ignoring any changes to ‘vmsecret’ (on reload) at line 31.
[Feb 2 11:24:07] WARNING[14144] chan_dahdi.c: Ignoring any changes to ‘hassip’ (on reload) at line 35.
[Feb 2 11:24:07] WARNING[14144] chan_dahdi.c: Ignoring any changes to ‘hasiax’ (on reload) at line 39.
[Feb 2 11:24:07] WARNING[14144] chan_dahdi.c: Ignoring any changes to ‘hasmanager’ (on reload) at line 47.
[Feb 2 11:24:07] ERROR[14144] chan_mobile.c: No Bluetooth devices found. Not loading module.
[Feb 2 11:24:08] NOTICE[14144] pbx_ael.c: Starting AEL load process.
[Feb 2 11:24:08] NOTICE[14144] pbx_ael.c: AEL load process: parsed config file name ‘/etc/asterisk/extensions.ael’.
[Feb 2 11:24:08] NOTICE[14144] pbx_ael.c: AEL load process: checked config file name ‘/etc/asterisk/extensions.ael’.
[Feb 2 11:24:08] NOTICE[14144] pbx_ael.c: AEL load process: compiled config file name ‘/etc/asterisk/extensions.ael’.
[Feb 2 11:24:08] NOTICE[14144] pbx_ael.c: AEL load process: merged config file name ‘/etc/asterisk/extensions.ael’.
[Feb 2 11:24:08] NOTICE[14144] pbx_ael.c: AEL load process: verified config file name ‘/etc/asterisk/extensions.ael’.
[Feb 2 11:24:08] NOTICE[14144] chan_ooh323.c: Unable to load config ooh323.conf, OOH323 disabled
[Feb 2 11:24:07] NOTICE[14144] cdr.c: CDR simple logging enabled.
[Feb 2 11:24:07] NOTICE[14144] loader.c: 205 modules will be loaded.
[Feb 2 11:24:07] NOTICE[14144] res_odbc.c: res_odbc loaded.
[Feb 2 11:24:07] NOTICE[14144] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Feb 2 11:24:07] WARNING[14144] res_config_mysql.c: MySQL RealTime: No database user found, using ‘asterisk’ as default.
[Feb 2 11:24:07] WARNING[14144] res_config_mysql.c: MySQL RealTime: No database password found, using ‘asterisk’ as default.
[Feb 2 11:24:07] WARNING[14144] res_config_mysql.c: MySQL RealTime: No database host found, using localhost via socket.
[Feb 2 11:24:07] WARNING[14144] res_config_mysql.c: MySQL RealTime: No database name found, using ‘asterisk’ as default.
[Feb 2 11:24:07] WARNING[14144] res_config_mysql.c: MySQL RealTime: No database port found, using 3306 as default.
[Feb 2 11:24:07] WARNING[14144] res_config_mysql.c: MySQL RealTime: No database socket found, using ‘/var/lib/mysql/mysql.sock’ as default.
[Feb 2 11:24:07] WARNING[14144] res_config_mysql.c: MySQL RealTime: No database socket found (and unable to detect a suitable path).
[Feb 2 11:24:07] NOTICE[14144] config.c: Registered Config Engine mysql
[Feb 2 11:24:07] NOTICE[14144] config.c: Registered Config Engine curl
[Feb 2 11:24:07] NOTICE[14144] config.c: Registered Config Engine odbc
[Feb 2 11:24:07] WARNING[14144] res_musiconhold.c: No music on hold classes configured, disabling music on hold.
[Feb 2 11:24:07] NOTICE[14144] chan_skinny.c: Configuring skinny from skinny.conf
[Feb 2 11:24:07] WARNING[14144] chan_dahdi.c: Ignoring any changes to ‘userbase’ (on reload) at line 23.
[Feb 2 11:24:07] WARNING[14144] chan_dahdi.c: Ignoring any changes to ‘vmsecret’ (on reload) at line 31.
[Feb 2 11:24:07] WARNING[14144] chan_dahdi.c: Ignoring any changes to ‘hassip’ (on reload) at line 35.
[Feb 2 11:24:07] WARNING[14144] chan_dahdi.c: Ignoring any changes to ‘hasiax’ (on reload) at line 39.
[Feb 2 11:24:07] WARNING[14144] chan_dahdi.c: Ignoring any changes to ‘hasmanager’ (on reload) at line 47.
[Feb 2 11:24:07] ERROR[14144] chan_mobile.c: No Bluetooth devices found. Not loading module.
[Feb 2 11:24:08] NOTICE[14144] pbx_ael.c: Starting AEL load process.
[Feb 2 11:24:08] NOTICE[14144] pbx_ael.c: AEL load process: parsed config file name ‘/etc/asterisk/extensions.ael’.
[Feb 2 11:24:08] NOTICE[14144] pbx_ael.c: AEL load process: checked config file name ‘/etc/asterisk/extensions.ael’.
[Feb 2 11:24:08] NOTICE[14144] pbx_ael.c: AEL load process: compiled config file name ‘/etc/asterisk/extensions.ael’.
[Feb 2 11:24:08] NOTICE[14144] pbx_ael.c: AEL load process: merged config file name ‘/etc/asterisk/extensions.ael’.
[Feb 2 11:24:08] NOTICE[14144] pbx_ael.c: AEL load process: verified config file name ‘/etc/asterisk/extensions.ael’.
[Feb 2 11:24:08] NOTICE[14144] chan_ooh323.c: Unable to load config ooh323.conf, OOH323 disabled
Is there an issue with the RPM build of version 10.12.0?
Does anyone have any new ideas on how to troublshoot this error message?
Many thanks