Mongodb failed after reboot on Raspberry Pi -


i've installed mongodb following install script on raspberry pi https://github.com/svvitale/mongo4pi/blob/master/install.sh. i've tested , got connection test database via mongo , worked well. i've rebooted raspberry (b) , noticed, mongod failed start on reboot. after tried start mongod manually got following error:

pi@raspberrypi /opt/mongo/bin $ ./mongod db level locking enabled: 1 ./mongod --help , startup options wed jul  1 23:26:44 wed jul  1 23:26:44 warning: 32-bit servers don't have journaling enabled default. please use --journal if want durability. wed jul  1 23:26:44 wed jul  1 23:26:44   assertion failure 5 == (int)(g.distance( , b ) ) src/mongo/db/geo/2d.cpp 3111 0x315e08 0x2015b4 0x393554 0x441d84 0x397f80 0x15c1d0 0xb6c7381c  ./mongod(_zn5mongo15printstacktraceerso+0x18) [0x315e08]  ./mongod(_zn5mongo12saydbcontextepkc+0xc4) [0x2015b4]  ./mongod(_zn5mongo12verifyfailedepkcs1_j+0x108) [0x393554]  ./mongod(_zn5mongo11geounittest3runev+0x3b84) [0x441d84]  ./mongod(_zn5mongo11startuptest8runtestsev+0x44) [0x397f80]  ./mongod(main+0x1f58) [0x15c1d0]  /lib/arm-linux-gnueabihf/libc.so.6(__libc_start_main+0x110) [0xb6c7381c] wed jul  1 23:26:44 terminate() called, printing stack (if implemented platform): 0x315e08 0x16f708 0xb6e92fb0 0xb6e92fb0 0xb6e92fb0 0xb6e92fb0 0xb6e92fb0 0xb6e92fb0 0xb6e92fb0 0xb6e92fb0 0xb6e92fb0 0xb6e92fb0 0xb6e92fb0 0xb6e92fb0 0xb6e92fb0 0xb6e92fb0 0xb6e92fb0 0xb6e92fb0 0xb6e92fb0 0xb6e92fb0  ./mongod(_zn5mongo15printstacktraceerso+0x18) [0x315e08]  ./mongod(_zn5mongo11myterminateev+0x40) [0x16f708]  /usr/lib/arm-linux-gnueabihf/libstdc++.so.6(+0x4efb0) [0xb6e92fb0]  /usr/lib/arm-linux-gnueabihf/libstdc++.so.6(+0x4efb0) [0xb6e92fb0]  /usr/lib/arm-linux-gnueabihf/libstdc++.so.6(+0x4efb0) [0xb6e92fb0]  /usr/lib/arm-linux-gnueabihf/libstdc++.so.6(+0x4efb0) [0xb6e92fb0]  /usr/lib/arm-linux-gnueabihf/libstdc++.so.6(+0x4efb0) [0xb6e92fb0]  /usr/lib/arm-linux-gnueabihf/libstdc++.so.6(+0x4efb0) [0xb6e92fb0]  /usr/lib/arm-linux-gnueabihf/libstdc++.so.6(+0x4efb0) [0xb6e92fb0]  /usr/lib/arm-linux-gnueabihf/libstdc++.so.6(+0x4efb0) [0xb6e92fb0]  /usr/lib/arm-linux-gnueabihf/libstdc++.so.6(+0x4efb0) [0xb6e92fb0]  /usr/lib/arm-linux-gnueabihf/libstdc++.so.6(+0x4efb0) [0xb6e92fb0]  /usr/lib/arm-linux-gnueabihf/libstdc++.so.6(+0x4efb0) [0xb6e92fb0]  /usr/lib/arm-linux-gnueabihf/libstdc++.so.6(+0x4efb0) [0xb6e92fb0]  /usr/lib/arm-linux-gnueabihf/libstdc++.so.6(+0x4efb0) [0xb6e92fb0]  /usr/lib/arm-linux-gnueabihf/libstdc++.so.6(+0x4efb0) [0xb6e92fb0]  /usr/lib/arm-linux-gnueabihf/libstdc++.so.6(+0x4efb0) [0xb6e92fb0]  /usr/lib/arm-linux-gnueabihf/libstdc++.so.6(+0x4efb0) [0xb6e92fb0]  /usr/lib/arm-linux-gnueabihf/libstdc++.so.6(+0x4efb0) [0xb6e92fb0]  /usr/lib/arm-linux-gnueabihf/libstdc++.so.6(+0x4efb0) [0xb6e92fb0] wed jul  1 23:26:44 got signal: 6 (aborted).  wed jul  1 23:26:44 backtrace: 0x315e08 0x1703bc 0xb6c89b20 0xb6c888dc  ./mongod(_zn5mongo15printstacktraceerso+0x18) [0x315e08]  ./mongod(_zn5mongo10abruptquitei+0x240) [0x1703bc]  /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0) [0xb6c89b20]  /lib/arm-linux-gnueabihf/libc.so.6(gsignal+0x40) [0xb6c888dc] 

do guys have idea went wrong during reboot?

thanks!

i had same issue , removing lock file /var/lib/mongodb/mongod.lock worked me


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -