I’m deploying a Asterisk version on a new virtual machine. Unfortunately the problem is that asterisk won’t start with the command asterisk -rvvvvv .CLI says:
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
If I run asterisk -cvvvvv , it starts fine, it sets it up with no issues at all and I’m even able to register phones and make/receive calls. But the moment I close the CLI with CTRL+c (Asterisk cleanly ending), the process is terminated, and if I run asterisk -cvvvvv it restarts and it seems it sets it up again from scratch.
I’m unable to start Asterisk with asterisk -rvvvv even with root user.
Asterisk.ctl file is not there because, as I explained, to be able to check the file system, I need to exit Asterisk CLI and when I do that, the process gets of course terminated. However, I’m unable to run it with asterisk -rvvvvv in any way.
SElinux is currently disabled.
Any help would be greatly appreciated…