I was trying to do some tweaks on Asterisk 1.2, and when I rebooted (Debian) I got the following error:
Unable to connect to remote asterisk (does / var/run/asterisk.ctl exist?)
I thought that was odd, as it had been working for some time so I rebooted again. I got the same error after the reboot, so I decided to to an apt-get remove asterisk to uninstall it. I then reinstalled it using apt-get install asterisk however I am still getting the same error message.
Is there a way to completely wipe ALL the Asterisk files (and subdirectories even if they contain files) from my machine? I basically want to do a 100% fresh install and make sure all remnants of the previous install are gone.
However, after some reboots it seems to be having a new problem. Below is what the output is when I restart the system and try to run Asterisk in regular and safe mode. I am pulling my hair out so if anyone knows anything please tell me!
root@LS-GL7D6:~# ls
asterisk.ctl
root@LS-GL7D6:~# asterisk -r
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
root@LS-GL7D6:~# safe_asterisk
Cannot find your TTY (9)
root@LS-GL7D6:~#
[quote=“pmlco”]
As I told you before, the debian asterisk package seems very old, you woule be better off downloading the source files and doing a manual install.
Ian.[/quote]
You are correct that it is old, however after discussing it with you last time I did some research. Due to the fact that I am running a custom linux distro, and due to the fact that my device (its not a PC) has an ARM processor, this is the version I am stuck using. I went to the developer forums for the group that built the distro I am using, and some of their top gurus ‘just’ figured out a way to get a newer linux kernel to load on the device, however it still is kind of 50/50. I have nowhere near the skill level of the linux developers, so I have basically decided I need to work with what is available at the current time. Trust me when I tell you its frustrating being stuck with this!
[quote=“ianplain”]
By starting asterisk from the console with asterisk -vvvvvvvvvvc and seeing what happens and aslo looking at the logs you should be able to fault it.
Ian[/quote]
I will run that command again tonight and post the results. I did notice a few error messages, however they seemed to be regarding not having a music on hold mp3 file. I will double check, the post, then hopefully someone will be able to help me spot the issue.
You will either need to compile and install dahdi or zapata. Even if you dont use a card, you still need some of the features of the cards for bits of asterisk to work properly, such as meetme().
If there is no card installed, it will load a dummy driver. This should fix your problem…if I have read things correctly