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

[root@localhost asterisk]# asterisk -r
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)

Tried to restart asterisk services but still not able to connect to asterisk cli remotely.

[root@localhost asterisk]# service asterisk restart
Stopping safe_asterisk: [ OK ]
Shutting down asterisk: [ OK ]
Starting asterisk:

[root@localhost asterisk]# asterisk -r
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)

 

Removed the CSV log file from var->log->asterisk->cdr-csv folder

and then restarted asterisk service and its worked fine.

 

on August 2, 2018.
Add Comment
1 Answer(s)

Removed the CSV log file from var->log->asterisk->cdr-csv folder

and then restarted asterisk service and its worked fine.

Answered on August 6, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.