<     May 2017     >
Su Mo Tu We Th Fr Sa  
    1  2  3  4  5  6  
 7  8  9 10 11 12 13  
14 15 16 17 18 19 20  
21 22 23 24 25 26 27  
28 29 30 31
00:03 harry1 joined
01:00 raspado joined
01:07 Gwayne joined
01:15 michaeldgagnon joined
01:59 compeman joined
02:04 threee joined
02:08 threee joined
02:08 threee joined
02:17 threee joined
02:17 threee joined
02:18 threee joined
02:25 raspado joined
02:26 threee joined
02:32 SpeakerToMeat joined
02:50 mdorenka joined
02:52 joshontheweb joined
03:41 culthero joined
04:30 auzty joined
04:44 freddy_ joined
05:08 tildes joined
05:30 freddy_ joined
05:42 tildes joined
05:44 igniting joined
05:48 lpin joined
05:58 druonysus joined
06:11 <cornfeedhobo> so, for a replicaSet, the admin user must be created before the server is started with replSet??
06:14 schlitzer joined
06:15 slajax joined
06:24 slajax_ joined
06:26 raspado joined
06:43 _jd joined
06:48 jri joined
07:09 Lujeni joined
07:14 klics joined
07:35 Folkol joined
07:41 culthero joined
07:43 FatNoLife joined
07:51 YoY joined
07:52 evil_gordita joined
08:05 Keverw joined
08:08 artok joined
08:27 yeitijem joined
08:31 freddy_ joined
08:34 m0nk3h joined
08:41 goldfish joined
08:48 Folkol joined
08:49 sz0 joined
08:51 compeman joined
09:01 rendar joined
09:04 ams__ joined
09:14 lpin joined
09:19 preludedrew joined
09:26 Liara- joined
09:33 goldfish joined
09:48 culthero joined
10:03 kedare joined
10:03 <kedare> Hi all
10:03 <kedare> Small question, I've seen this change in recent MongoDB version : https://jira.mongodb.org/browse/SERVER-28014
10:03 <kedare> Is there a way to disable this logging ?
10:04 <kedare> I need to use preferSSL for my cluster to work but my clients doesn't support SSL connections so it's spamming in the logs
10:06 thunfisch joined
10:07 <kedare> I can see this in the source code : sslGlobalParams.disableNonSSLConnectionLogging
10:07 <kedare> But I've no idea of where I'm supposed to set that
10:07 <kedare> in the ssl part of the configuration ?
10:14 <Derick> can't find that in the docs...
10:15 <Derick> code indidates you can set it on the command line with "--setParameter disableNonSSLConnectionLogging=true" as argument to mongod
10:16 <kedare> Yes that's the thing there's nothing in the documentation about that, just the code
10:17 <kedare> I'll try to set it in the ssl: part of the yaml file, I don't know if it's gonna work
10:17 <Derick> try it as
10:17 <Derick> sslGlobalParams:
10:17 <Derick> disableNonSSLConnectionLogging=true
10:17 <Derick> too
10:17 <kedare> in ssl: ?
10:17 <Derick> both :-)
10:17 <kedare> Ok xD
10:18 michaeldgagnon joined
10:19 <kedare> Not that at first: Unrecognized option: net.ssl.disableNonSSLConnectionLogging
10:20 <Derick> you need the sslGlobalsParms: as toplevel, I think
10:20 <Derick> as I wrote at 11:17
10:21 <kedare> I tried that too : Unrecognized option: sslGlobalParams
10:22 <Derick> yeah, I think you might need it as command line argument
10:22 <kedare> Or: Unrecognized option: sslGlobalParams.disableNonSSLConnectionLogging (When not using the "=" but the standard yaml: true)
10:22 <kedare> Hmm ok
10:23 <kedare> It's weird that there's no way to use it in the configuration file
10:23 <kedare> (I mean if it's the case, this should be added in future versions)
10:25 <kedare> I'm gonna try with the command parameter when modifying the systemd service
10:25 <kedare> Thanks :)
10:25 <Derick> np!
10:25 <Derick> I think it's not a setting we like to recommend
10:26 jri joined
10:28 <kedare> I only use it because my client doesn't support SSL but my cluster needs it :)
10:28 raspado joined
10:49 compeman joined
11:10 auzty joined
12:07 RickDeckard joined
12:25 kexmex joined
12:39 blizzow joined
12:43 freddy_ joined
12:49 michaeldgagnon joined
12:54 yeitijem joined
12:55 jri joined
12:56 edrocks joined
13:06 klics joined
13:12 edrocks joined
13:23 Liara- joined
13:27 Lujeni joined
13:37 gentunian joined
13:37 Folkol joined
13:41 klics joined
13:51 compeman joined
13:57 kexmex joined
14:00 geoffb joined
14:10 beauvolio joined
14:12 amosbird joined
14:12 <amosbird> hello
14:12 <amosbird> how can I start mongo as a damone
14:12 <amosbird> daemon
14:21 Diggsey joined
14:23 <hal-j> amosbird: I think you're looking for —fork
14:23 drapetomaniac joined
14:24 <hal-j> https://docs.mongodb.com/manual/reference/program/mongod/#cmdoption-filepermissions
14:28 Necro|senseless joined
14:31 igniting joined
14:32 <amosbird> thanks
14:34 threee joined
14:36 michaeldgagnon joined
14:36 michaeldgagnon joined
14:40 compeman joined
14:42 TheFuzzball joined
14:43 Necromantic joined
14:47 Folkol joined
14:57 <cornfeedhobo> hello
14:58 <cornfeedhobo> can someone tell me: does/can each node have a different "admin" username and password?? i see that it's in a "local" database, but not sure how that effects replicaSets
14:59 Necromantic joined
15:09 AvianFlu joined
15:09 raspado joined
15:11 culthero joined
15:28 culthero_ joined
15:36 ssarah joined
15:44 Ironhand joined
15:45 <Ironhand> hello, I'm following the documented procedure to change the size of the oplog: https://docs.mongodb.com/v3.2/tutorial/change-oplog-size/
15:46 <Ironhand> unfortunately, when creating the new oplog, I get the error "not authorized on local to execute command { create: \"oplog.rs\", capped: true, [...]" etc
15:46 artok joined
15:47 svm_invictvs joined
15:47 <Ironhand> the procedure went fine on a secondary, but performing it on the primary (after a stepdown ofc), the above happened
15:48 <Ironhand> any clue what might cause this? or alternatively, is it safe to restart mongod in this state (i.e. no oplog collection) to disable auth in the config?
15:50 compeman joined
15:53 compeman joined
16:03 orbyt_ joined
16:03 threee joined
16:04 svm_invictvs joined
16:06 davidmichaelkarr joined
16:08 threee joined
16:16 lpin joined
16:20 <Ironhand> unfortunately, even after restarting with auth disabled (and confirmed it's off in the log), I get a "not authorized" message trying to create the oplog
16:20 <Ironhand> any ideas how I might try to diagnose why I'm getting this message despite authorization being disabled?
16:25 sergeyt joined
16:29 tildes joined
16:42 re1 joined
16:50 <threee> where can I find some real world data modeling examples with mongodb?
16:53 SkyRocknRoll joined
16:56 eugenmayer joined
16:57 <eugenmayer> hello. is _id to be expected to be a primary key?
16:58 <eugenmayer> i guess so http://stackoverflow.com/a/9694625/3625317
17:04 culthero joined
17:13 svm_invictvs joined
17:13 <Ironhand> my problem above was fixed after downgrading from 3.2.12 to 3.2.11... somewhat concerning, but at least my cluster is healthy again
17:23 kexmex joined
17:29 griffindy joined
17:32 jri joined
17:34 svm_invictvs joined
17:36 w3bcrawler joined
17:38 svm_invictvs joined
17:42 griffindy joined
17:44 chasepeeler joined
17:45 jefferai joined
17:46 <cornfeedhobo> Ironhand: eeesh
17:58 castlelore joined
17:58 castlelore joined
18:02 Sasazuka joined
18:04 svm_invictvs joined
18:05 culthero joined
18:13 orbyt_ joined
18:28 changerOfSea joined
18:34 harry2 joined
18:35 tildes joined
18:53 timg__ joined
19:07 tildes joined
19:25 jri joined
19:29 armyriad joined
19:38 heroux joined
19:43 cpama joined
19:57 joshontheweb joined
19:58 orbyt_ joined
19:58 Liara- joined
20:00 tildes joined
20:02 TheFuzzball joined
20:11 Kake_Fisk joined
20:16 <Kake_Fisk> How can I group such that two fields together is the id?
20:26 <Kake_Fisk> Oh, I figured it out. You just add an object as id
20:26 <Kake_Fisk> And object specifying the id fields
20:27 <Kake_Fisk> But I'm wondering, when doing an aggregate query. Is aggregate functions done on the server or preprocessed after getting the server response?
20:44 joshontheweb joined
20:52 TheFuzzball joined
20:54 orbyt_ joined
20:55 TheFuzzball joined
21:06 orbyt_ joined
21:10 svm_invictvs joined
21:13 joshontheweb joined
21:13 raspado joined
21:17 culthero joined
21:25 TheFuzzball joined
21:29 culthero joined
21:37 basiclaser joined
21:38 TheFuzzball joined
21:44 culthero joined
21:46 TheFuzzball joined
21:48 jri joined
21:48 trevor joined
22:04 joshontheweb joined
22:57 michaeldgagnon joined
22:58 culthero joined
23:01 svm_invictvs joined
23:15 ArchDebian joined
23:28 compeman joined
23:40 raspado joined
23:44 Circuitsoft joined
23:45 <Circuitsoft> Hello, In mongo shell, db.Files.chunks.count({files_id:ObjectId("591b7b95154bee0700000001")}) => 61585
23:45 <Circuitsoft> db.adminCommand({filemd5:ObjectId("591b7b95154bee0700000001"),root:"Files"}) => { "numChunks" : 0, "md5" : "d41d8cd98f00b204e9800998ecf8427e", "ok" : 1 }
23:45 <Circuitsoft> Why is filemd5 giving me 0 chunks, when there are 61585 chunks for that file?
23:51 compema__ joined
23:51 orbyt_ joined