Zulu Node is not running

Just got two Zulu licenses. Zulu Node is not running according to Dashboard.

[[email protected] ~]# fwconsole restart zulu
Running FreePBX shutdown…

Stopping Zulu Server
Stopped Zulu Server

Running FreePBX startup…
Unable to run Pre-Asterisk hooks, because Asterisk is already running on PID 6543 and has been running for 2 weeks, 5 days, 17 hours, 57 minutes, 34 seconds

10.13.66-11

you need to update your modules. If you are on -11 that is before Zulu 2.0 was released

Which modules?

I am on Zulu 13.0.47.5.
Or do you mean update the distro to -17?

Upgrade to the Zulu in edge.

fwconsole ma --edge upgrade zulu?

Unable to install module zulu:

[[email protected] ~]# fwconsole ma --edge upgrade zulu
Edge repository temporarily enabled
No repos specified, using: [commercial,standard,extended,unsupported] from last GUI settings

Starting zulu download…
Processing zulu
Downloading…
135760/135760 [============================] 100%
Finished downloading
Extracting…Done
Module zulu successfully downloaded
Installing/Updating Required Libraries. This may take a while…
Finished updating libraries!
Stopping old running processes…Done
Starting new Zulu Process…Failed!
Unable to install module zulu:

  • Failed to run installation scripts
    Updating Hooks…Done
    Updating Hooks…Done

fwconsole start zulu

No luck. Now Zulu is disabled and I can’t enable it, at least not from GUI module admin.

[[email protected] ~]# fwconsole start zulu
Running FreePBX startup…
Taking too long? Customize the chown command, See http://wiki.freepbx.org/displa y/FOP/FreePBX+Chown+Conf
Setting Permissions…
Collecting Files…Done
4414/4414 [============================] 100%
Finished setting permissions
Unable to run Pre-Asterisk hooks, because Asterisk is already running on PID 654 3 and has been running for 2 weeks, 5 days, 22 hours, 12 minutes, 38 seconds
[[email protected] ~]#


Completely remove it and reinstall it. Delete all zulu directories.

I removed it via module admin.
Which directories do I have to remove?

[[email protected] ~]# locate zulu
/drbd/asterisk/lib/zulu
/drbd/asterisk/lib/zulu/config.json
/drbd/asterisk/lib/zulu/pids
/drbd/asterisk/lib/zulu/sock
/drbd/httpd/www/html/admin/assets/zulu
/drbd/httpd/www/html/admin/modules/zulu
/drbd/httpd/www/html/admin/modules/_cache/zulu-13.0.31.tgz.gpg
/drbd/httpd/www/html/admin/modules/_cache/zulu-13.0.35.tgz.gpg
/drbd/httpd/www/html/admin/modules/_cache/zulu-13.0.40.tgz.gpg
/drbd/httpd/www/html/admin/modules/_cache/zulu-13.0.41.tgz.gpg
/drbd/httpd/www/html/admin/modules/_cache/zulu-13.0.43.tgz.gpg
/drbd/httpd/www/html/admin/modules/_cache/zulu-13.0.47.4.tgz.gpg
/drbd/httpd/www/html/admin/modules/_cache/zulu-13.0.47.5.tgz.gpg
/drbd/mysql/asterisk/zulu_softphones.MYD
/drbd/mysql/asterisk/zulu_softphones.MYI
/drbd/mysql/asterisk/zulu_softphones.frm
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/LICENSE
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/Zulu.class.php
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/assets
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/functions.inc.php
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/i18n
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/includes
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/module.sig
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/module.xml
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/node
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/page.zulu.php
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/processor
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/tmp
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/views
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/assets/js
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/assets/js/zulu.js
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/i18n/zulu.pot
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/includes/zulu.extend.class.php
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/node/cert.pem
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/node/index.js
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/node/key.pem
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/node/lib
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/node/package.json
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/node/test.html
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/node/lib/utils.js
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/tmp/.gitignore
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/views/inbound_hook.php
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/views/main.php
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/views/ringgroups_hook.php
/usr/src/freepbx-13.0.101/amp_conf/htdocs/admin/modules/zulu/views/userman_hook.php

You are on an HA machine so be careful

/drbd/httpd/www/html/admin/modules/zulu doesn’t exist.

Then you’ve already removed Zulu.

Install of Zulu 13.0.49 fails.

Does UCP Node install?

Seems to be good.

Something is broken now.
Can’t even reinstall 13.0.47.5.

Yes something on your system is preventing a clean install. I am unable to reproduce this on several other installations at this time but I am still trying.

Please only work with 13.0.48

cd /drbd/httpd/www/html/admin/modules/zulu/node
node index.js

[[email protected] zulu]# cd /drbd/httpd/www/html/admin/modules/zulu/node
[[email protected] node]# node index.js
[2016-12-01 11:49:37.557] [TRACE] [default] - Entering Startup
[2016-12-01 11:49:37.559] [INFO] [default] - Starting Zulu 13.0.47.5…
[2016-12-01 11:49:37.559] [TRACE] [default] - Entering Bootstrap
[2016-12-01 11:49:37.582] [DEBUG] [default] - { AMPDBUSER: ‘freepbxuser’,
AMPDBPASS: ‘obfuscated’,
AMPDBHOST: ‘172.27.91.11’,
AMPDBNAME: ‘asterisk’,
AMPDBENGINE: ‘mysql’,
datasource: ‘’ }
[2016-12-01 11:49:37.584] [TRACE] [default] - Entering Connect2Database
[2016-12-01 11:49:37.599] [DEBUG] [default] - Connected to Databse
[2016-12-01 11:49:37.607] [TRACE] [default] - Entering Connect2AstMan
[2016-12-01 11:49:37.609] [INFO] [default] - Connected to Asterisk
[2016-12-01 11:49:37.609] [INFO] [default] - FreePBX is Ready!
[2016-12-01 11:49:37.609] [FATAL] [default] - Zulu is not enabled!