Can't start UCP Node

UCP node not running and I can’t start it on an HA system via fwconsole start ucpnode.
Starting UCP Server…
[--------------->------------] 10 secs
The process did not stay running. Please check the logs at /var/log/asterisk/ucp_err.log[[email protected] log]#

/ucp_err.log:

/drbd/httpd/www/html/admin/modules/ucpnode/node/lib/freepbx.js:81
throw “There was an error with MySQL Connection”;
^
There was an error with MySQL Connection

/drbd/httpd/www/html/admin/modules/ucpnode/node/lib/server.js:137
if (serverS.address()) {
^
TypeError: Cannot call method ‘address’ of null
at stop (/drbd/httpd/www/html/admin/modules/ucpnode/node/lib/server.js:137:14)
at EventEmitter. (/drbd/httpd/www/html/admin/modules/ucpnode/node/lib/server.js:93:4)
at EventEmitter.emit (events.js:117:20)
at Socket.emit (events.js:95:17)
at TCP.close (net.js:466:12)
Unable to connect to asterisk!

/drbd/httpd/www/html/admin/modules/ucpnode/node/lib/server.js:137
if (serverS.address()) {
^
TypeError: Cannot call method ‘address’ of null
at stop (/drbd/httpd/www/html/admin/modules/ucpnode/node/lib/server.js:137:14)
at EventEmitter. (/drbd/httpd/www/html/admin/modules/ucpnode/node/lib/server.js:93:4)
at EventEmitter.emit (events.js:117:20)
at Socket.emit (events.js:95:17)
at TCP.close (net.js:466:12)
{ [Error: Disconnected from the server] code: 10001 }
{ [Error: Disconnected from the server] code: 10001 }
{ [Error: DisconnectedcreateCredentials() is deprecated, use tls.createSecureContext instead
{ [Error: MySQL server has gone away] code: 2006 }

/drbd/httpd/www/html/admin/modules/ucpnode/node/lib/freepbx.js:94
throw “There was an error with MySQL Connection”;
^
There was an error with MySQL Connection
createCredentials() is deprecated, use tls.createSecureContext instead
{ [Error: MySQL server has gone away] code: 2006 }

Too many errors. Not sure which one is valid. You should clear those logs then try to start it and then post an error.

Cleared the logs via > /var/log/asterisk/ucp_err.log, but nothing new gets logged in ucp_err.log when doing fwconsole start ucpnode.

[[email protected] asterisk]# fwconsole start ucpnode
Running FreePBX startup…
Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting Permissions…
Collecting Files…Done
6726/6726 [============================] 100%
Finished setting permissions
Unable to run Pre-Asterisk hooks, because Asterisk is already running on PID 131321 and has been running for 12 hours, 32 minutes, 10 seconds
Starting UCP Server…
[--------------->------------] 10 secs
The process did not stay running. Please check the logs at /var/log/asterisk/ucp_err.log

ucp_out.log ucp_forever.log ucp_err.log

Cleared those logs, run the command[quote=“tm1000, post:4, topic:39775, full:true”]
ucp_out.log ucp_forever.log ucp_err.log
[/quote]

Cleared those logs, then ran fwconsole start ucpnode, but the log files stay empty.

fwconsole stop ucpnode
fwconsole start ucpnode

If that doesnt work then just

fwconsole ma remove ucpnode

Yes. Just remove it. You can’t get it to work so there’s no need for it.