Closed PascualArroyo closed 11 years ago
Can you post the output of the mongodb logs? That should tell us why it failed.
You can find the log in:
/var/log/mongodb/mongodb.log
thanks for the help already works
first run "mongod" then "node heimcontrol.js"
You're right, i forgot that in the installation tutorial. I have added it now.
When running "node heimcontrol.js" the following error occurs "Failed to connect to MongoDB: Error: failed to connect to [127.0.0.1:27017]"
I followed the tutorial to complete but not working.
I installed mongopi as you indicate in the tutorial. You know you can be?
pi@RaspberryPi ~/heimcontrol.js $ sudo service mongodb start [FAIL] Starting database: mongodb failed! pi@RaspberryPi ~/heimcontrol.js $
pi@RaspberryPi ~/heimcontrol.js $ mongo MongoDB shell version: 2.1.1 connecting to: test Mon Aug 12 18:10:55 Error: couldn't connect to server 127.0.0.1:27017 src/mongo/shell/mongo.js:91 exception: connect failed