Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

搭建完成,都没有报错,但是搜集不到数据,求解 #16

Closed
NuerSir opened this issue May 30, 2015 · 2 comments
Closed

搭建完成,都没有报错,但是搜集不到数据,求解 #16

NuerSir opened this issue May 30, 2015 · 2 comments

Comments

@NuerSir
Copy link

NuerSir commented May 30, 2015

pm2 logs返回如下,mongodb用的是2.6.10版本

_worker[3000]-0 (out):_ _##############################################################_
_worker[3000]-0 (out): #_
_worker[3000]-0 (out): # !!! MONGOOSE WARNING !!!_
_worker[3000]-0 (out): #_
_worker[3000]-0 (out): # This is an UNSTABLE release of Mongoose._
_worker[3000]-0 (out): # Unstable releases are available for preview/testing only._
_worker[3000]-0 (out): # DO NOT run this in production._
_worker[3000]-0 (out): #_
_worker[3000]-0 (out):_ _##############################################################_

mongodb.log返回如下:

_2015-05-31T00:25:43.449+0800 [conn2] end connection 127.0.0.1:35222 (19 connections now open)_
_2015-05-31T00:25:43.449+0800 [conn5] end connection 127.0.0.1:35225 (19 connections now open)_
...
_2015-05-31T00:25:44.132+0800 [initandlisten] connection accepted from 127.0.0.1:35251 #21 (1 connection now open)_
_2015-05-31T00:25:44.150+0800 [initandlisten] connection accepted from 127.0.0.1:35254 #22 (2 connections now open)_
...

运行一阵后tail log:

_==> /var/log/redis.log <==_
_1569:M 31 May 00:28:42.083 * 10 changes in 300 seconds. Saving..._
_1569:M 31 May 00:28:42.085 * Background saving started by pid 2948_
_2948:C 31 May 00:28:42.088 * DB saved on disk_
_2948:C 31 May 00:28:42.089 * RDB: 4 MB of memory used by copy-on-write_
_1569:M 31 May 00:28:42.185 * Background saving terminated with success_

_==> /home/local/mongodb/log/mongodb.log <==_
_2015-05-31T00:29:42.067+0800 [clientcursormon] mem (MB) res:82 virt:942_
_2015-05-31T00:29:42.067+0800 [clientcursormon] mapped (incl journal view):640_
_2015-05-31T00:29:42.067+0800 [clientcursormon] connections:20_

@NuerSir
Copy link
Author

NuerSir commented Jun 2, 2015

已解决,将addr的127.0.0.1改成0.0.0.0就可以了

@lock
Copy link

lock bot commented Dec 28, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant