docpad + mongodb错误:无法连接到[undefined:27017]

时间:2013-05-26 02:29:57

标签: mongodb docpad

$ docpad run
warning: Skipped the unsupported plugin: mongoose-validate due to engine
info: Welcome to DocPad v6.35.0
info: Plugins: cleanurls, coffeescript, eco, livereload, marked, partials, stylus, text
info: Environment: development
info: DocPad listening to http://localhost:3001/ on directory /home/dennis/github/example.com/out
info: LiveReload listening to new socket on channel /docpad-livereload with log level 1
Currently on writeFiles at 127/127 100% =================================================Warning: Task "min concat cssmin" not found. Use --force to continue.

Aborted due to warnings.
info: Generating...
error: An error occured: 
Error: failed to connect to [undefined:27017]
    at null.<anonymous> (/home/dennis/github/example.com/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:604:74)
    at EventEmitter.emit (events.js:108:17)
    at null.<anonymous> (/home/dennis/github/example.com/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:139:15)
    at EventEmitter.emit (events.js:100:17)
    at Socket.<anonymous> (/home/dennis/github/example.com/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection.js:476:10)
    at Socket.EventEmitter.emit (events.js:97:17)
    at net.js:874:16
    at process._tickDomainCallback (node.js:459:13)

MongoDB正在运行。我也尝试删除MongoDB的锁文件,运行修复,并重启MongoDB但没有运气。知道如何解决这个问题吗?

0 个答案:

没有答案