@vinjdw @Marc-Boisvert-Dupras Keep in mind Kerberos authentication is default off, so if the module does not compile, this does not stop MongoDB (or NodeBB) from functioning correctly.
Error: SELF_SIGNED_CERT_IN_CHAIN
-
@Steve hey is there any guide available about install nodebb oncentos?
and the following is my trouble
ERR! Error: SELF_SIGNED_CERT_IN_CHAIN
npm ERR! at SecurePair.<anonymous> (tls.js:1362:32)
npm ERR! at SecurePair.EventEmitter.emit (events.js:92:17)
npm ERR! at SecurePair.maybeInitFinished (tls.js:974:10)
npm ERR! at CleartextStream.read [as _read] (tls.js:462:15)
npm ERR! at CleartextStream.Readable.read (_stream_readable.js:320:10)
npm ERR! at EncryptedStream.write [as _write] (tls.js:366:25)
npm ERR! at doWrite (_stream_writable.js:221:10)
npm ERR! at writeOrBuffer (_stream_writable.js:211:5)
npm ERR! at EncryptedStream.Writable.write (_stream_writable.js:180:11)
npm ERR! at write (_stream_readable.js:583:24)
npm ERR! at flow (_stream_readable.js:592:7)
npm ERR! at Socket.pipeOnReadable (_stream_readable.js:624:5)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! npm-@googlegroups.comnpm ERR! System Linux 2.6.32-358.el6.i686
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /root/mynodebb
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.14 -
Looks to be a npm problem, try the solution outlined here: http://community.nodebb.org/topic/951/help-i-ve-broken-my-nodebb-install-npm-self-signed-certificate-issue-solved#6848
Or
npm install -g npm
-
Best solution to this npm issue is;
sudo npm config set ca ""
then
sudo npm config set strict-ssl false sudo npm update npm -g sudo npm config set strict-ssl true
all should work normally after that.
-
@Sp4rkR4t oh yeah install successfully
but setup failed
Which database to use (redis)
Host IP or address of your Redis instance (127.0.0.1)
Host port of your Redis instance (6379)
Password of your Redis database
Which database to use (0..n) (0)
info: Configuration Saved OK
warn: You have no redis password setup!
info: Populating database with default configs, if not already set...
error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED
warn: NodeBB Setup Aborted.
-
edis connection to 127.0.0.1:6379 failed - connect ECONNRE
@Sp4rkR4t need i run "redis-server" first?
-
Redis should be installed as a service.
-
@sunqi yes you need to install & set up redis-server first.
-
info: Initializing NodeBB v0.3.1, using redis store at 127.0.0.1:6379.
warn: You have no redis password setup!
info: Using ports 80 and 443 is not recommend; use a proxy instead. See README.md
warn: [init] Cache buster not set
warn: [plugins/nodebb-theme-cerulean] staticDir is deprecated, use staticDirs instead
info: NodeBB attempting to listen on: 0.0.0.0:80
info: NodeBB Ready
info: No changes to client-side libraries -- skipping minificationseems that nodebb is running but i can't get access actually
-
From that it does seem to be running, but why have you set the node app to run on port 80?
-
0.0.0.0:80
Try setting that to your public IP so its listening on an actual device. Im not sure if 0.0.0.0 means listening on all interfaces or not like you'd expect from other linux/unix applications.
-
I believe 0.0.0.0 implies any IP address.
-
When i install redis-server there are two errors (tcl is old) after running make test but i ignore these notification
Do i have to update Tcl ? -
@Sp4rkR4t someone says that centos just open 22 port in default ,if NodeBB attempting to listen on port 4567,i will can't get access externally..
I don't know if this is true -
@sunqi, you'll have to look into iptables configuration for CentOS. Not sure if it is enabled by default.