Hi @gotwf
- mongo, nginx, nodebb are up and running
- Yep I left defaultlocalhost and port for mongo
- Yes I can connect by nodebb user I used Robo 3t app
Here is what you asked to show:
$ netstat -na | grep -i listen| grep 27017
tcp 0 0 127.0.0.1:27017 0.0.0.0:* LISTEN
unix 2 [ ACC ] STREAM LISTENING 67480 /tmp/mongodb-27017.sock
$ netstat -na | grep 4567
tcp 0 0 0.0.0.0:4567 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:51200 127.0.0.1:4567 ESTABLISHED
tcp 0 0 127.0.0.1:4567 127.0.0.1:51190 TIME_WAIT
tcp 0 0 127.0.0.1:4567 127.0.0.1:51196 TIME_WAIT
tcp 0 0 127.0.0.1:4567 127.0.0.1:51192 TIME_WAIT
tcp 0 0 127.0.0.1:4567 127.0.0.1:51186 TIME_WAIT
tcp 0 0 127.0.0.1:4567 127.0.0.1:51194 TIME_WAIT
tcp 0 0 127.0.0.1:4567 127.0.0.1:51200 ESTABLISHED
tcp 0 0 127.0.0.1:4567 127.0.0.1:51184 TIME_WAIT
tcp 0 0 127.0.0.1:4567 127.0.0.1:51198 TIME_WAIT
$ ./nodebb -l start
Starting NodeBB with logging output
Hit Ctrl-C to exit
The NodeBB process will continue to run in the background
Use "./nodebb stop" to stop the NodeBB server
2020-07-11T22:15:19.667Z [4567/2725] - info: Routes added
2020-07-11T22:15:19.669Z [4567/2725] - info: NodeBB Ready
2020-07-11T22:15:19.670Z [4567/2725] - info: Enabling 'trust proxy'
2020-07-11T22:15:19.673Z [4567/2725] - info: NodeBB is now listening on: 0.0.0.0:4567
2020-07-12T11:09:05.195Z [4567/2725] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
2020-07-12T11:09:05.197Z [4567/2725] - info: [app] Web server closed to connections.
2020-07-12T11:09:05.198Z [4567/2725] - info: [app] Live analytics saved.
2020-07-12T11:09:05.205Z [4567/2725] - info: [app] Database connection closed.
2020-07-12T11:09:05.211Z [4567/2725] - info: [app] Shutdown complete.
[cluster] Child Process (2725) has exited (code: 0, signal: null)
NodeBB v1.14.1 Copyright (C) 2013-2014 NodeBB Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under certain conditions.
For the full license, please visit: http://www.gnu.org/copyleft/gpl.html
Clustering enabled: Spinning up 1 process(es).
2020-07-12T11:09:08.931Z [4567/7317] - info: Initializing NodeBB v1.14.1 http://forum.example.com
2020-07-12T11:09:11.883Z [4567/7317] - info: [socket.io] Restricting access to origin: http://forum.example.com:*
2020-07-12T11:09:12.325Z [4567/7317] - error: [plugins] Error executing 'static:app.load' in plugin 'nodebb-plugin-emoji'
2020-07-12T11:09:12.325Z [4567/7317] - error: Error: EACCES: permission denied, unlink '/var/www/nodebb/node_modules/nodebb-plugin-emoji/build/emoji/aliases.json'
2020-07-12T11:09:12.358Z [4567/7317] - info: Routes added
2020-07-12T11:09:12.361Z [4567/7317] - info: NodeBB Ready
2020-07-12T11:09:12.363Z [4567/7317] - info: Enabling 'trust proxy'
2020-07-12T11:09:12.365Z [4567/7317] - info: NodeBB is now listening on: 0.0.0.0:4567
Rechecking what is hapenning on port 27017 after ./nodebb -l start:
netstat -na | grep 27017
tcp 0 0 127.0.0.1:27017 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:27017 127.0.0.1:55190 ESTABLISHED
tcp 0 0 127.0.0.1:55114 127.0.0.1:27017 ESTABLISHED
tcp 0 0 127.0.0.1:27017 127.0.0.1:55188 ESTABLISHED
tcp 0 0 127.0.0.1:55106 127.0.0.1:27017 ESTABLISHED
tcp 0 0 127.0.0.1:55188 127.0.0.1:27017 ESTABLISHED
tcp 0 0 127.0.0.1:27017 127.0.0.1:55106 ESTABLISHED
tcp 0 0 127.0.0.1:27017 127.0.0.1:55114 ESTABLISHED
tcp 0 0 127.0.0.1:55190 127.0.0.1:27017 ESTABLISHED
unix 2 [ ACC ] STREAM LISTENING 67480 /tmp/mongodb-27017.sock