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

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

I get this error every new install ive tried of ASL

Also get this when running cli from asl-menu “There was an error running option 5”

could be many things…
what are you installing to ? pi /pc & what version are you installing ?

https://wiki.allstarlink.org/wiki/ASL_FAQ
Using the install to existing OS on a vm

Its ubunto 18.4 I tried using the allstar iso but got the same error

when you say “vm”
are you using 'virtual machine" or are you indicating a cloud based server or ‘VPS’ ?

real virtual machine on a enterprise server running windows hyper-v

Sorry, can’t help with that combo but…
check the wiki on re-compiling dahdi

Well ive tried it running on a direct hardware and get the same thing

Well, again, without telling me anything specific, you are telling me nothing to reply to.
But it sounds like you are doing something wrong, by-golly

Well ive downloaded Index of /ASL_Images/Intel-AMD/ and get the same error. Ive tried on direct hardware and get the same error

Have you looked at the logs to see what the problem may be? /var/log/asterisk/messages

Let me look at that. Ill let you know shortly

Heres the content of that file

[Mar 19 13:48:07] NOTICE[901] dnsmgr.c: Managed DNS entries will be refreshed every 300 seconds.
[Mar 19 13:48:07] NOTICE[901] cdr.c: CDR simple logging enabled.
[Mar 19 13:48:07] NOTICE[901] loader.c: 55 modules will be loaded.
[Mar 19 13:48:07] WARNING[901] chan_iax2.c: Unable to open IAX timing interface: No such file or$
[Mar 19 13:48:07] NOTICE[907] app_rpt.c: Normal Repeater Init 560384
[Mar 19 13:48:07] WARNING[922] chan_dahdi.c: Unable to open ‘/dev/dahdi/pseudo’: No such file or$
[Mar 19 13:48:07] ERROR[922] chan_dahdi.c: Unable to dup channel: No such file or directory
[Mar 19 13:48:08] WARNING[907] app_rpt.c: rpt_thread restarted on node 560384
[Mar 19 13:48:08] WARNING[923] chan_dahdi.c: Unable to open ‘/dev/dahdi/pseudo’: No such file or$
[Mar 19 13:48:08] ERROR[923] chan_dahdi.c: Unable to dup channel: No such file or directory
[Mar 19 13:48:10] NOTICE[907] app_rpt.c: RPT thread restarted on 560384
[Mar 19 13:48:10] WARNING[907] app_rpt.c: rpt_thread restarted on node 560384
[Mar 19 13:48:10] WARNING[924] chan_dahdi.c: Unable to open ‘/dev/dahdi/pseudo’: No such file or$
[Mar 19 13:48:10] ERROR[924] chan_dahdi.c: Unable to dup channel: No such file or directory
[Mar 19 13:48:12] NOTICE[907] app_rpt.c: RPT thread restarted on 560384
[Mar 19 13:48:12] WARNING[907] app_rpt.c: rpt_thread restarted on node 560384
[Mar 19 13:48:12] WARNING[925] chan_dahdi.c: Unable to open ‘/dev/dahdi/pseudo’: No such file or$
[Mar 19 13:48:12] ERROR[925] chan_dahdi.c: Unable to dup channel: No such file or directory
[Mar 19 13:48:14] NOTICE[907] app_rpt.c: RPT thread restarted on 560384
[Mar 19 13:48:14] WARNING[907] app_rpt.c: rpt_thread restarted on node 560384
[Mar 19 13:48:14] WARNING[926] chan_dahdi.c: Unable to open ‘/dev/dahdi/pseudo’: No such file or$
[Mar 19 13:48:14] ERROR[926] chan_dahdi.c: Unable to dup channel: No such file or directory
[Mar 19 13:48:16] NOTICE[907] app_rpt.c: RPT thread restarted on 560384
[Mar 19 13:48:16] WARNING[907] app_rpt.c: rpt_thread restarted on node 560384
[Mar 19 13:48:16] WARNING[927] chan_dahdi.c: Unable to open ‘/dev/dahdi/pseudo’: No such file or$
[Mar 19 13:48:16] ERROR[927] chan_dahdi.c: Unable to dup channel: No such file or directory
[Mar 19 13:48:18] NOTICE[907] app_rpt.c: RPT thread restarted on 560384
[Mar 19 13:48:18] WARNING[907] app_rpt.c: rpt_thread restarted on node 560384
[Mar 19 13:48:18] WARNING[928] chan_dahdi.c: Unable to open ‘/dev/dahdi/pseudo’: No such file or$
[Mar 19 13:48:18] ERROR[928] chan_dahdi.c: Unable to dup channel: No such file or directory
[Mar 19 13:48:20] ERROR[907] app_rpt.c: Continual RPT thread restarts, killing Asterisk

https://wiki.allstarlink.org/wiki/DAHDI_Make

1 Like

That worked! thanks!

1 Like

try
sudo asterisk --r

Thanks but “mike” gave the solution and it works now.