here is the console output
e asterisk (does /run/asterisk/asterisk.ctl exist?)
[root@ec2-tel40 asterisk]# fwconsole start
Running FreePBX startup…
Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting Permissions…
Setting base permissions…Done
Setting specific permissions…
31523 [============================]
Finished setting permissions
Starting Asterisk…
[--------------->------------] 31 secs
In Start.class.php line 189:
Unable to connect to Asterisk. Did it start?
start [–pre] [–post] [–skipchown] [–] []…
I believe its because I need to have the lib directory & spool in a diferetn place.
However asterisk will start if I tel systemd to start it.
Any ideas on what i need to fix. Asterisk does start with systemd as well as asterisk -c start at command prompt.
I’m curious if this is on a fresh install or if it’s on an old system that’s no longer working. If it’s a fresh install, which Distro are you using? Is it the SangomaOS?
Do you know if asterisk is started on boot up? I’m curious if Asterisk has been started, but started under the incorrect user. If you execute ps auxf | grep asterisk on the console, what does it say?
If this isn’t the daemon you started (for example, if you started one by hand or have systemd starting it) then it might not be set up for FreePBX to manage it.