xhan / qqbot

基于WebQQ协议的QQ机器人。命令行工具,Hubot支持!
MIT License
1.41k stars 383 forks source link

./main.coffee nologin 出错 #11

Closed liuxurong closed 10 years ago

liuxurong commented 10 years ago

[Wed Apr 02 2014 07:05:37 GMT+0800 (CST)] INFO skip login [Wed Apr 02 2014 07:05:37 GMT+0800 (CST)] DEBUG Loading Plugin help [Wed Apr 02 2014 07:05:37 GMT+0800 (CST)] DEBUG Loading Plugin debug [Wed Apr 02 2014 07:05:37 GMT+0800 (CST)] DEBUG Loading Plugin apiserver [Wed Apr 02 2014 07:05:37 GMT+0800 (CST)] INFO api server started at port 3000 [Wed Apr 02 2014 07:05:37 GMT+0800 (CST)] INFO fetching buddy list... [Wed Apr 02 2014 07:05:37 GMT+0800 (CST)] INFO fetching group list... [Wed Apr 02 2014 07:05:37 GMT+0800 (CST)] INFO fetching discuss group list [Wed Apr 02 2014 07:05:37 GMT+0800 (CST)] INFO update discuss group list

events.js:72 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE at errnoException (net.js:904:11) at Server._listen2 (net.js:1042:14) at listen (net.js:1064:10) at Server.listen (net.js:1138:5) at APIServer.create_server (/home/node/qqbot-master/plugins/apiserver.coffee:83:12) at APIServer.start (/home/node/qqbot-master/plugins/apiserver.coffee:65:21) at Object.exports.init (/home/node/qqbot-master/plugins/apiserver.coffee:159:14) at Dispatcher.reload_plugin (/home/node/qqbot-master/src/dispatcher.coffee:60:20) at new Dispatcher (/home/node/qqbot-master/src/dispatcher.coffee:20:8) at new QQBot (/home/node/qqbot-master/src/qqbot.coffee:33:25) at /home/node/qqbot-master/main.coffee:45:15 at get_tokens (/home/node/qqbot-master/main.coffee:37:5) at run (/home/node/qqbot-master/main.coffee:44:3) at Object. (/home/node/qqbot-master/main.coffee:54:1) at Object. (/home/node/qqbot-master/main.coffee:2:1) at Module._compile (module.js:456:26)

xhan commented 10 years ago
events.js:72
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE

端口占用了,确认下使用的端口。另外检查下配置文件里是否API服务和验证码服务使用了同一个接口