indexzero/forever — Issue #148: running MongoDB with Forever
Author: geddesign
Created: 2011-10-20 20:20:44+00:00
State: open

I'm trying to run MongoDB with Forever. I can run mongo by itself with the following command:
` /usr/local/bin/mongodb-linux-x86_64-2.0.0/bin/mongod` and it works great. But when I try to run with forever:
`forever start /usr/local/bin/mongodb-linux-x86_64-2.0.0/bin/mongo` it doesn't work.
Here's the error I see in the forever log:

```
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
SyntaxError: Unexpected token ILLEGAL
at Module._compile (module.js:397:25)
at Object..js (module.js:408:10)
at Module.load (module.js:334:31)
at Function._load (module.js:293:12)
at Array. (module.js:421:10)
at EventEmitter._tickCallback (node.js:126:26)
warn: Forever detected script exited with code: 1
```

Any idea what I may be doing wrong?