Package: mongodb-clients
Version: 2.4.10-1+b1

I've installed Debian 7 armHF for UDOO, then I added the debian testing and
unstable repos to be able to install mongodb. The packages I installed was
mongodb, mongodb-dev, mongodb-server and mongodb-clients (all the same
version).

In the first terminal I started `mongod`:

debian@udoo-debian-hfp:~$ mongod
mongod --help for help and startup options
Sat Jun 21 11:53:34.714
Sat Jun 21 11:53:34.715 warning: 32-bit servers don't have journaling
enabled by default. Please use --journal if you want durability.
Sat Jun 21 11:53:34.715
Sat Jun 21 11:53:34.752 [initandlisten] MongoDB starting : pid=7675
port=27017 dbpath=/data/db/ 32-bit host=udoo-debian-hfp
Sat Jun 21 11:53:34.752 [initandlisten]
Sat Jun 21 11:53:34.753 [initandlisten] ** NOTE: This is a 32 bit MongoDB
binary.
Sat Jun 21 11:53:34.753 [initandlisten] **       32 bit builds are limited
to less than 2GB of data (or less with --journal).
Sat Jun 21 11:53:34.753 [initandlisten] **       Note that journaling
defaults to off for 32 bit and is currently off.
Sat Jun 21 11:53:34.753 [initandlisten] **       See
http://dochub.mongodb.org/core/32bit
Sat Jun 21 11:53:34.754 [initandlisten]
Sat Jun 21 11:53:34.754 [initandlisten] db version v2.4.10
Sat Jun 21 11:53:34.755 [initandlisten] git version: nogitversion
Sat Jun 21 11:53:34.755 [initandlisten] build info: Linux howells
3.2.0-4-mx5 #1 Debian 3.2.57-3+deb7u1 armv7l BOOST_LIB_VERSION=1_55
Sat Jun 21 11:53:34.755 [initandlisten] allocator: system
Sat Jun 21 11:53:34.755 [initandlisten] options: {}
Sat Jun 21 11:53:34.825 [websvr] admin web console waiting for connections
on port 28017
Sat Jun 21 11:53:34.825 [initandlisten] waiting for connections on port
27017

In the second terminal, I then start `mongo`:

debian@udoo-debian-hfp:~$ mongo
MongoDB shell version: 2.4.10
connecting to: test
Sat Jun 21 11:52:51.114 Error: couldn't connect to server 127.0.0.1:27017
at src/mongo/shell/mongo.js:145
exception: connect failed

So I'm not able to connect to localhost using `mongo`. Specifying
127.0.0.1, localhost or the IP on the local LAN doesn't work either.
However, I've set up a dynamic dns alias for the device, and if I use that,
it works.

So it seems to be an issue with mongo realizing that it is connecting to
localhost and trying to use some other method of connecting to the server
(sockets?).

I were using a clean Debian 7 armHF for UDOO install on my UDOO quad
device. I gave up on mongodb for now and installed another OS to see if
that helps, so unfortunately I can't give more specific kernel versions etc.

See also https://github.com/meteor/meteor/issues/442

Jostein

Reply via email to