MongoDB on Ubuntu weird error ^?ELF^B^A^A -


i running mongodb on ubuntu server along nodejs application. reason following error in mongodb-log when start forever start /path/to/mongod:

/mongodb/mongodb-linux-x86_64-3.0.5/bin/mongod:1 (function (exports, require, module, __filename, __dirname) { ^?elf^b^a^a^  syntaxerror: unexpected token illegal @ module._compile (module.js:439:25) @ object.module._extensions..js (module.js:474:10) @ module.load (module.js:356:32) @ function.module._load (module.js:312:12) @ function.module.runmain (module.js:497:10) @ startup (node.js:119:16) @ node.js:902:3 error: forever detected script exited code: 8 

i removed mongodb directory , installed again, still same error.

thanks help

forever meant node.js-based modules. mongod binary (i.e. in elf format, file $(which mongod) verify yourself) , cannot handled forever.

what see forever trying use node start node module called mongoand failing compile js code (since reading elf header).

you have rely on system's init system regular daemons. start reading here how proceed.


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -