Gentoo Archives: gentoo-user

From: Ralf <ralf+gentoo@×××××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] dev-db/mongodb-2.6.[67] client fail
Date: Thu, 26 Feb 2015 15:02:35
Message-Id: 54EF3580.4030807@ramses-pyramidenbau.de
1 Hi folks,
2
3 I'm trying to run mongodb on my gentoo box.
4 So I emerged =dev-db/mongodb-2.6.7.
5
6 If I start the mongo cli client without the server running I get
7
8 $ mongo
9 127.0.0.1/asd
10 14
11 MongoDB shell version: 2.6.6
12 connecting to: 127.0.0.1/asd
13 2015-02-26T15:55:23.945+0100 warning: Failed to connect to
14 127.0.0.1:27017, reason: errno:111 Connection refused
15 2015-02-26T15:55:23.946+0100 Error: couldn't connect to server
16 127.0.0.1:27017 (127.0.0.1), connection attempt failed at
17 src/mongo/shell/mongo.js:148
18 exception: connect failed
19
20 as everyone would expect.
21 If I start the client with the server running I get:
22
23 MongoDB shell version: 2.6.6
24 connecting to: 127.0.0.1/asd
25 2015-02-26T15:56:22.488+0100 mongo got signal 11 (Segmentation
26 fault), stack trace:
27 2015-02-26T15:56:22.490+0100 0x7d1c99 0x5e4d09 0x7f3025a3eb00
28 0x9c1222 0xa31bd8 0xa31c14 0xa36fbe 0x9cf84b 0x9dac68 0x9db085
29 0x8787d0 0x99b4a8 0x937ebd 0x3ea764206362
30 mongo(_ZN5mongo15printStackTraceERSo+0x39) [0x7d1c99]
31 mongo(_Z12quitAbruptlyi+0x119) [0x5e4d09]
32 /lib64/libc.so.6(+0x33b00) [0x7f3025a3eb00]
33 mongo(_ZN2v88internal6String11WriteToFlatItEEvPS1_PT_ii+0x692)
34 [0x9c1222]
35 mongo(_ZN2v88internal33GenericStringUtf16CharacterStream10FillBufferEjj+0x38)
36 [0xa31bd8]
37 mongo(_ZN2v88internal28BufferedUtf16CharacterStream9ReadBlockEv+0x34)
38 [0xa31c14]
39 mongo(_ZN2v88internal7Scanner10InitializeEPNS0_20Utf16CharacterStreamE+0x5e)
40 [0xa36fbe]
41 mongo(_ZN2v88internal6Parser9ParseLazyEPNS0_20Utf16CharacterStreamEPNS0_9ZoneScopeE+0x3b)
42 [0x9cf84b]
43 mongo(_ZN2v88internal6Parser9ParseLazyEv+0x158) [0x9dac68]
44 mongo(_ZN2v88internal9ParserApi5ParseEPNS0_15CompilationInfoEi+0x205)
45 [0x9db085]
46 mongo(_ZN2v88internal8Compiler11CompileLazyEPNS0_15CompilationInfoE+0xf0)
47 [0x8787d0]
48 mongo(_ZN2v88internal10JSFunction11CompileLazyENS0_6HandleIS1_EENS0_18ClearExceptionFlagE+0x1a8)
49 [0x99b4a8]
50 mongo(_ZN2v88internal11CallIC_MissENS0_9ArgumentsEPNS0_7IsolateE+0x27d)
51 [0x937ebd]
52 [0x3ea764206362]
53
54 Boom. This problem applies to mongo 2.6.6 and mongo 2.6.7.
55
56 Anyone having the same issues with mongodb?
57 And anyone any suggestions how this can be fixed?
58
59 The server *seems* to run fine.
60
61 Cheers
62 Ralf