Comments (6)
1.log很长一串不换行
log每行最多一条,你说的很长应该是错误信息本身长吧?或则你贴出来看看
2.node startup之后停在 Starting PM2 daemon,没有log,排查困难
这个问题应该是pm2的问题,AntColony还没有启动,自然没有办法记录log,你可以看看pm2 logs有没有记录(另外注意下pm2的版本)
from antcolony.
log删了,之后运行再没出现log了,是装的部署说明里的那个版本的pm2,我再换个机器试试吧,那个上面装的东西有点多
from antcolony.
可以了,应该是pm2的问题,装了最新版本的Pm2,用的是pm2命令行的启动方式
也可能是之前mongo或者redis配置不当,pm2 logs没有内容
from antcolony.
2015-04-18T12:44:42.739Z - error: uncaughtException: ERR wrong number of arguments for 'lpush' command date=Sat Apr 18 2015 08:44:42 GMT-0400 (EDT), pid=16499, uid=0, gid=0, cwd=/opt/antcolony, execPath=/usr/local/bin/node, version=v0.10.32, argv=[node, /opt/antcolony/src/queen.js, worker, 3000], rss=41279488, heapTotal=30107392, heapUsed=13004416, loadavg=[0.00439453125, 0.0576171875, 0.107421875], uptime=29164.958502573, trace=[column=31, file=/opt/antcolony/node_modules/redis/index.js, function=, line=317, method=null, native=false, column=17, file=events.js, function=ReplyParser.emit, line=95, method=emit, native=false, column=10, file=/opt/antcolony/node_modules/redis/lib/parser/javascript.js, function=ReplyParser.send_error, line=296, method=send_error, native=false, column=22, file=/opt/antcolony/node_modules/redis/lib/parser/javascript.js, function=ReplyParser.execute, line=181, method=execute, native=false, column=27, file=/opt/antcolony/node_modules/redis/index.js, function=RedisClient.on_data, line=547, method=on_data, native=false, column=14, file=/opt/antcolony/node_modules/redis/index.js, function=, line=102, method=null, native=false, column=17, file=events.js, function=Socket.emit, line=95, method=emit, native=false, column=14, file=_stream_readable.js, function=, line=764, method=null, native=false, column=17, file=events.js, function=Socket.emit, line=92, method=emit, native=false, column=10, file=_stream_readable.js, function=emitReadable_, line=426, method=null, native=false], stack=[Error: ERR wrong number of arguments for 'lpush' command, at ReplyParser.<anonymous> (/opt/antcolony/node_modules/redis/index.js:317:31), at ReplyParser.emit (events.js:95:17), at ReplyParser.send_error (/opt/antcolony/node_modules/redis/lib/parser/javascript.js:296:10), at ReplyParser.execute (/opt/antcolony/node_modules/redis/lib/parser/javascript.js:181:22), at RedisClient.on_data (/opt/antcolony/node_modules/redis/index.js:547:27), at Socket.<anonymous> (/opt/antcolony/node_modules/redis/index.js:102:14), at Socket.emit (events.js:95:17), at Socket.<anonymous> (_stream_readable.js:764:14), at Socket.emit (events.js:92:17), at emitReadable_ (_stream_readable.js:426:10)]
又有log了,这样的格式基本没办法看,我看你是用的winston,log格式可以调整么?
from antcolony.
应该是可以的,这两天没空,回头看看。
from antcolony.
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.
from antcolony.
Related Issues (20)
- MongoDB log 连接上 但写不入数据库 HOT 3
- 目前代码生成后,elasticsearch是每天手动更新还是自动更新的, HOT 2
- worker 系统设置是4个,我自己手工增加到10个,能否有快捷命令增加数量 HOT 2
- MongoDB River Plugin for ElasticSearch HOT 4
- 搭建完成,都没有报错,但是搜集不到数据,求解 HOT 2
- 文件读取优化
- redis数据库没有infohash,什么原因 HOT 4
- mac 系统,最新版本的操作系统,普通用户 HOT 3
- mac os error HOT 3
- 没有数据 HOT 13
- Error: Expect "max_memory_restart" HOT 3
- 搭建成功,可以跑到infohash 但是无法下载 HOT 2
- 找到了torrent下载源 HOT 2
- 等了半天也没见有数据 HOT 6
- 是必须有公网IP的服务器上才会有数据吗? HOT 2
- 自己写搜索引擎 还是写爬虫爬别人的网站 HOT 2
- 可以提供一个docker镜像吗? HOT 1
- 【合作】请好,请问找磁力可以商务合作嘛,收益很可观,服务器这边的费用完全可以承受
- 本地编译失败 HOT 2
- 报错 Error: Expect "max_memory_restart" to be a typeof [object String] / [object Number], but now is [object Object]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from antcolony.