XMPP Not running

on my dashboard it says Xmpp is Not running
XMPP Version
uninstalling and reinstalling from GUI not resolving it
when I do a fwconsole restart I get the following error

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

Core FastAGI Server is not running
Stopping RestApps Server
Stopped RestApps Server
Stopping UCP Node Server
[>---------------------------] < 1 sec
Stopped UCP Node Server
Chat Server is not running
Stopping Zulu Server
Stopped Zulu Server
Shutting down Asterisk Gracefully. Will forcefully kill after 30 seconds.
Press C to Cancel
Press N to shut down NOW
[============================] 3 secs
Wanrouter: No valid Sangoma Hardware found, if you have no Sangoma cards this is OK
Stopping DAHDi for Digium Cards
DAHDi Stopped
Queue Callback Server is not running
Queue Callback Event Server is not running
Running FreePBX startup…
Running Asterisk pre from Dahdiconfig module
Wanrouter: No valid Sangoma Hardware found, if you have no Sangoma cards this is OK
Starting DAHDi for Digium Cards
DAHDi Started
Running Asterisk pre from Firewall module
Running Asterisk pre from Sysadmin module
Running Sysadmin Hooks
Restarting fail2ban
fail2ban Restarted
Updating License Information for 19971868
Checking Vpn server
Starting Asterisk…
[============================] 7 secs
Asterisk Started
Running Asterisk post from Core module
Running Asterisk post from Dahdiconfig module
Running Asterisk post from Endpoint module
Running Asterisk post from Pagingpro module
Running Asterisk post from Restapps module
Starting RestApps Server…

Broadcast message from [email protected] (Mon Oct 14 21:56:42 2019):

Firewall service now starting.

[>---------------------------] < 1 sec
Started RestApps Server. PID is 5886
Running Asterisk post from Ucp module
Starting UCP Node Server…
[>---------------------------] 1 sec
Started UCP Node Server. PID is 6222
Running Asterisk post from Vqplus module
Queues Pro is not licensed.
Running Asterisk post from Xmpp module
[>---------------------------] < 1 secResetting PBX Users Failed: The command “node /var/www/html/admin/modules/xmpp/node/resetpbxusers.js” failed.

Exit Code: 1(General error)

Working directory: /root


Error Output:

throw err
MongoError: failed to connect to server [localhost:27017] on first connect [MongoError: connect ECONNREFUSED]
at Pool. (/var/www/html/admin/modules/xmpp/node/node_modules/mongodb-core/lib/topologies/server.js:336:35)
at emitOne (events.js:116:13)
at Pool.emit (events.js:211:7)
at Connection. (/var/www/html/admin/modules/xmpp/node/node_modules/mongodb-core/lib/connection/pool.js:280:12)
at Object.onceWrapper (events.js:317:30)
at emitTwo (events.js:126:13)
at Connection.emit (events.js:214:7)
at Socket. (/var/www/html/admin/modules/xmpp/node/node_modules/mongodb-core/lib/connection/connection.js:189:49)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at emitErrorNT (internal/streams/destroy.js:64:8)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)

Running Asterisk post from Zulu module
Starting Zulu Server…
[>---------------------------] 1 sec
Started Zulu Server. PID is 6581
[[email protected] ~]#

Looks like you need to start, or install and then start, mongodb.

how do I do that

[[email protected] ~]# service mongod start
Redirecting to /bin/systemctl start mongod.service
Job for mongod.service failed because the control process exited with error code. See “systemctl status mongod.service” and “journalctl -xe” for details.

there was no update for the Xmpp module, but there were a few updates for commercial and standard modules, after running the module updates from the GUI and running fwconsole restart from the CLI the Xmpp error went away

update 10/31/19 the problem eventually returned

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.