PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Thursday the 19th of April, 2018

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[07:40:30] <Haris> hello all
[07:57:15] <Haris> I have the php pecl driver/plugin/ext installed for mongo 3.6.x. Pplease give me link for userland driver install
[07:58:46] <Haris> mongo ext v: 1.4.2. libbson, libmongoc bundled version => 1.9.3, with most crypto disabled
[07:59:53] <Haris> I installed 3.6.4 on ubuntu 16/xenial. I can't find the systemd file for mongodb to start/restart the server
[08:00:20] <Haris> there's neither init.d/sysv file nor systemd option to start it
[08:02:23] <Haris> I have mongodb-org pkgs installed
[08:04:41] <Haris> 3.6.4 for ubuntu, but not for centos ?
[08:06:47] <Haris> my bad. there is
[08:16:30] <Haris> https://docs.mongodb.com/tutorials/install-mongodb-on-ubuntu/
[08:16:42] <Haris> I ran service mongod start. it said the control file doesn't exist
[08:17:00] <Haris> # service mongod start
[08:17:00] <Haris> Failed to start mongod.service: Unit mongod.service not found.
[08:19:50] <Haris> what pkg provides systemd files for 3.6.4 ?
[08:21:38] <Haris> none of the mongodb-org pkgs provide the systemd file. how to proceed ?
[10:04:20] <OhMyGuru> hi
[10:05:01] <OhMyGuru> I'm trying to use mongo in a shell script, with --quiet option to silent request and get only the result.
[10:05:39] <OhMyGuru> I use a replicaset as host, and I can't remove the replica operations from the result
[10:05:43] <OhMyGuru> any idea ?
[10:06:39] <OhMyGuru> my command is: mongo --host rsname/db1,db2,db3 dbname --quiet --eval "$query"
[10:07:09] <Haris> on centos, I do have the systemd service for 3.6.4. Why don't have it on ubuntu, even after a purge and fresh install ?
[10:08:10] <Haris> guys ?
[10:38:55] <Haris> hello ? for ubuntu 16.x
[10:56:24] <Haris> guys, need help from the pkg maintainer
[10:56:29] <Haris> don't have the systemd file
[10:56:46] <Haris> <brainwash>Haris: so, you have to contact the package maintainer I'd think
[10:57:18] <Haris> I think I'll downgrade to 3.6.3. pkg maintainer forgot systemd script for 3.6.4 in its pkg
[10:57:19] <Haris> s
[12:00:11] <heyoni> is comparing two fields of the same document always considered aggregating?
[12:05:31] <Haris> I copied mongod.service from https://github.com/mongodb/mongo/blob/master/debian/mongod.service for 3.6.4
[12:06:12] <Haris> Its crashing on start, because it can't find /data/db. in /etc/mongod.conf I have datadir: /var/lib/mongodb. Why then is it looking at /data/db ?
[12:06:22] <Haris> help please
[12:38:11] <jmer> Does mongo 2.2 have issues with projections?
[13:37:50] <swordbeta> jmer: no idea, but you should probably upgrade since support ended in 2014
[14:09:59] <Silveress> Does anyone kjnow if v4 will support debian 9?
[15:52:27] <mmoreno80> hello guys! I have a question. We currently have running a mongo server (just one) and my boss wants to add another one. This new mongo must be an exact read-only copy; the idea is to run queries on this new server. Is this possible? Any link?
[15:54:23] <threespades> https://docs.mongodb.com/manual/core/replica-set-hidden-member/
[15:54:32] <threespades> a hidden secondary
[15:54:59] <threespades> https://docs.mongodb.com/manual/tutorial/configure-a-hidden-replica-set-member/
[15:56:09] <mmoreno80> thanks, threespades
[15:56:38] <threespades> you will want to connect to it directly from your thing running queries on it
[15:57:38] <threespades> https://dba.stackexchange.com/a/182350
[16:47:23] <cyclonis> is there a client side drivers for windows to connect to a remote mongodb server ?
[16:50:17] <threespades> there is a mongo shell for windows
[16:50:22] <threespades> and c# drivers
[16:52:14] <threespades> https://docs.mongodb.com/ecosystem/drivers/csharp/
[16:53:12] <threespades> https://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.6.4-signed.msi
[17:39:51] <cyclonis> hey threespades are these the clients drivers for windows 2016 /
[17:39:52] <cyclonis> ?
[17:44:58] <threespades> i assume they should be compatible with win2016
[17:57:30] <maryo> How to handle special characters in mongodb? Like if a username has a special character in it will MongoDB accepts it without any issue? I believe it supports only UTF-8 by default. But if I wanted to add a swedish username containing special character, how do we do that?