PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Saturday the 22nd of June, 2013

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[05:33:52] <imslavko> hi everyone. I am struggling with compiling mongo with ssl on my mac. Specifically I want to build mongo and mongod binaries with open ssl library statically linked and merged to binaries. I fail due to compilation errors, here the log: http://pastie.org/8068609 , could anyone help?
[07:20:05] <fg3> any mongoctl users in here
[10:14:11] <mnml> slaveOk doesn't exists anymore in MongoClientOptions (Java Driver) ?
[10:15:40] <Derick> it does, but it has been replaced by "Read Preferences"
[10:24:46] <nlog> Hi guys, noob question I'm sure. I'm trying to do a find with nearSphere but keep getting error "invalid operator $nearSphere", both in mongo cli and in nodejs using mongoose.
[10:24:50] <mnml> Derick: oki
[10:27:28] <Derick> nlog: which mongodb server version are you using?
[10:28:08] <nlog> Yeah, just checked that
[10:28:23] <nlog> seems I'm in prehistoric times with the ubuntu package
[10:28:32] <nlog> *facepalm*
[10:28:50] <Derick> 10gen has their own ubuntu packages: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian-or-ubuntu-linux/
[10:33:02] <nlog> what is broken with openvz?
[10:36:26] <Derick> nlog: what do you mean?
[10:37:26] <nlog> I get a warning running mongo after upgrading saying its know to be broken on OpenVZ
[10:37:35] <nlog> I am running on a vps using openvz
[10:37:55] <nlog> nearSphere works now though, so thanks!
[10:38:19] <Derick> let me check!
[10:38:54] <Derick> nlog: https://jira.mongodb.org/browse/SERVER-8606
[10:39:47] <nlog> thanks! That was reasuring
[10:40:55] <mnml> Derick: so I guess if slaveOk = true i'll just have to do builder.readPreference(ReadPreference.secondaryPreferred()) and other wise I don't add a read preference
[10:42:04] <Derick> mnml: correct
[10:46:59] <mnml> Derick: great :)
[10:52:50] <czajkowski> aloha
[10:53:07] <Derick> hi czajkowski
[10:53:11] <Derick> how's NYC treating you?
[10:53:15] <czajkowski> good thanks
[10:53:28] <czajkowski> flying back tonight so today I get to be a tourist
[10:54:54] <Derick> woo
[10:55:28] <Derick> I spend a day in the snow in Central Park when I was over there: http://www.flickr.com/photos/derickrethans/sets/72157632998452580/
[10:57:11] <czajkowski> Derick: nice, where are you based btw??
[10:58:47] <Derick> London
[10:59:15] <Derick> but from home
[11:01:06] <czajkowski> Derick: like myself then, although I'll be i the office next week Tuesday and Wednesday
[11:01:42] <czajkowski> just in the middle of setting up a seperate irc chanel for community discussions so I can help sort out events over the coming months
[11:02:14] <Derick> I'm having a day off on Tuesday because I'm on Weekend Support this weekend
[11:02:25] <czajkowski> nods.
[11:16:16] <czajkowski> I've just created #mongodb-community if folks want to join to discuss MUGS, events how to grow the community in their area or maybe how we can run more Mongodb master events
[11:17:11] <kali> Derick: i did not know you were into photography... have you tried fotopedia reporter ? :) </pub>
[11:21:06] <Derick> heh, nope
[11:22:47] <kali> Derick: 100% mongodb powered :P
[11:22:53] <Derick> your thing?
[11:22:55] <kali> yes
[11:23:19] <Derick> kali: I use a real camera though
[11:23:48] <kali> define "real" :)
[11:23:54] <Derick> not phone or ios
[11:24:02] <kali> ha !
[11:24:07] <kali> most of our user do
[11:25:03] <kali> tha app is for making stories, not taking photos
[11:25:20] <Derick> ok :)
[15:22:05] <capnkooc> hi guys
[15:23:13] <capnkooc> some one knows if it's possible use the $or operator inside a $match on the aggregation framework?
[15:30:55] <capnkooc> it works
[15:30:57] <capnkooc> :p
[16:47:06] <daslicht> is it a good idea to save files directly into a mongodb and not just the reference ?
[16:48:26] <kali> daslicht: depends what you're after... besides, there is a protocol called gridfs implemented by most drivers to store big files
[16:49:00] <kali> daslicht: if you don't use gridfs, you have to be careful lwith the 16MB limit
[16:49:01] <daslicht> I am currently playing around with Meteor
[16:49:18] <daslicht> and the application is bundled into one file
[16:49:32] <daslicht> and you give a mongodb as parameter
[16:49:36] <kali> can't help you much in this area
[16:49:45] <daslicht> yeah i just give you some background
[16:49:59] <daslicht> so essentially i like to store audio , video and pictures
[16:50:23] <daslicht> whats this gridFS made for ? when to use it ? what is the typical usecase please
[16:50:46] <kali> file-system like storage
[16:51:03] <kali> http://docs.mongodb.org/manual/core/gridfs/
[16:59:42] <daslicht> ok i try it
[16:59:43] <daslicht> https://atmosphere.meteor.com/package/collectionFS
[16:59:50] <daslicht> looks promising
[16:59:58] <daslicht> how will be the performance ?
[17:13:09] <kali> daslicht: depends on so many factors...
[17:14:14] <daslicht> ok i give it a try
[17:47:55] <bingomanatee> hi there
[17:48:05] <bingomanatee> is it possible to delete multiple databases with a regex match?
[17:49:13] <Derick> only by looping over them manually
[17:51:26] <bingomanatee> thx
[19:57:07] <mamsaac> I just realized 2.5.0 (dev) is going to feature background index builds on secondary replicas. Is there an estimated date for its release?
[19:58:14] <mamsaac> Just found it i november.
[19:58:18] <mamsaac> ciao!
[20:54:24] <daslicht> why: ERROR: listen(): bind() failed errno:13 Permission denied for socket: /tmp/mongodb-27017.sock
[20:54:28] <daslicht> ?!
[20:58:34] <daslicht> how can that be ?
[20:58:36] <daslicht> root@Ubuntu-1210-quantal-64-minimal ~ # sudo service mongodb start
[20:58:37] <daslicht> mongodb start/running, process 3852
[20:58:37] <daslicht> root@Ubuntu-1210-quantal-64-minimal ~ # mongo
[20:58:38] <daslicht> MongoDB shell version: 2.4.4
[20:58:40] <daslicht> connecting to: test
[20:58:42] <daslicht> Sat Jun 22 22:57:46.938 JavaScript execution failed: Error: couldn't connect to server 127.0.0.1:27017 at src/mongo/shell/mongo.js:L112
[20:58:44] <daslicht> exception: connect failed
[20:58:47] <daslicht> i am following this here:
[20:58:48] <daslicht> http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/#configure-mongodb
[20:58:53] <daslicht> no success yet
[21:03:25] <kali> daslicht: can you paste the full log of your mongod startup somewhere ?
[21:04:23] <daslicht> thsi one ? /var/log/mongodb/mongodb.log
[21:04:24] <daslicht> ?
[21:05:07] <kali> probably, yes. just what is added when you restart
[21:05:23] <daslicht> sorry i am new to linux stuff
[21:05:35] <daslicht> i dont know how to find out what is being added :D
[21:05:53] <daslicht> if i do vim /var/log/mongodb/mongodb.log
[21:05:56] <daslicht> i get :
[21:06:01] <kali> dont paste here.
[21:06:08] <daslicht> https://gist.github.com/daslicht/53b67bf35fd11d7a8999
[21:06:13] <kali> ok :)
[21:06:19] <daslicht> :)
[21:06:44] <kali> this is just vim saying there is another vim instance somewhere editing this file
[21:06:50] <daslicht> uh
[21:07:03] <daslicht> isnt esc :q quitting vim?
[21:07:37] <kali> yes
[21:07:46] <daslicht> hm
[21:07:53] <daslicht> looks liek i bore my server
[21:07:59] <daslicht> its saying that anytime now
[21:08:29] <kali> you don't use vim to read logs anyway. cat or tail are more appropriate
[21:08:43] <daslicht> ok i google for that
[21:09:20] <daslicht> oot@Ubuntu-1210-quantal-64-minimal ~ # cat /var/log/mongodb/mongodb.log
[21:09:21] <daslicht> cat: /var/log/mongodb/mongodb.log: No such file or directory
[21:09:22] <kali> in the meantime, just hit "O". it will open the file read only
[21:09:43] <daslicht> empty file
[21:11:25] <kali> you need to beef up your unix skills before tackling mongodb setup i'm afraid
[21:11:34] <daslicht> yeah
[21:11:40] <daslicht> :/
[21:11:43] <daslicht> boring stuff
[21:11:53] <kali> na, it's not.
[21:11:55] <daslicht> i just want to code node
[21:11:56] <daslicht> :D
[21:12:22] <kali> is there not an OS you're confortable with ?
[21:12:23] <daslicht> depends highly on interests
[21:12:38] <daslicht> I am cormfortable with osx
[21:12:46] <daslicht> or even windows
[21:12:55] <daslicht> but my server is ubuntu
[21:12:56] <daslicht> :D
[21:13:49] <daslicht> anyways
[21:13:56] <daslicht> next step unix hero
[21:13:59] <kali> learn a bit of unix. thses are really enabling skills
[21:14:00] <daslicht> :D
[21:14:08] <daslicht> ok
[21:14:11] <daslicht> i will
[21:14:15] <kali> you'll use them all for the next 30 years
[21:14:21] <daslicht> any suggestions wherer to start ?
[21:15:20] <kali> not too sure
[21:15:29] <kali> linux for dummies ? :)
[21:15:31] <daslicht> ok I am sure i will find my way around
[21:16:04] <daslicht> i just need a list with all commands
[21:16:07] <daslicht> thats all
[21:16:36] <kali> i'm afrais things are not that simple, but if that's what you want, you can start by typing "ls /usr/bin" :)
[21:17:23] <daslicht> not that siumple but it would help
[21:17:40] <daslicht> i cant even rember the command to look up running processes
[21:17:44] <daslicht> grep something
[21:17:50] <kali> ps
[21:18:04] <kali> grep is for filtering lines
[21:51:50] <bobinator60_> i am trying to use the shell. after authenticating, can can list my collections with db.getCollectionNames() no problem, but i can't seem to query any of the collections.
[21:51:52] <bobinator60_> Sat Jun 22 17:38:24.643 JavaScript execution failed: error: {
[21:51:53] <bobinator60_> "$err" : "unauthorized db:metadata ns:metadata.system.namespaces lock type:0 client:71.183.107.138",
[21:51:54] <bobinator60_> "code" : 10057
[21:51:55] <bobinator60_> } at src/mongo/shell/query.js:L128
[21:52:26] <bobinator60_> i can connect to these collections using the same credentials via pymongo with no problem
[22:29:49] <daslicht> ok starting mongodb manually in terminal is working !