Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
Is Asterisk running as root?
fwconsole restart
No …asterisk was not running. After typing the command “fwconsole restart” I received the following:
Asterisk not currently running
Running FreePBX shutdown…
Restapps daemon was not running
XMPP Server was not running
Stopping Zulu Server
Stopped Zulu Server
Stopping Wanrouter for Sangoma Cards
Wanrouter Failed: The command “/usr/sbin/wanrouter stop” failed.
Exit Code: 1(General error)
Output:
Router is already stopped !
Error Output:
Stopping DAHDi for Digium Cards
DAHDi Stopped
Running VQPlus Hooks
Stopping Queue Callback Daemon
Queue Callback Daemon Stopped
Running FreePBX startup…
Starting Wanrouter for Sangoma Cards
Wanrouter Failed: The command “/usr/sbin/wanrouter start” failed.
Exit Code: 1(General error)
Output:
ERROR: Wanpipe configuration file not found:
/etc/wanpipe/wanpipe1.conf
Error Output:
Starting DAHDi for Digium Cards
DAHDi Started
Running Sysadmin Hooks
Restarting fail2ban
fail2ban Restart failed Failed: The command “/etc/init.d/fail2ban restart” failed.
Exit Code: 255(Unknown error)
Output:
Stopping fail2ban: [ OK ]
Ensuring logfiles are presentStarting fail2ban: [FAILED]
Error Output:
ERROR Server already running
Updating License Information for 61718040
Starting Asterisk…
[---------->-----------------] 2 secs
Broadcast message from [email protected] (Fri Dec 30 00:04:28 2016):
Firewall service now starting.
[============================] 2 secs
Asterisk Started
Starting Restapps daemon
Running VQPlus Hooks
Starting Queue Callback Daemon
Queue Callback Daemon Started
Running XMPP Hooks
Starting XMPP Server
XMPP Server Started
Do the Asterisk AMI credentials and details in /etc/asterisk/manager.conf match what is shown in the “Asterisk Manager” section of Advanced Settings?
Yes the credentials match; both the “[user]” and the “Secret” match.
After running “fwconsole restart” I tried to initialize the DADHI card again, but it failed due to Asterisk being stopped.
Can you please provide further assistance?
Thanks
Michael