ni-c / heimcontrol.js

Home-Automation with node.js and Raspberry PI
MIT License
1.41k stars 297 forks source link

Can't find opt/mongo/bin/mongod #25

Closed estock closed 10 years ago

estock commented 10 years ago

I tried following the instructions verbatim on a clean weezy install. After all is said and done when I try to start mongo I get the following error

Could not find /opt/mongo/bin/mongod

indeed there is no such file. Do you have any idea what I'm missing? I've tried it multiple times.

estock commented 10 years ago

I was able to get it to start by changing a line in the gist file ... from /opt/mongo/bin/mongod to /mongopi/mongod

ni-c commented 10 years ago

Hey,

/mongopi/mongod is the default installation directory of MongoDB. MongoDB is installed there if you do not give the scons --prefix parameter.

sudo scons --prefix=/opt/mongo install

Regards,

ni-c