I have a test installation of Asterisk that has been running without issue for quite awhile, that I can no longer connect to the console of. when I execute asterisk -rvvv I receive the “Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)” error
/var/run/asterisk.ctl does it exist, I believe the permissions are correct: srwxr-xr-x (running as root). the file asterisk.pid also exists in this directory
asterisk -cvvvvvv appears to output everything normal, with the exception of this:
SIP channel loading... == Parsing '/etc/asterisk/sip.conf': Found Illegal instruction
I am getting core dump files in /tmp. the output of which I do not understand, enough to fill the directory to 100%. I enter the command file corefilename and this is the output
#localhost.localdomain-2021-09-13T13:41:33-0400: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/usr/sbin/asterisk -f -vvvg -c', real uid: 0, effective uid: 0, real gid: 0, effective gid: 0
As I understand in that message, the -f is telling asterisk to run in the foreground, the -v is verbosity and the -g is to dump a core file in case of crash. Does this constant core dump indicate I need to reinstall Asterisk?
service asterisk status shows as running.
/var/log/full does not seem to be indicating any errors. The most recent logs show some Manager registered actions…config.c Parsing Found…nothing that seems to indicate an error.
I am not sure this matters, or if it was changed but asterisk.conf shows astcl commented out. this seems to match the wiki example.
;[files] ;astctlpermissions = 0660 ;astctlowner = root ;astctlgroup = apache ;astctl = asterisk.ctl
thank you for any input