Asterisk support: Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)

Hi,
please i need help. I configure asterisk on Debian 11 and asterisk 18.

Asterisk give me message when i try to start (i use command: sudo asterisk -vvvvr): Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?

asterisk service not running, you can try command “service asterisk start”

I try to use “sudo service asterisk start”, but it does not work.

It could become from many issues, you can try by manually as:

asterisk

If no message then

asterisk -vvvvr

If start without problem check I guess debian 11 use service manager systemd

sudo asterisk -cvvv
This will show any errors on the screen so you can troubleshoot.

Your asterisk is not successfully install, you should reinstall it.

  1. Did you install from source or from a package (apt/apt-get)? If from source, which guide did you follow?

  2. Is this a new install, a previously running system, or a running system?

  3. When you say ‘it does not work,’ please show (not a picture, cut-n-paste text – wrapped with preformatted text tags) what command you entered and the output.

I installed Asterisk on another computer. Now Asterisk works.

I use instruction from link - How to install Asterisk 18 on Debian 10 - SecureVoIP.io - The Ultimate Guide to your VoIP Fantasies